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
ffad35ef
Kaydet (Commit)
ffad35ef
authored
Ara 14, 2010
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Nits
üst
9a6b400a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
3.2.rst
Doc/whatsnew/3.2.rst
+10
-9
No files found.
Doc/whatsnew/3.2.rst
Dosyayı görüntüle @
ffad35ef
...
@@ -47,9 +47,9 @@
...
@@ -47,9 +47,9 @@
This saves the maintainer the effort of going through the SVN log
This saves the maintainer the effort of going through the SVN log
when researching a change.
when researching a change.
This article explains the new features in Python 3.2
, compared to 3.1.
This article explains the new features in Python 3.2
as compared to 3.1. It
It focuses on a few highlights and gives a few examples. For full details,
focuses on a few highlights and gives a few examples. For full details, see the
see the :file:`Misc/NEWS
` file.
:source:`Misc/NEWS <Misc/NEWS>
` file.
PEP 384: Defining a Stable ABI
PEP 384: Defining a Stable ABI
...
@@ -396,7 +396,7 @@ format.
...
@@ -396,7 +396,7 @@ format.
:class:`~email.message.Message` object and can optionally obtain the
:class:`~email.message.Message` object and can optionally obtain the
*from_addr* and *to_addrs* addresses directly from the object.
*from_addr* and *to_addrs* addresses directly from the object.
.. XXX Update before 3.2rc1 to reflect all of the last work and add examples.
.. XXX Update before 3.2rc1 to reflect all of the la
te
st work and add examples.
(Proposed and implemented by R. David Murray, :issue:`4661` and :issue:`10321`.)
(Proposed and implemented by R. David Murray, :issue:`4661` and :issue:`10321`.)
...
@@ -619,7 +619,7 @@ New, Improved, and Deprecated Modules
...
@@ -619,7 +619,7 @@ New, Improved, and Deprecated Modules
<http://en.wikipedia.org/wiki/Saturation_arithmetic>`_ and the new
<http://en.wikipedia.org/wiki/Saturation_arithmetic>`_ and the new
:meth:`~collections.Counter.subtract` method for regular subtraction. The
:meth:`~collections.Counter.subtract` method for regular subtraction. The
former is suitable for `multisets <http://en.wikipedia.org/wiki/Multiset>`_
former is suitable for `multisets <http://en.wikipedia.org/wiki/Multiset>`_
which only have positive counts, and the latter is more suitable for
counter
s
which only have positive counts, and the latter is more suitable for
use case
s
that allow negative counts:
that allow negative counts:
>>> tally = Counter(dogs=5, cat=3)
>>> tally = Counter(dogs=5, cat=3)
...
@@ -813,8 +813,9 @@ New, Improved, and Deprecated Modules
...
@@ -813,8 +813,9 @@ New, Improved, and Deprecated Modules
... legacy_function('XYZ')
... legacy_function('XYZ')
Another new method, :meth:`~unittest.TestCase.assertCountEqual` is used to
Another new method, :meth:`~unittest.TestCase.assertCountEqual` is used to
compare two iterables to determine if their element counts are equal (are the
compare two iterables to determine if their element counts are equal (whether
same elements present the same number of times::
the same elements are present with the same number of occurrences regardless
of order)::
def test_anagram(self):
def test_anagram(self):
self.assertCountEqual('algorithm', 'logarithm')
self.assertCountEqual('algorithm', 'logarithm')
...
@@ -906,7 +907,7 @@ New, Improved, and Deprecated Modules
...
@@ -906,7 +907,7 @@ New, Improved, and Deprecated Modules
* The new :mod:`sysconfig` module makes it straight-forward to discover
* The new :mod:`sysconfig` module makes it straight-forward to discover
installation paths and configuration variables which vary across platforms and
installation paths and configuration variables which vary across platforms and
installs.
install
ation
s.
The module offers access simple access functions for platform and version
The module offers access simple access functions for platform and version
information:
information:
...
@@ -1031,7 +1032,7 @@ A number of small performance enhancements have been added:
...
@@ -1031,7 +1032,7 @@ A number of small performance enhancements have been added:
and the Unladen Swallow team in :issue:`9410` and :issue:`3873`.)
and the Unladen Swallow team in :issue:`9410` and :issue:`3873`.)
* The `Timsort algorithm <http://en.wikipedia.org/wiki/Timsort>`_ used in
* The `Timsort algorithm <http://en.wikipedia.org/wiki/Timsort>`_ used in
:meth:`list.sort` and :func:`sorted` now runs faster and use
d
less memory
:meth:`list.sort` and :func:`sorted` now runs faster and use
s
less memory
when called with a :term:`key function`. Previously, every element of
when called with a :term:`key function`. Previously, every element of
a list was wrapped with a temporary object that remembered the key value
a list was wrapped with a temporary object that remembered the key value
associated with each element. Now, an array of keys and values are
associated with each element. Now, an array of keys and values are
...
...
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