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
ca904be7
Kaydet (Commit)
ca904be7
authored
Ock 18, 2011
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Nits.
üst
1e6a173a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
3.2.rst
Doc/whatsnew/3.2.rst
+13
-9
No files found.
Doc/whatsnew/3.2.rst
Dosyayı görüntüle @
ca904be7
...
@@ -55,6 +55,7 @@ focuses on a few highlights and gives a few examples. For full details, see the
...
@@ -55,6 +55,7 @@ focuses on a few highlights and gives a few examples. For full details, see the
:pep:`392` - Python 3.2 Release Schedule
:pep:`392` - Python 3.2 Release Schedule
PEP 384: Defining a Stable ABI
PEP 384: Defining a Stable ABI
==============================
==============================
...
@@ -78,6 +79,7 @@ need to be recompiled for every feature release.
...
@@ -78,6 +79,7 @@ need to be recompiled for every feature release.
:pep:`384` - Defining a Stable ABI
:pep:`384` - Defining a Stable ABI
PEP written by Martin von Löwis.
PEP written by Martin von Löwis.
PEP 389: Argparse Command Line Parsing Module
PEP 389: Argparse Command Line Parsing Module
=============================================
=============================================
...
@@ -208,17 +210,19 @@ dictionary::
...
@@ -208,17 +210,19 @@ dictionary::
If that dictionary is stored in a file called :file:`conf.json`, it can be
If that dictionary is stored in a file called :file:`conf.json`, it can be
loaded and called with code like this::
loaded and called with code like this::
import json
>>> import json, logging.config
import logging.config
>>> with open('conf.json', 'rb') as f:
logging.config.dictConfig(json.load(open('conf.json', 'rb')))
conf = json.load(f)
logging.info("Transaction completed normally")
>>> logging.config.dictConfig(conf)
logging.critical("Abnormal termination")
>>> logging.info("Transaction completed normally")
>>> logging.critical("Abnormal termination")
.. seealso::
.. seealso::
:pep:`391` - Dictionary Based Configuration for Logging
:pep:`391` - Dictionary Based Configuration for Logging
PEP written by Vinay Sajip.
PEP written by Vinay Sajip.
PEP 3148: The ``concurrent.futures`` module
PEP 3148: The ``concurrent.futures`` module
============================================
============================================
...
@@ -277,7 +281,6 @@ launch of four parallel threads for copying files::
...
@@ -277,7 +281,6 @@ launch of four parallel threads for copying files::
:class:`~concurrent.futures.ProcessPoolExecutor`.
:class:`~concurrent.futures.ProcessPoolExecutor`.
PEP 3147: PYC Repository Directories
PEP 3147: PYC Repository Directories
=====================================
=====================================
...
@@ -369,6 +372,7 @@ module::
...
@@ -369,6 +372,7 @@ module::
:pep:`3149` - ABI Version Tagged .so Files
:pep:`3149` - ABI Version Tagged .so Files
PEP written by Barry Warsaw.
PEP written by Barry Warsaw.
PEP 3333: Python Web Server Gateway Interface v1.0.1
PEP 3333: Python Web Server Gateway Interface v1.0.1
=====================================================
=====================================================
...
@@ -415,6 +419,7 @@ this gap, the :mod:`wsgiref` module has a new function,
...
@@ -415,6 +419,7 @@ this gap, the :mod:`wsgiref` module has a new function,
:pep:`3333` - Python Web Server Gateway Interface v1.0.1
:pep:`3333` - Python Web Server Gateway Interface v1.0.1
PEP written by Phillip Eby.
PEP written by Phillip Eby.
Other Language Changes
Other Language Changes
======================
======================
...
@@ -891,9 +896,8 @@ datetime and time
...
@@ -891,9 +896,8 @@ datetime and time
:class:`float` and divided by :class:`float` and :class:`int` objects.
:class:`float` and divided by :class:`float` and :class:`int` objects.
And :class:`~datetime.timedelta` objects can now divide one another.
And :class:`~datetime.timedelta` objects can now divide one another.
* The :class:`~datetime.datetime` class and the :meth:`datetime.date.strftime`
* The :meth:`datetime.date.strftime` method is no longer restricted to years
method are no longer restricted to years after 1900. The new supported year
after 1900. The new supported year range is from 1000 to 9999 inclusive.
range is from 1000 to 9999 inclusive.
* The rules for two-digit years in time tuples have changed. Now, the
* The rules for two-digit years in time tuples have changed. Now, the
:func:`time.asctime` and :func:`time.strftime` functions will format any year
:func:`time.asctime` and :func:`time.strftime` functions will format any year
...
...
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