.. bpo: 1683368
.. date: 8730
.. nonce: 6VUt7_
.. release date: 01-Apr-2012
.. section: Core and Builtins

object.__new__ and object.__init__ raise a TypeError if they are passed
arguments and their complementary method is not overridden.

..

.. bpo: 14378
.. date: 8729
.. nonce: SYESoz
.. section: Core and Builtins

Fix compiling ast.ImportFrom nodes with a "__future__" string as the module
name that was not interned.

..

.. bpo: 14331
.. date: 8728
.. nonce: xcTH6m
.. section: Core and Builtins

Use significantly less stack space when importing modules by allocating path
buffers on the heap instead of the stack.

..

.. bpo: 14334
.. date: 8727
.. nonce: jfh6Id
.. section: Core and Builtins

Prevent in a segfault in type.__getattribute__ when it was not passed
strings.

..

.. bpo: 1469629
.. date: 8726
.. nonce: ej86Z-
.. section: Core and Builtins

Allow cycles through an object's __dict__ slot to be collected. (For example
if ``x.__dict__ is x``).

..

.. bpo: 14205
.. date: 8725
.. nonce: oOwD6n
.. section: Core and Builtins

dict lookup raises a RuntimeError if the dict is modified during a lookup.

..

.. bpo: 14220
.. date: 8724
.. nonce: jQUaQe
.. section: Core and Builtins

When a generator is delegating to another iterator with the yield from
syntax, it needs to have its ``gi_running`` flag set to True.

..

.. bpo: 14435
.. date: 8723
.. nonce: fqTeXP
.. section: Core and Builtins

Remove dedicated block allocator from floatobject.c and rely on the
PyObject_Malloc() api like all other objects.

..

.. bpo: 14471
.. date: 8722
.. nonce: NQQ20o
.. section: Core and Builtins

Fix a possible buffer overrun in the winreg module.

..

.. bpo: 14288
.. date: 8721
.. nonce: zU3alc
.. section: Core and Builtins

Allow the serialization of builtin iterators

..

.. bpo: 14300
.. date: 8720
.. nonce: EKXEH3
.. section: Library

Under Windows, sockets created using socket.dup() now allow overlapped I/O.
Patch by sbt.

..

.. bpo: 13872
.. date: 8719
.. nonce: xHvdXX
.. section: Library

socket.detach() now marks the socket closed (as mirrored in the socket
repr()).  Patch by Matt Joiner.

..

.. bpo: 14406
.. date: 8718
.. nonce: zdFILX
.. section: Library

Fix a race condition when using ``concurrent.futures.wait(
return_when=ALL_COMPLETED)``.  Patch by Matt Joiner.

..

.. bpo: 5136
.. date: 8717
.. nonce: 7H2rv2
.. section: Library

deprecate old, unused functions from tkinter.

..

.. bpo: 14416
.. date: 8716
.. nonce: UuoZhW
.. section: Library

syslog now defines the LOG_ODELAY and LOG_AUTHPRIV constants if they are
defined in <syslog.h>.

..

.. bpo: 14295
.. date: 8715
.. nonce: -_TkX_
.. section: Library

Add unittest.mock

..

.. bpo: 7652
.. date: 8714
.. nonce: iEr-y0
.. section: Library

Add --with-system-libmpdec option to configure for linking the _decimal
module against an installed libmpdec.

..

.. bpo: 14380
.. date: 8713
.. nonce: vbD08Y
.. section: Library

MIMEText now defaults to utf-8 when passed non-ASCII unicode with no charset
specified.

..

.. bpo: 10340
.. date: 8712
.. nonce: QZDDK-
.. section: Library

asyncore - properly handle EINVAL in dispatcher constructor on OSX; avoid to
call handle_connect in case of a disconnected socket which was not meant to
connect.

..

.. bpo: 14204
.. date: 8711
.. nonce: rzzuGo
.. section: Library

The ssl module now has support for the Next Protocol Negotiation extension,
if available in the underlying OpenSSL library. Patch by Colin Marc.

..

.. bpo: 3035
.. date: 8710
.. nonce: 8RlPJT
.. section: Library

Unused functions from tkinter are marked as pending deprecated.

..

.. bpo: 12757
.. date: 8709
.. nonce: lfCCKo
.. section: Library

Fix the skipping of doctests when python is run with -OO so that it works in
unittest's verbose mode as well as non-verbose mode.

..

.. bpo: 7652
.. date: 8708
.. nonce: 78v0L0
.. section: Library

Integrate the decimal floating point libmpdec library to speed up the
decimal module. Performance gains of the new C implementation are between
10x and 100x, depending on the application.

..

.. bpo: 14269
.. date: 8707
.. nonce: xxkPQ3
.. section: Library

SMTPD now conforms to the RFC and requires a HELO command before MAIL, RCPT,
or DATA.

..

.. bpo: 13694
.. date: 8706
.. nonce: qresWC
.. section: Library

asynchronous connect in asyncore.dispatcher does not set addr attribute.

..

.. bpo: 14344
.. date: 8705
.. nonce: 10T1SA
.. section: Library

fixed the repr of email.policy objects.

..

.. bpo: 11686
.. date: 8704
.. nonce: KKCNSn
.. section: Library

Added missing entries to email package __all__ lists (mostly the new Bytes
classes).

..

.. bpo: 14335
.. date: 8703
.. nonce: V2jcRC
.. section: Library

multiprocessing's custom Pickler subclass now inherits from the
C-accelerated implementation.  Patch by sbt.

..

.. bpo: 10484
.. date: 8702
.. nonce: NgDSdJ
.. section: Library

Fix the CGIHTTPServer's PATH_INFO handling problem.

..

.. bpo: 11199
.. date: 8701
.. nonce: UMivCa
.. section: Library

Fix the with urllib which hangs on particular ftp urls.

..

.. bpo: 0
.. date: 8700
.. nonce: Z_Hbwr
.. section: Library

Improve the memory utilization and speed of functools.lru_cache.

..

.. bpo: 14222
.. date: 8699
.. nonce: ERgGnw
.. section: Library

Use the new time.steady() function instead of time.time() for timeout in
queue and threading modules to not be affected of system time update.

..

.. bpo: 13248
.. date: 8698
.. nonce: QDAkYv
.. section: Library

Remove lib2to3.pytree.Base.get_prefix/set_prefix.

..

.. bpo: 14234
.. date: 8697
.. nonce: 3-5k8_
.. section: Library

CVE-2012-0876: Randomize hashes of xml attributes in the hash table internal
to the pyexpat module's copy of the expat library to avoid a denial of
service due to hash collisions.  Patch by David Malcolm with some
modifications by the expat project.

..

.. bpo: 12818
.. date: 8696
.. nonce: phT2cB
.. section: Library

format address no longer needlessly \ escapes ()s in names when the name
ends up being quoted.

..

.. bpo: 14062
.. date: 8695
.. nonce: da3P2T
.. section: Library

BytesGenerator now correctly folds Header objects, including using linesep
when folding.

..

.. bpo: 13839
.. date: 8694
.. nonce: 2p10As
.. section: Library

When invoked on the command-line, the pstats module now accepts several
filenames of profile stat files and merges them all. Patch by Matt Joiner.

..

.. bpo: 14291
.. date: 8693
.. nonce: RC5jhD
.. section: Library

Email now defaults to utf-8 for non-ASCII unicode headers instead of raising
an error.  This fixes a regression relative to 2.7.

..

.. bpo: 989712
.. date: 8692
.. nonce: DK9VYH
.. section: Library

Support using Tk without a mainloop.

..

.. bpo: 3835
.. date: 8691
.. nonce: 2J2TSu
.. section: Library

Refuse to use unthreaded Tcl in threaded Python.

..

.. bpo: 2843
.. date: 8690
.. nonce: R6eFw1
.. section: Library

Add new Tk API to Tkinter.

..

.. bpo: 14184
.. date: 8689
.. nonce: 6AXV0T
.. section: Library

Increase the default stack size for secondary threads on Mac OS X to avoid
interpreter crashes when using threads on 10.7.

..

.. bpo: 14180
.. date: 8688
.. nonce: 6RcdYN
.. section: Library

datetime.date.fromtimestamp(), datetime.datetime.fromtimestamp() and
datetime.datetime.utcfromtimestamp() now raise an OSError instead of
ValueError if localtime() or gmtime() failed.

..

.. bpo: 14180
.. date: 8687
.. nonce: qe2Eei
.. section: Library

time.ctime(), gmtime(), time.localtime(), datetime.date.fromtimestamp(),
datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp()
now raises an OverflowError, instead of a ValueError, if the timestamp does
not fit in time_t.

..

.. bpo: 14180
.. date: 8686
.. nonce: XzoCLE
.. section: Library

datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp()
now round microseconds towards zero instead of rounding to nearest with ties
going away from zero.

..

.. bpo: 10543
.. date: 8685
.. nonce: hhj5c8
.. section: Library

Fix unittest test discovery with Jython bytecode files.

..

.. bpo: 1178863
.. date: 8684
.. nonce: qZwz1u
.. section: Library

Separate initialisation from setting when initializing Tkinter.Variables;
harmonize exceptions to ValueError; only delete variables that have not been
deleted; assert that variable names are strings.

..

.. bpo: 14104
.. date: 8683
.. nonce: OxYNl1
.. section: Library

Implement time.monotonic() on Mac OS X, patch written by Nicholas Riley.

..

.. bpo: 13394
.. date: 8682
.. nonce: 5-MRTZ
.. section: Library

the aifc module now uses warnings.warn() to signal warnings.

..

.. bpo: 14252
.. date: 8681
.. nonce: -5zjL9
.. section: Library

Fix subprocess.Popen.terminate() to not raise an error under Windows when
the child process has already exited.

..

.. bpo: 14223
.. date: 8680
.. nonce: J3xsO9
.. section: Library

curses.addch() is no more limited to the range 0-255 when the Python curses
is not linked to libncursesw. It was a regression introduced in Python
3.3a1.

..

.. bpo: 14168
.. date: 8679
.. nonce: k48rkQ
.. section: Library

Check for presence of Element._attrs in minidom before accessing it.

..

.. bpo: 12328
.. date: 8678
.. nonce: 0ou86A
.. section: Library

Fix multiprocessing's use of overlapped I/O on Windows. Also, add a
multiprocessing.connection.wait(rlist, timeout=None) function for polling
multiple objects at once.  Patch by sbt.

..

.. bpo: 14007
.. date: 8677
.. nonce: QgHRiZ
.. section: Library

Accept incomplete TreeBuilder objects (missing start, end, data or close
method) for the Python implementation as well. Drop the no-op
TreeBuilder().xml() method from the C implementation.

..

.. bpo: 14210
.. date: 8676
.. nonce: PDzvZF
.. section: Library

pdb now has tab-completion not only for command names, but also for their
arguments, wherever possible.

..

.. bpo: 14310
.. date: 8675
.. nonce: mho0IY
.. section: Library

Sockets can now be with other processes on Windows using the api
socket.socket.share() and socket.fromshare().

..

.. bpo: 10576
.. date: 8674
.. nonce: hVfEHY
.. section: Library

The gc module now has a 'callbacks' member that will get called when garbage
collection takes place.

..

.. bpo: 14557
.. date: 8673
.. nonce: UCbIq7
.. section: Build

Fix extensions build on HP-UX. Patch by Adi Roiban.

..

.. bpo: 14387
.. date: 8672
.. nonce: akFGpn
.. section: Build

Do not include accu.h from Python.h.

..

.. bpo: 14359
.. date: 8671
.. nonce: d8AJnN
.. section: Build

Only use O_CLOEXEC in _posixmodule.c if it is defined. Based on patch from
Hervé Coatanhay.

..

.. bpo: 14321
.. date: 8670
.. nonce: 3fOzVM
.. section: Build

Do not run pgen during the build if files are up to date.

..

.. bpo: 14034
.. date: 8669
.. nonce: 34GDTv
.. section: Documentation

added the argparse tutorial.

..

.. bpo: 14324
.. date: 8668
.. nonce: njGV1Q
.. section: Documentation

Fix configure tests for cross builds.

..

.. bpo: 14327
.. date: 8667
.. nonce: F1iSk5
.. section: Documentation

Call AC_CANONICAL_HOST in configure.ac and check in config.{guess,sub}.
Don't use uname calls for cross builds.

..

.. bpo: 9041
.. date: 8666
.. nonce: iLXuHK
.. section: Library

An issue in ctypes.c_longdouble, ctypes.c_double, and ctypes.c_float that
caused an incorrect exception to be returned in the case of overflow has
been fixed.

..

.. bpo: 14212
.. date: 8665
.. nonce: 78Bmn2
.. section: Library

The re module didn't retain a reference to buffers it was scanning,
resulting in segfaults.

..

.. bpo: 14259
.. date: 8664
.. nonce: EG-kwB
.. section: Library

The finditer() method of re objects did not take any keyword arguments,
contrary to the documentation.

..

.. bpo: 10142
.. date: 8663
.. nonce: iHMgqe
.. section: Library

Support for SEEK_HOLE/SEEK_DATA (for example, under ZFS).

..

.. bpo: 14442
.. date: 8662
.. nonce: 9ett0-
.. section: Tests

Add missing errno import in test_smtplib.

..

.. bpo: 8315
.. date: 8661
.. nonce: 2qXCkM
.. section: Tests

(partial fix) python -m unittest test.test_email now works.
