Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
ca485624
Kaydet (Commit)
ca485624
authored
May 06, 2010
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add various items
üst
4758183f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
7 deletions
+39
-7
2.7.rst
Doc/whatsnew/2.7.rst
+39
-7
No files found.
Doc/whatsnew/2.7.rst
Dosyayı görüntüle @
ca485624
...
@@ -8,8 +8,7 @@
...
@@ -8,8 +8,7 @@
.. Fix accents on Kristjan Valur Jonsson, Fuerstenau
.. Fix accents on Kristjan Valur Jonsson, Fuerstenau
.. Big jobs: ElementTree 1.3, pep 391, sysconfig
.. Big jobs: ElementTree 1.3, pep 391
.. unittest test discovery
.. hyperlink all the methods & functions.
.. hyperlink all the methods & functions.
.. T_STRING_INPLACE not described in main docs
.. T_STRING_INPLACE not described in main docs
...
@@ -1217,6 +1216,20 @@ changes, or look through the Subversion logs for all the details.
...
@@ -1217,6 +1216,20 @@ changes, or look through the Subversion logs for all the details.
now accept an optional *flags* argument, for consistency with the
now accept an optional *flags* argument, for consistency with the
other functions in the module. (Added by Gregory P. Smith.)
other functions in the module. (Added by Gregory P. Smith.)
* New function: :func:`~runpy.run_path` in the :mod:`runpy` module
will execute the code at a provided *path* argument. *path* can be
the path of a Python source file (:file:`example.py`), a compiled
bytecode file (:file:`example.pyc`), a directory
(:file:`./package/'), or a zip archive (:file:`example.zip`). If a
directory or zip path is provided, it will be added to the front of
``sys.path`` and the module :mod:`__main__` will be imported. It's
expected that the directory or zip contains a :file:`__main__.py`;
if it doesn't, some other :file:`__main__.py` might be imported from
a location later in ``sys.path``. This makes some of the machinery
of :mod:`runpy` available to scripts that want to mimic the behaviour
of Python's :option:`-m` switch. (Added by Nick Coghlan;
:issue:`6816`.)
* New function: in the :mod:`shutil` module, :func:`~shutil.make_archive`
* New function: in the :mod:`shutil` module, :func:`~shutil.make_archive`
takes a filename, archive type (zip or tar-format), and a directory
takes a filename, archive type (zip or tar-format), and a directory
path, and creates an archive containing the directory's contents.
path, and creates an archive containing the directory's contents.
...
@@ -1443,12 +1456,31 @@ changes, or look through the Subversion logs for all the details.
...
@@ -1443,12 +1456,31 @@ changes, or look through the Subversion logs for all the details.
New module: sysconfig
New module: sysconfig
---------------------------------
---------------------------------
XXX A new :mod:`sysconfig` module has been extracted from
The :mod:`sysconfig` module has been pulled out of the Distutils
:mod:`distutils` and put in the standard library.
package, becoming a new top-level module in its own right.
:mod:`sysconfig` provides functions for getting information about
Python's build process: compiler switches, installation paths, the
platform name, and whether Python is running from its source
directory.
Some of the functions in the module are:
* :func:`~sysconfig.get_config_var` returns variables from Python's
Makefile and the :file:`pyconfig.h` file.
* :func:`~sysconfig.get_config_vars` returns a dictionary containing
all of the configuration variables.
* :func:`~sysconfig.getpath` returns the configured path for
a particular type of module: the standard library,
site-specific modules, platform-specific modules, etc.
* :func:`~sysconfig.is_python_build` returns true if you're running a
binary from a Python source tree, and false otherwise.
Consult the :mod:`sysconfig` documentation for more details and for
a complete list of functions.
The Distutils package and :mod:`sysconfig` are now maintained and
renamed by Tarek Ziadé.
The :mod:`sysconfig` module provides access to Python's configuration
information like the list of installation paths and the configuration
variables relevant for the current platform. (contributed by Tarek)
Updated module: ElementTree 1.3
Updated module: ElementTree 1.3
---------------------------------
---------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment