-
Committer:
Bazaar Package Importer
-
Author(s):
Matthias Klose
-
Date:
2010-11-14 01:12:15 UTC
-
mfrom:
(1.4.3 upstream)
(2.1.20 sid)
-
Revision ID:
james.westby@ubuntu.com-20101114011215-ggan17jck7sxjlir
Tags: 3.1.3~rc1-1
* Python 3.1.3 release candidate 1.
- Issue #10221: dict.pop(k) now has a key error message that includes the
missing key (same message d[k] returns for missing keys).
- Issue #5437: A preallocated MemoryError instance should not hold
traceback data (including local variables caught in the stack trace)
alive infinitely.
- Issue #10077: Fix logging of site module errors at startup.
- Issue #10186: Fix the SyntaxError caret when the offset is equal
to the length of the offending line.
- Issue #9713, #10114: Parser functions (eg. PyParser_ASTFromFile) expects
filenames encoded to the filesystem encoding with surrogateescape error
handler (to support undecodable bytes), instead of UTF-8 in strict mode.
- Issue #9997: Don't let the name "top" have special significance in scope
resolution.
- Issue #10068: Global objects which have reference cycles with
their module's dict are now cleared again.
- Issue #4471: Properly shutdown socket in IMAP.shutdown().
- Fix IMAP.login() to work properly.
- Issue #10126: Fix distutils' test_build when Python was built with
--enable-shared.
- Fix typo in one sdist option (medata-check).
- Issue #9199: Fix incorrect use of distutils.cmd.Command.announce.
- Issue #1718574: Fix options that were supposed to accept arguments but did
not in build_clib.
- Issue #9281: Prevent race condition with mkdir in distutils.
- Issue #10229: Fix caching error in gettext.
- Issue #10252: Close file objects in a timely manner in distutils code and
tests.
- Issue #10311: The signal module now restores errno before returning from
its low-level signal handler.
- The keyword only restriction for the places argument in
unittest.TestCase.assert[Not]AlmostEqual methods has been removed.
- Issue 6706: asyncore accept() method no longer raises
EWOULDBLOCK/ECONNABORTED on incomplete connection attempt but returns
None instead.
- Issue #10266: uu.decode didn't close in_file explicitly when it was given
as a filename.
- Issue #10246: uu.encode didn't close file objects explicitly when
filenames were given to it.
- Issue #10253: FileIO leaks a file descriptor when trying to open a file
for append that isn't seekable.
- Issue #5027: The standard ``xml`` namespace is now understood by
xml.sax.saxutils.XMLGenerator as being bound to
http://www.w3.org/XML/1998/namespace.
- Issue #5117: Case normalization was needed on ntpath.relpath(). And
fixed root directory issue on posixpath.relpath(). (Ported working fixes
from ntpath)
- Issue #10041: The signature of optional arguments in socket.makefile()
didn't match that of io.open(), and they also didn't get forwarded
properly to TextIOWrapper in text mode.
- Issue #6612: Fix site and sysconfig to catch os.getcwd() error, eg. if the
current directory was deleted.
- Issue #9054: Fix a crash occurring when using the pyexpat module
with expat version 2.0.1.
* Move the Makefile into the -min package, required by sysconfig.
Addresses: #603237.