cpython/Misc/NEWS

51 lines
1.2 KiB
Plaintext

+++++++++++
Python News
+++++++++++
(editors: check NEWS.help for information about editing NEWS using ReST.)
What's New in Python 3.1 alpha 0
================================
*Release date: XX-XXX-2008*
Core and Builtins
-----------------
- Issue #4445: Replace "sizeof(PyBytesObject)" with
"offsetof(PyBytesObject, ob_sval) + 1" when allocating memory for
bytes instances. On a typical machine this saves 3 bytes of memory
(on average) per allocation of a bytes instance.
- Issue #4533: File read operation was dreadfully slow due to a slowly
growing read buffer. Fixed by using the same growth rate algorithm as
Python 2.x.
Library
-------
- Issue #4483: _dbm module now builds on systems with gdbm & gdbm_compat
libs.
- Issue #4542: On Windows, binascii.crc32 still accepted str as binary input;
the corresponding tests now pass.
- Issue #4537: webbrowser.UnixBrowser would fail to open the browser because
it was calling the wrong open() function.
- Issue #1055234: cgi.parse_header(): Fixed parsing of header parameters to
support unusual filenames (such as those containing semi-colons) in
Content-Disposition headers.
Build
-----
Docs
----
**(For information about older versions, consult the HISTORY file.)**