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
cd889af9
Commit
cd889af9
authored
Oct 06, 2010
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More new things in what's new
parent
fa9c38d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
Doc/whatsnew/3.2.rst
Doc/whatsnew/3.2.rst
+23
-0
No files found.
Doc/whatsnew/3.2.rst
View file @
cd889af9
...
...
@@ -299,6 +299,13 @@ New, Improved, and Deprecated Modules
(By Nick Coghlan and Terrence Cole; :issue:`9567`, :issue:`3445`, and
:issue:`8814`.)
* The :mod:`nntplib` module gets a revamped implementation with better
bytes / unicode semantics as well as more practical APIs. These improvements
break compatibility with the nntplib version in Python 3.1, which was
partly dysfunctional in itself.
(Contributed by Antoine Pitrou in :issue:`9360`)
* The :mod:`abc` module now supports :func:`~abc.abstractclassmethod` and
:func:`~abc.abstractstaticmethod`.
...
...
@@ -338,6 +345,19 @@ New, Improved, and Deprecated Modules
(Contributed by Tarek Ziadé and Giampaolo Rodolà in :issue:`4972`, and
by Georg Brandl in :issue:`8046` and :issue:`1286`.)
* :class:`gzip.GzipFile` now implements the :class:`io.BufferedIOBase` ABC
(except for ``truncate()``), has a :meth:`~gzip.GzipFile.peek` method,
and supports unseekable as well as zero-padded file objects.
(Contributed by Antoine Pitrou, Nir Aides and Brian Curtin in :issue:`9962`,
:issue:`1675951`, :issue:`7471` and :issue:`2846`.)
The :mod:`gzip` module also gains the :func:`~gzip.compress` and
:func:`~gzip.decompress` functions for easier in-memory compression and
decompression.
(Contributed by Anand B. Pillai in :issue:`3488`.)
* The :mod:`os` module now has the :const:`ST_RDONLY` and :const:`ST_NOSUID`
constants, for use with the :func:`~os.statvfs` function.
...
...
@@ -569,6 +589,9 @@ Porting to Python 3.2
This section lists previously described changes and other bugfixes that may
require changes to your code:
* The :mod:`nntplib` module was reworked extensively, meaning that its APIs
are often incompatible with the 3.1 APIs.
* :class:`bytearray` objects cannot be used anymore as filenames: convert them
to :class:`bytes`.
...
...
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