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
837a538d
Kaydet (Commit)
837a538d
authored
May 06, 2010
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add 2 items; record ideas for two initial sections; clarify wording
üst
e86b7fe3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
5 deletions
+20
-5
2.7.rst
Doc/whatsnew/2.7.rst
+20
-5
No files found.
Doc/whatsnew/2.7.rst
Dosyayı görüntüle @
837a538d
...
@@ -9,6 +9,9 @@
...
@@ -9,6 +9,9 @@
.. Fix accents on Kristjan Valur Jonsson, Fuerstenau
.. Fix accents on Kristjan Valur Jonsson, Fuerstenau
.. Big jobs: pep 391
.. Big jobs: pep 391
.. Initial section: development plans for 2.x in future
.. Initial section: changes in deprecation warning behaviour
.. 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
...
@@ -56,7 +59,7 @@
...
@@ -56,7 +59,7 @@
when researching a change.
when researching a change.
This article explains the new features in Python 2.7. The final
This article explains the new features in Python 2.7. The final
release of 2.7 is currently scheduled for Ju
ne
2010; the detailed
release of 2.7 is currently scheduled for Ju
ly
2010; the detailed
schedule is described in :pep:`373`.
schedule is described in :pep:`373`.
Python 2.7 is planned to be the last major release in the 2.x series.
Python 2.7 is planned to be the last major release in the 2.x series.
...
@@ -80,7 +83,7 @@ for migrating to the 3.x series.
...
@@ -80,7 +83,7 @@ for migrating to the 3.x series.
A partial list of 3.1 features that were backported to 2.7:
A partial list of 3.1 features that were backported to 2.7:
* A version of the :mod:`io` library, rewritten in C for performance.
* A
new
version of the :mod:`io` library, rewritten in C for performance.
* The ordered-dictionary type described in :ref:`pep-0372`.
* The ordered-dictionary type described in :ref:`pep-0372`.
* The new format specifier described in :ref:`pep-0378`.
* The new format specifier described in :ref:`pep-0378`.
* The :class:`memoryview` object.
* The :class:`memoryview` object.
...
@@ -1176,6 +1179,12 @@ changes, or look through the Subversion logs for all the details.
...
@@ -1176,6 +1179,12 @@ changes, or look through the Subversion logs for all the details.
with any object literal that decodes to a list of pairs.
with any object literal that decodes to a list of pairs.
(Contributed by Raymond Hettinger; :issue:`5381`.)
(Contributed by Raymond Hettinger; :issue:`5381`.)
* The :mod:`mailbox` module's :class:`Maildir` class now records the
timestamp on the directories it reads, and only re-reads them if the
modification time has subsequently changed. This improves
performance by avoiding unneeded directory scans. (Fixed by
A.M. Kuchling and Antoine Pitrou; :issue:`1607951`, :issue:`6896`.)
* New functions: the :mod:`math` module gained
* New functions: the :mod:`math` module gained
:func:`~math.erf` and :func:`~math.erfc` for the error function and the complementary error function,
:func:`~math.erf` and :func:`~math.erfc` for the error function and the complementary error function,
:func:`~math.expm1` which computes ``e**x - 1`` with more precision than
:func:`~math.expm1` which computes ``e**x - 1`` with more precision than
...
@@ -1238,9 +1247,9 @@ changes, or look through the Subversion logs for all the details.
...
@@ -1238,9 +1247,9 @@ changes, or look through the Subversion logs for all the details.
expected that the directory or zip contains a :file:`__main__.py`;
expected that the directory or zip contains a :file:`__main__.py`;
if it doesn't, some other :file:`__main__.py` might be imported from
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
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 :mod:`runpy` available to scripts that want to mimic the
way
of Python's :option:`-m` switch. (Added by Nick Coghlan;
Python's :option:`-m` processes an explicit path name.
:issue:`6816`.)
(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
...
@@ -2092,6 +2101,12 @@ that may require changes to your code:
...
@@ -2092,6 +2101,12 @@ that may require changes to your code:
affects new-style classes (derived from :class:`object`) and C extension
affects new-style classes (derived from :class:`object`) and C extension
types. (:issue:`6101`.)
types. (:issue:`6101`.)
* Due to a bug in Python 2.6, the *exc_value* parameter to
:meth:`__exit__` methods was often the string representation of the
exception, not an instance. This was fixed in 2.7, so *exc_value*
will be an instance as expected. (Fixed by Florent Xicluna;
:issue:`7853`.)
* When a restricted set of attributes were set using ``__slots__``,
* When a restricted set of attributes were set using ``__slots__``,
deleting an unset attribute would not raise :exc:`AttributeError`
deleting an unset attribute would not raise :exc:`AttributeError`
as you would expect. Fixed by Benjamin Peterson; :issue:`7604`.)
as you would expect. Fixed by Benjamin Peterson; :issue:`7604`.)
...
...
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