Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d67075e0
Commit
d67075e0
authored
Jul 31, 2010
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reorder entries by module lexicographic order
parent
05245f74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
32 deletions
+32
-32
Doc/whatsnew/3.2.rst
Doc/whatsnew/3.2.rst
+32
-32
No files found.
Doc/whatsnew/3.2.rst
View file @
d67075e0
...
...
@@ -66,9 +66,41 @@ Some smaller changes made to the core Python language are:
New, Improved, and Deprecated Modules
=====================================
* The previously deprecated :func:`contextlib.nested` function has been
removed in favor of a plain :keyword:`with` statement which can
accept multiple context managers. The latter technique is faster
(because it is built-in), and it does a better job finalizing multiple
context managers when one of them raises an exception.
(Contributed by Georg Brandl and Mattias Brändström;
`appspot issue 53094 <http://codereview.appspot.com/53094>`_.)
* The :class:`ftplib.FTP` class now supports the context manager protocol
(Contributed by Tarek Ziadé and Giampaolo Rodolà; :issue:`4972`.)
* The :func:`shutil.copytree` function has two new options:
* *ignore_dangling_symlinks*: when ``symlinks=False`` (meaning that the
function copies the file pointed to by the symlink, not the symlink
itself) this option will silence the error thrown if the file doesn't
exist.
* *copy_function*: a callable that will be used to copy files.
:func:`shutil.copy2` is used by default.
(Contributed by Tarek Ziadé.)
* The *sqlite3* module has some new features:
* XXX *enable_load_extension*
* XXX *load_extension*
* New :class:`~sqlite3.Connection` attribute
:attr:`~sqlite3.Connection.in_transaction` is :const:`True` when there
are uncommitted changes, and :const:`False` otherwise. (Contributed
by R. David Murray and Shashwat Anand, :issue:`8845`.)
* The :mod:`ssl` module has a new class, :class:`~ssl.SSLContext` which
serves as a container for various persistent SSL data, such as protocol
settings, certificates, private keys, and various other options.
...
...
@@ -110,38 +142,6 @@ New, Improved, and Deprecated Modules
(Contributed by Georg Brandl; :issue:`5675`.)
* The previously deprecated :func:`contextlib.nested` function has been
removed in favor of a plain :keyword:`with` statement which can
accept multiple context managers. The latter technique is faster
(because it is built-in), and it does a better job finalizing multiple
context managers when one of them raises an exception.
(Contributed by Georg Brandl and Mattias Brändström;
`appspot issue 53094 <http://codereview.appspot.com/53094>`_.)
* The :func:`shutil.copytree` function has two new options:
* *ignore_dangling_symlinks*: when ``symlinks=False`` (meaning that the
function copies the file pointed to by the symlink, not the symlink
itself) this option will silence the error thrown if the file doesn't
exist.
* *copy_function*: a callable that will be used to copy files.
:func:`shutil.copy2` is used by default.
(Contributed by Tarek Ziade.)
* The *sqlite3* module has some new features:
* XXX *enable_load_extension*
* XXX *load_extension*
* New :class:`~sqlite3.Connection` attribute
:attr:`~sqlite3.Connection.in_transaction` is :const:`True` when there
are uncommitted changes, and :const:`False` otherwise. (Contributed
by R. David Murray and Shashwat Anand, :issue:`8845`.)
Multi-threading
===============
...
...
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