mirror of
https://github.com/python/cpython.git
synced 2025-09-29 03:35:31 +00:00
Rewrap NEWS (Builbot test commit.)
This commit is contained in:
parent
f8de3fea12
commit
9af2a6e56f
1 changed files with 52 additions and 52 deletions
104
Misc/NEWS
104
Misc/NEWS
|
@ -9,23 +9,23 @@ What's New in Python 3.2 Beta 1?
|
||||||
|
|
||||||
Core and Builtins
|
Core and Builtins
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
- Issue #9915: Speed up sorting with a key.
|
- Issue #9915: Speed up sorting with a key.
|
||||||
|
|
||||||
- Issue #7475: Added transform() and untransform() methods to both bytes
|
- Issue #7475: Added transform() and untransform() methods to both bytes and
|
||||||
and string types. They can be used to access those codecs providing
|
string types. They can be used to access those codecs providing
|
||||||
bytes-to-bytes and string-to-string mappings.
|
bytes-to-bytes and string-to-string mappings.
|
||||||
|
|
||||||
- Issue #8685: Speed up set difference ``a - b`` when source set ``a`` is
|
- Issue #8685: Speed up set difference ``a - b`` when source set ``a`` is much
|
||||||
much larger than operand ``b``. Patch by Andrew Bennetts.
|
larger than operand ``b``. Patch by Andrew Bennetts.
|
||||||
|
|
||||||
- Issue #10518: Bring back the callable() builtin.
|
- Issue #10518: Bring back the callable() builtin.
|
||||||
|
|
||||||
- Issue #7094: Added alternate formatting (specified by '#') to
|
- Issue #7094: Added alternate formatting (specified by '#') to ``__format__``
|
||||||
__format__ method of float, complex, and Decimal. This allows more
|
method of float, complex, and Decimal. This allows more precise control over
|
||||||
precise control over when decimal points are displayed.
|
when decimal points are displayed.
|
||||||
|
|
||||||
- Issue #10474: range().count() should return integers.
|
- Issue #10474: range.count() should return integers.
|
||||||
|
|
||||||
- Issue #1574217: isinstance now catches only AttributeError, rather than
|
- Issue #1574217: isinstance now catches only AttributeError, rather than
|
||||||
masking all errors.
|
masking all errors.
|
||||||
|
@ -33,13 +33,13 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
- Issue #10360: In WeakSet, do not raise TypeErrors when testing for
|
- Issue #10360: In WeakSet, do not raise TypeErrors when testing for membership
|
||||||
membership of non-weakrefable objects.
|
of non-weakrefable objects.
|
||||||
|
|
||||||
- Issue #940286: pydoc.Helper.help() ignores input/output init parameters.
|
- Issue #940286: pydoc.Helper.help() ignores input/output init parameters.
|
||||||
|
|
||||||
- Issue #1745035: Add a command size and data size limit to smtpd.py, to
|
- Issue #1745035: Add a command size and data size limit to smtpd.py, to prevent
|
||||||
prevent DoS attacks. Patch by Savio Sena.
|
DoS attacks. Patch by Savio Sena.
|
||||||
|
|
||||||
- Issue #4925: Add filename to error message when executable can't be found in
|
- Issue #4925: Add filename to error message when executable can't be found in
|
||||||
subprocess.
|
subprocess.
|
||||||
|
@ -50,28 +50,28 @@ Library
|
||||||
- Issue #10027: st_nlink was not being set on Windows calls to os.stat or
|
- Issue #10027: st_nlink was not being set on Windows calls to os.stat or
|
||||||
os.lstat. Patch by Hirokazu Yamamoto.
|
os.lstat. Patch by Hirokazu Yamamoto.
|
||||||
|
|
||||||
- Issue #9333: Expose os.symlink only when the SeCreateSymbolicLinkPrivilege
|
- Issue #9333: Expose os.symlink only when the SeCreateSymbolicLinkPrivilege is
|
||||||
is held by the user's account, i.e., when the function can actually be used.
|
held by the user's account, i.e., when the function can actually be used.
|
||||||
|
|
||||||
- Issue #8879: Add os.link support for Windows.
|
- Issue #8879: Add os.link support for Windows.
|
||||||
|
|
||||||
- Issue #7911: `unittest.TestCase.longMessage` defaults to True for improved
|
- Issue #7911: ``unittest.TestCase.longMessage`` defaults to True for improved
|
||||||
failure messages by default. Patch by Mark Roddy.
|
failure messages by default. Patch by Mark Roddy.
|
||||||
|
|
||||||
- Issue #1486713: HTMLParser now has an optional tolerant mode where it
|
- Issue #1486713: HTMLParser now has an optional tolerant mode where it tries to
|
||||||
tries to guess at the correct parsing of invalid html.
|
guess at the correct parsing of invalid html.
|
||||||
|
|
||||||
- Issue #10554: Add context manager support to subprocess.Popen objects.
|
- Issue #10554: Add context manager support to subprocess.Popen objects.
|
||||||
|
|
||||||
- Issue #8989: email.utils.make_msgid now has a domain parameter that can
|
- Issue #8989: email.utils.make_msgid now has a domain parameter that can
|
||||||
override the domain name used in the generated msgid.
|
override the domain name used in the generated msgid.
|
||||||
|
|
||||||
- Issue #9299: Add exist_ok parameter to os.makedirs to suppress the
|
- Issue #9299: Add exist_ok parameter to os.makedirs to suppress the 'File
|
||||||
'File exists' exception when a target directory already exists with the
|
exists' exception when a target directory already exists with the specified
|
||||||
specified mode. Patch by Ray Allen.
|
mode. Patch by Ray Allen.
|
||||||
|
|
||||||
- Issue #9573: os.fork() now works correctly when triggered as a side effect
|
- Issue #9573: os.fork() now works correctly when triggered as a side effect of
|
||||||
of a module import
|
a module import.
|
||||||
|
|
||||||
- Issue #10464: netrc now correctly handles lines with embedded '#' characters.
|
- Issue #10464: netrc now correctly handles lines with embedded '#' characters.
|
||||||
|
|
||||||
|
@ -85,26 +85,26 @@ Library
|
||||||
|
|
||||||
- Issue #10535: Enable silenced warnings in unittest by default.
|
- Issue #10535: Enable silenced warnings in unittest by default.
|
||||||
|
|
||||||
- Issue #9873: The URL parsing functions in urllib.parse now accept
|
- Issue #9873: The URL parsing functions in urllib.parse now accept ASCII byte
|
||||||
ASCII byte sequences as input in addition to character strings.
|
sequences as input in addition to character strings.
|
||||||
|
|
||||||
- Issue #10586: The statistics API for the new functools.lru_cache has
|
- Issue #10586: The statistics API for the new functools.lru_cache has been
|
||||||
been changed to a single cache_info() method returning a named tuple.
|
changed to a single cache_info() method returning a named tuple.
|
||||||
|
|
||||||
- Issue #10323: itertools.islice() now consumes the minimum number of
|
- Issue #10323: itertools.islice() now consumes the minimum number of inputs
|
||||||
inputs before stopping. Formerly, the final state of the underlying
|
before stopping. Formerly, the final state of the underlying iterator was
|
||||||
iterator was undefined.
|
undefined.
|
||||||
|
|
||||||
- Issue #10565: The collections.Iterator ABC now checks for both
|
- Issue #10565: The collections.Iterator ABC now checks for both __iter__ and
|
||||||
__iter__ and __next__.
|
__next__.
|
||||||
|
|
||||||
- Issue #10242: Fixed implementation of unittest.ItemsEqual and gave it
|
- Issue #10242: Fixed implementation of unittest.ItemsEqual and gave it a new
|
||||||
a new more informative name, unittest.CountEqual.
|
more informative name, unittest.CountEqual.
|
||||||
|
|
||||||
- Issue #10561: In pdb, clear the breakpoints by the breakpoint number.
|
- Issue #10561: In pdb, clear the breakpoints by the breakpoint number.
|
||||||
|
|
||||||
- Issue #2986: difflib.SequenceMatcher gets a new parameter, autojunk, which
|
- Issue #2986: difflib.SequenceMatcher gets a new parameter, autojunk, which can
|
||||||
can be set to False to turn off the previously undocumented 'popularity'
|
be set to False to turn off the previously undocumented 'popularity'
|
||||||
heuristic. Patch by Terry Reedy and Eli Bendersky.
|
heuristic. Patch by Terry Reedy and Eli Bendersky.
|
||||||
|
|
||||||
- Issue #9846: zipfile is now correctly closing underlying file objects.
|
- Issue #9846: zipfile is now correctly closing underlying file objects.
|
||||||
|
@ -124,14 +124,14 @@ Library
|
||||||
output stream only when end_headers is invoked. This is a speedup and an
|
output stream only when end_headers is invoked. This is a speedup and an
|
||||||
internal optimization. Patch by endian.
|
internal optimization. Patch by endian.
|
||||||
|
|
||||||
- Issue #10220: Added inspect.getgeneratorstate. Initial patch by
|
- Issue #10220: Added inspect.getgeneratorstate. Initial patch by Rodolpho
|
||||||
Rodolpho Eckhardt.
|
Eckhardt.
|
||||||
|
|
||||||
- Issue #10453: compileall now uses argparse instead of getopt, and thus
|
- Issue #10453: compileall now uses argparse instead of getopt, and thus
|
||||||
provides clean output when called with '-h'.
|
provides clean output when called with '-h'.
|
||||||
|
|
||||||
- Issue #8078: Add constants for higher baud rates in the termios module.
|
- Issue #8078: Add constants for higher baud rates in the termios module. Patch
|
||||||
Patch by Rodolpho Eckhardt.
|
by Rodolpho Eckhardt.
|
||||||
|
|
||||||
- Issue #10407: Fix two NameErrors in distutils.
|
- Issue #10407: Fix two NameErrors in distutils.
|
||||||
|
|
||||||
|
@ -159,9 +159,9 @@ Library
|
||||||
|
|
||||||
- Issue 9926: Wrapped TestSuite subclass does not get __call__ executed.
|
- Issue 9926: Wrapped TestSuite subclass does not get __call__ executed.
|
||||||
|
|
||||||
- Issue #9920: Skip tests for cmath.atan and cmath.atanh applied to
|
- Issue #9920: Skip tests for cmath.atan and cmath.atanh applied to complex
|
||||||
complex zeros on systems where the log1p function fails to respect
|
zeros on systems where the log1p function fails to respect the sign of zero.
|
||||||
the sign of zero. This fixes a test failure on AIX.
|
This fixes a test failure on AIX.
|
||||||
|
|
||||||
- Issue #9732: Addition of getattr_static to the inspect module.
|
- Issue #9732: Addition of getattr_static to the inspect module.
|
||||||
|
|
||||||
|
@ -175,16 +175,16 @@ Library
|
||||||
- Issue #10440: Support RUSAGE_THREAD as a constant in the resource module.
|
- Issue #10440: Support RUSAGE_THREAD as a constant in the resource module.
|
||||||
Patch by Robert Collins.
|
Patch by Robert Collins.
|
||||||
|
|
||||||
- Issue #10429: IMAP.starttls() stored the capabilities as bytes objects,
|
- Issue #10429: IMAP.starttls() stored the capabilities as bytes objects, rather
|
||||||
rather than strings.
|
than strings.
|
||||||
|
|
||||||
C-API
|
C-API
|
||||||
-----
|
-----
|
||||||
|
|
||||||
- Issue #9518: Extend the PyModuleDef_HEAD_INIT macro to explicitly
|
- Issue #9518: Extend the PyModuleDef_HEAD_INIT macro to explicitly
|
||||||
zero-initialize all fields, fixing compiler warnings seen when building
|
zero-initialize all fields, fixing compiler warnings seen when building
|
||||||
extension modules with gcc with "-Wmissing-field-initializers" (implied
|
extension modules with gcc with "-Wmissing-field-initializers" (implied by
|
||||||
by "-W").
|
"-W").
|
||||||
|
|
||||||
- Issue #10255: Fix reference leak in Py_InitializeEx(). Patch by Neil
|
- Issue #10255: Fix reference leak in Py_InitializeEx(). Patch by Neil
|
||||||
Schemenauer.
|
Schemenauer.
|
||||||
|
@ -196,15 +196,15 @@ C-API
|
||||||
Tests
|
Tests
|
||||||
-----
|
-----
|
||||||
|
|
||||||
- regrtest.py once again ensures the test directory is removed from
|
- regrtest.py once again ensures the test directory is removed from sys.path
|
||||||
sys.path when it is invoked directly as the __main__ module
|
when it is invoked directly as the __main__ module
|
||||||
|
|
||||||
- Issue #9424: Deprecate the `unittest.TestCase` methods `assertEquals`,
|
- Issue #9424: Deprecate the `unittest.TestCase` methods `assertEquals`,
|
||||||
`assertNotEquals`, `assertAlmostEquals`, `assertNotAlmostEquals` and `assert_`
|
`assertNotEquals`, `assertAlmostEquals`, `assertNotAlmostEquals` and `assert_`
|
||||||
and replace them with the correct methods in the Python test suite.
|
and replace them with the correct methods in the Python test suite.
|
||||||
|
|
||||||
- Do not fail test_socket when the IP address of the local hostname
|
- Do not fail test_socket when the IP address of the local hostname cannot be
|
||||||
cannot be looked up.
|
looked up.
|
||||||
|
|
||||||
- Issue #8886: Use context managers throughout test_zipfile. Patch by Eric
|
- Issue #8886: Use context managers throughout test_zipfile. Patch by Eric
|
||||||
Carstensen.
|
Carstensen.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue