Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 05c28b08f6e2fc8782472b026c98a3fdd61a2ba9 authored by Larry Hastings on 07 May 2019, 18:29:45 UTC
Post-release version bump for 3.4.10.
Tip revision: 05c28b0
3.4.0b2.rst
.. bpo: 17432
.. date: 9179
.. nonce: mmNI4f
.. release date: 2014-01-05
.. section: Core and Builtins

Drop UCS2 from names of Unicode functions in python3.def.

..

.. bpo: 19526
.. date: 9178
.. nonce: 9WWttQ
.. section: Core and Builtins

Exclude all new API from the stable ABI. Exceptions can be made if a need is
demonstrated.

..

.. bpo: 19969
.. date: 9177
.. nonce: mmRsrB
.. section: Core and Builtins

PyBytes_FromFormatV() now raises an OverflowError if "%c" argument is not in
range [0; 255].

..

.. bpo: 19995
.. date: 9176
.. nonce: gQHtAc
.. section: Core and Builtins

%c, %o, %x, and %X now issue a DeprecationWarning on non-integer input;
reworded docs to clarify that an integer type should define both __int__ and
__index__.

..

.. bpo: 19787
.. date: 9175
.. nonce: tAMy-H
.. section: Core and Builtins

PyThread_set_key_value() now always set the value. In Python 3.3, the
function did nothing if the key already exists (if the current value is a
non-NULL pointer).

..

.. bpo: 14432
.. date: 9174
.. nonce: yov4oy
.. section: Core and Builtins

Remove the thread state field from the frame structure. Fix a crash when a
generator is created in a C thread that is destroyed while the generator is
still used. The issue was that a generator contains a frame, and the frame
kept a reference to the Python state of the destroyed C thread. The crash
occurs when a trace function is setup.

..

.. bpo: 19576
.. date: 9173
.. nonce: b_UtIp
.. section: Core and Builtins

PyGILState_Ensure() now initializes threads. At startup, Python has no
concrete GIL. If PyGILState_Ensure() is called from a new thread for the
first time and PyEval_InitThreads() was not called yet, a GIL needs to be
created.

..

.. bpo: 17576
.. date: 9172
.. nonce: ukzqsg
.. section: Core and Builtins

Deprecation warning emitted now when __int__() or __index__() return not int
instance.

..

.. bpo: 19932
.. date: 9171
.. nonce: ZU_tXW
.. section: Core and Builtins

Fix typo in import.h, missing whitespaces in function prototypes.

..

.. bpo: 19736
.. date: 9170
.. nonce: j35rNX
.. section: Core and Builtins

Add module-level statvfs constants defined for GNU/glibc based systems.

..

.. bpo: 20097
.. date: 9169
.. nonce: _L-Wql
.. section: Core and Builtins

Fix bad use of "self" in importlib's WindowsRegistryFinder.

..

.. bpo: 19729
.. date: 9168
.. nonce: HmZThe
.. section: Core and Builtins

In str.format(), fix recursive expansion in format spec.

..

.. bpo: 19638
.. date: 9167
.. nonce: lh5Awt
.. section: Core and Builtins

Fix possible crash / undefined behaviour from huge (more than 2 billion
characters) input strings in _Py_dg_strtod.

..

.. bpo: 20154
.. date: 9166
.. nonce: 5JyK0Q
.. section: Library

Deadlock in asyncio.StreamReader.readexactly().

..

.. bpo: 16113
.. date: 9165
.. nonce: 2gaEPO
.. section: Library

Remove sha3 module again.

..

.. bpo: 20111
.. date: 9164
.. nonce: NsoIDi
.. section: Library

pathlib.Path.with_suffix() now sanity checks the given suffix.

..

.. bpo: 0
.. date: 9163
.. nonce: 6LOl16
.. section: Library

Fix breakage in TestSuite.countTestCases() introduced by issue #11798.

..

.. bpo: 20108
.. date: 9162
.. nonce: HxuC0s
.. section: Library

Avoid parameter name clash in inspect.getcallargs().

..

.. bpo: 19918
.. date: 9161
.. nonce: SciMAd
.. section: Library

Fix PurePath.relative_to() under Windows.

..

.. bpo: 19422
.. date: 9160
.. nonce: 1dRaPS
.. section: Library

Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather than
silently let them emit clear text data.

..

.. bpo: 20046
.. date: 9159
.. nonce: NkWtze
.. section: Library

Locale alias table no longer contains entities which can be calculated.
Generalized support of the euro modifier.

..

.. bpo: 20027
.. date: 9158
.. nonce: dtB7OG
.. section: Library

Fixed locale aliases for devanagari locales.

..

.. bpo: 20067
.. date: 9157
.. nonce: MlnlYd
.. section: Library

Tkinter variables now work when wantobjects is false.

..

.. bpo: 19020
.. date: 9156
.. nonce: _16K__
.. section: Library

Tkinter now uses splitlist() instead of split() in configure methods.

..

.. bpo: 19744
.. date: 9155
.. nonce: frub3A
.. section: Library

ensurepip now provides a better error message when Python is built without
SSL/TLS support (pip currently requires that support to run, even if only
operating with local wheel files)

..

.. bpo: 19734
.. date: 9154
.. nonce: jHpBF-
.. section: Library

ensurepip now ignores all pip environment variables to avoid odd behaviour
based on user configuration settings

..

.. bpo: 0
.. date: 9153
.. nonce: d5LOJv
.. section: Library

Fix TypeError on "setup.py upload --show-response".

..

.. bpo: 20045
.. date: 9152
.. nonce: fdKDSA
.. section: Library

Fix "setup.py register --list-classifiers".

..

.. bpo: 18879
.. date: 9151
.. nonce: CEiozo
.. section: Library

When a method is looked up on a temporary file, avoid closing the file
before the method is possibly called.

..

.. bpo: 20037
.. date: 9150
.. nonce: Mnn2jV
.. section: Library

Avoid crashes when opening a text file late at interpreter shutdown.

..

.. bpo: 19967
.. date: 9149
.. nonce: 0zAW9L
.. section: Library

Thanks to the PEP 442, asyncio.Future now uses a destructor to log uncaught
exceptions, instead of the dedicated _TracebackLogger class.

..

.. bpo: 0
.. date: 9148
.. nonce: Gqaj5f
.. section: Library

Added a Task.current_task() class method to asyncio.

..

.. bpo: 19850
.. date: 9147
.. nonce: WPTJDe
.. section: Library

Set SA_RESTART in asyncio when registering a signal handler to limit EINTR
occurrences.

..

.. bpo: 0
.. date: 9146
.. nonce: JivAZe
.. section: Library

Implemented write flow control in asyncio for proactor event loop (Windows).

..

.. bpo: 0
.. date: 9145
.. nonce: WBY2wl
.. section: Library

Change write buffer in asyncio use to avoid O(N**2) behavior.  Make
write()/sendto() accept bytearray/memoryview.

..

.. bpo: 20034
.. date: 9144
.. nonce: GlYpNX
.. section: Library

Updated alias mapping to most recent locale.alias file from X.org
distribution using makelocalealias.py.

..

.. bpo: 5815
.. date: 9143
.. nonce: FxSb0P
.. section: Library

Fixed support for locales with modifiers.  Fixed support for locale
encodings with hyphens.

..

.. bpo: 20026
.. date: 9142
.. nonce: KO1jB6
.. section: Library

Fix the sqlite module to handle correctly invalid isolation level (wrong
type).

..

.. bpo: 18829
.. date: 9141
.. nonce: QPwJFn
.. section: Library

csv.Dialect() now checks type for delimiter, escapechar and quotechar
fields.  Original patch by Vajrasky Kok.

..

.. bpo: 19855
.. date: 9140
.. nonce: TtBUO6
.. section: Library

uuid.getnode() on Unix now looks on the PATH for the executables used to
find the mac address, with /sbin and /usr/sbin as fallbacks.

..

.. bpo: 20007
.. date: 9139
.. nonce: IaSnPo
.. section: Library

HTTPResponse.read(0) no more prematurely closes connection. Original patch
by Simon Sapin.

..

.. bpo: 19946
.. date: 9138
.. nonce: hcbn92
.. section: Library

multiprocessing now uses runpy to initialize __main__ in child processes
when necessary, allowing it to correctly handle scripts without suffixes and
submodules that use explicit relative imports or otherwise rely on parent
modules being correctly imported prior to execution.

..

.. bpo: 19921
.. date: 9137
.. nonce: LGeNky
.. section: Library

When Path.mkdir() is called with parents=True, any missing parent is created
with the default permissions, ignoring the mode argument (mimicking the
POSIX "mkdir -p" command).

..

.. bpo: 19887
.. date: 9136
.. nonce: 2jM2qA
.. section: Library

Improve the Path.resolve() algorithm to support certain symlink chains.

..

.. bpo: 19912
.. date: 9135
.. nonce: TviIPi
.. section: Library

Fixed numerous bugs in ntpath.splitunc().

..

.. bpo: 19911
.. date: 9134
.. nonce: w1QmnT
.. section: Library

ntpath.splitdrive() now correctly processes the 'İ' character (U+0130, LATIN
CAPITAL LETTER I WITH DOT ABOVE).

..

.. bpo: 19532
.. date: 9133
.. nonce: vCt7bh
.. section: Library

python -m compileall with no filename/directory arguments now respects the
-f and -q flags instead of ignoring them.

..

.. bpo: 19623
.. date: 9132
.. nonce: zv4rIL
.. section: Library

Fixed writing to unseekable files in the aifc module.

..

.. bpo: 19946
.. date: 9131
.. nonce: b4Js6X
.. section: Library

multiprocessing.spawn now raises ImportError when the module to be used as
the main module cannot be imported.

..

.. bpo: 17919
.. date: 9130
.. nonce: H5iGXv
.. section: Library

select.poll.register() again works with poll.POLLNVAL on AIX. Fixed integer
overflow in the eventmask parameter.

..

.. bpo: 19063
.. date: 9129
.. nonce: pQzK1K
.. section: Library

if a Charset's body_encoding was set to None, the email package would
generate a message claiming the Content-Transfer-Encoding was 7bit, and
produce garbage output for the content.  This now works. A couple of other
set_payload mishandlings of non-ASCII are also fixed. In addition, calling
set_payload with a string argument without specifying a charset now raises
an error (this is a new error in 3.4).

..

.. bpo: 15475
.. date: 9128
.. nonce: -vqlm1
.. section: Library

Add __sizeof__ implementations for itertools objects.

..

.. bpo: 19944
.. date: 9127
.. nonce: XxQU2O
.. section: Library

Fix importlib.find_spec() so it imports parents as needed and move the
function to importlib.util.

..

.. bpo: 19880
.. date: 9126
.. nonce: wJls1u
.. section: Library

Fix a reference leak in unittest.TestCase. Explicitly break reference cycles
between frames and the _Outcome instance.

..

.. bpo: 17429
.. date: 9125
.. nonce: dlZP0_
.. section: Library

platform.linux_distribution() now decodes files from the UTF-8 encoding with
the surrogateescape error handler, instead of decoding from the locale
encoding in strict mode. It fixes the function on Fedora 19 which is
probably the first major distribution release with a non-ASCII name. Patch
written by Toshio Kuratomi.

..

.. bpo: 19343
.. date: 9124
.. nonce: La15PA
.. section: Library

Expose FreeBSD-specific APIs in resource module.  Original patch by Koobs.

..

.. bpo: 19929
.. date: 9123
.. nonce: BZDeEj
.. section: Library

Call os.read with 32768 within subprocess.Popen.communicate rather than 4096
for efficiency.  A microbenchmark shows Linux and OS X both using ~50% less
cpu time this way.

..

.. bpo: 19506
.. date: 9122
.. nonce: GteUMC
.. section: Library

Use a memoryview to avoid a data copy when piping data to stdin within
subprocess.Popen.communicate.  5-10% less cpu usage.

..

.. bpo: 19876
.. date: 9121
.. nonce: 2YXHY-
.. section: Library

selectors unregister() no longer raises ValueError or OSError if the FD is
closed (as long as it was registered).

..

.. bpo: 19908
.. date: 9120
.. nonce: rOsMVQ
.. section: Library

pathlib now joins relative Windows paths correctly when a drive is present.
Original patch by Antoine Pitrou.

..

.. bpo: 19296
.. date: 9119
.. nonce: WVPZAK
.. section: Library

Silence compiler warning in dbm_open

..

.. bpo: 6784
.. date: 9118
.. nonce: uxEt6F
.. section: Library

Strings from Python 2 can now be unpickled as bytes objects by setting the
encoding argument of Unpickler to be 'bytes'. Initial patch by Merlijn van
Deen.

..

.. bpo: 19839
.. date: 9117
.. nonce: qfP0k5
.. section: Library

Fix regression in bz2 module's handling of non-bzip2 data at EOF, and
analogous bug in lzma module.

..

.. bpo: 19881
.. date: 9116
.. nonce: NKrKAh
.. section: Library

Fix pickling bug where cpickle would emit bad pickle data for large bytes
string (i.e., with size greater than 2**32-1).

..

.. bpo: 19138
.. date: 9115
.. nonce: xwKrX_
.. section: Library

doctest's IGNORE_EXCEPTION_DETAIL now allows a match when no exception
detail exists (no colon following the exception's name, or a colon does
follow but no text follows the colon).

..

.. bpo: 19927
.. date: 9114
.. nonce: ZijD-E
.. section: Library

Add __eq__ to path-based loaders in importlib.

..

.. bpo: 19827
.. date: 9113
.. nonce: KBYfyd
.. section: Library

On UNIX, setblocking() and settimeout() methods of socket.socket can now
avoid a second syscall if the ioctl() function can be used, or if the non-
blocking flag of the socket is unchanged.

..

.. bpo: 19785
.. date: 9112
.. nonce: dTWAof
.. section: Library

smtplib now supports SSLContext.check_hostname and server name indication
for TLS/SSL connections.

..

.. bpo: 19784
.. date: 9111
.. nonce: t85DbS
.. section: Library

poplib now supports SSLContext.check_hostname and server name indication for
TLS/SSL connections.

..

.. bpo: 19783
.. date: 9110
.. nonce: VRsf8d
.. section: Library

nntplib now supports SSLContext.check_hostname and server name indication
for TLS/SSL connections.

..

.. bpo: 19782
.. date: 9109
.. nonce: 7jF-re
.. section: Library

imaplib now supports SSLContext.check_hostname and server name indication
for TLS/SSL connections.

..

.. bpo: 20123
.. date: 9108
.. nonce: o-MHVk
.. section: Library

Fix pydoc.synopsis() for "binary" modules.

..

.. bpo: 19834
.. date: 9107
.. nonce: rlFmTq
.. section: Library

Support unpickling of exceptions pickled by Python 2.

..

.. bpo: 19781
.. date: 9106
.. nonce: 4ZiyRb
.. section: Library

ftplib now supports SSLContext.check_hostname and server name indication for
TLS/SSL connections.

..

.. bpo: 19509
.. date: 9105
.. nonce: I2qj0u
.. section: Library

Add SSLContext.check_hostname to match the peer's certificate with
server_hostname on handshake.

..

.. bpo: 15798
.. date: 9104
.. nonce: 1bxNCP
.. section: Library

Fixed subprocess.Popen() to no longer fail if file descriptor 0, 1 or 2 is
closed.

..

.. bpo: 17897
.. date: 9103
.. nonce: 0iKzvE
.. section: Library

Optimized unpickle prefetching.

..

.. bpo: 3693
.. date: 9102
.. nonce: _c0s5z
.. section: Library

Make the error message more helpful when the array.array() constructor is
given a str. Move the array module typecode documentation to the docstring
of the constructor.

..

.. bpo: 19088
.. date: 9101
.. nonce: JBKVzp
.. section: Library

Fixed incorrect caching of the copyreg module in object.__reduce__() and
object.__reduce_ex__().

..

.. bpo: 19698
.. date: 9100
.. nonce: Xcq8uC
.. section: Library

Removed exec_module() methods from importlib.machinery.BuiltinImporter and
ExtensionFileLoader.

..

.. bpo: 18864
.. date: 9099
.. nonce: 2CR2Xi
.. section: Library

Added a setter for ModuleSpec.has_location.

..

.. bpo: 0
.. date: 9098
.. nonce: UKWITk
.. section: Library

Fixed _pickle.Unpickler to not fail when loading empty strings as persistent
IDs.

..

.. bpo: 11480
.. date: 9097
.. nonce: qkIZLG
.. section: Library

Fixed copy.copy to work with classes with custom metaclasses. Patch by
Daniel Urban.

..

.. bpo: 6477
.. date: 9096
.. nonce: nK1lHr
.. section: Library

Added support for pickling the types of built-in singletons (i.e., Ellipsis,
NotImplemented, None).

..

.. bpo: 19713
.. date: 9095
.. nonce: UhiUKc
.. section: Library

Add remaining PEP 451-related deprecations and move away from using
find_module/find_loaer/load_module.

..

.. bpo: 19708
.. date: 9094
.. nonce: HJuToY
.. section: Library

Update pkgutil to use the new importer APIs.

..

.. bpo: 19703
.. date: 9093
.. nonce: pLtVYQ
.. section: Library

Update pydoc to use the new importer APIs.

..

.. bpo: 19851
.. date: 9092
.. nonce: 4HQZWz
.. section: Library

Fixed a regression in reloading sub-modules.

..

.. bpo: 0
.. date: 9091
.. nonce: 3H16yn
.. section: Library

ssl.create_default_context() sets OP_NO_COMPRESSION to prevent CRIME.

..

.. bpo: 19802
.. date: 9090
.. nonce: PswaEk
.. section: Library

Add socket.SO_PRIORITY.

..

.. bpo: 11508
.. date: 9089
.. nonce: fx7Abs
.. section: Library

Fixed uuid.getnode() and uuid.uuid1() on environment with virtual interface.
Original patch by Kent Frazier.

..

.. bpo: 11489
.. date: 9088
.. nonce: 3ZQHi8
.. section: Library

JSON decoder now accepts lone surrogates.

..

.. bpo: 19545
.. date: 9087
.. nonce: 1FBY5Z
.. section: Library

Avoid chained exceptions while passing stray % to time.strptime().  Initial
patch by Claudiu Popa.

..

.. bpo: 20058
.. date: 9086
.. nonce: KnDlhH
.. section: IDLE

sys.stdin.readline() in IDLE now always returns only one line.

..

.. bpo: 19481
.. date: 9085
.. nonce: BNkHOm
.. section: IDLE

print() of string subclass instance in IDLE no longer hangs.

..

.. bpo: 18270
.. date: 9084
.. nonce: lu6dRW
.. section: IDLE

Prevent possible IDLE AttributeError on OS X when no initial shell window is
present.

..

.. bpo: 20055
.. date: 9083
.. nonce: iE7yU6
.. section: Tests

Fix test_shutil under Windows with symlink privileges held. Patch by
Vajrasky Kok.

..

.. bpo: 20070
.. date: 9082
.. nonce: HpyZrQ
.. section: Tests

Don't run test_urllib2net when network resources are not enabled.

..

.. bpo: 19938
.. date: 9081
.. nonce: 2iLiKJ
.. section: Tests

Re-enabled test_bug_1333982 in test_dis, which had been disabled since 3.0
due to the changes in listcomp handling.

..

.. bpo: 19320
.. date: 9080
.. nonce: 9x_cw5
.. section: Tests

test_tcl no longer fails when wantobjects is false.

..

.. bpo: 19919
.. date: 9079
.. nonce: N9bnWv
.. section: Tests

Fix flaky SSL test. connect_ex() sometimes returns EWOULDBLOCK on Windows or
VMs hosted on Windows.

..

.. bpo: 19912
.. date: 9078
.. nonce: NmE9ZX
.. section: Tests

Added tests for ntpath.splitunc().

..

.. bpo: 19828
.. date: 9077
.. nonce: f5HrFG
.. section: Tests

Fixed test_site when the whole suite is run with -S.

..

.. bpo: 19928
.. date: 9076
.. nonce: dwOQ95
.. section: Tests

Implemented a test for repr() of cell objects.

..

.. bpo: 19535
.. date: 9075
.. nonce: 9ZtpA7
.. section: Tests

Fixed test_docxmlrpc, test_functools, test_inspect, and test_statistics when
python is run with -OO.

..

.. bpo: 19926
.. date: 9074
.. nonce: fkWjtw
.. section: Tests

Removed unneeded test_main from test_abstract_numbers. Patch by Vajrasky
Kok.

..

.. bpo: 19572
.. date: 9073
.. nonce: _65KAy
.. section: Tests

More skipped tests explicitly marked as skipped.

..

.. bpo: 19595
.. date: 9072
.. nonce: q5oNE_
.. section: Tests

Re-enabled a long-disabled test in test_winsound. (See also: bpo-19987)

..

.. bpo: 19588
.. date: 9071
.. nonce: EXKxpC
.. section: Tests

Fixed tests in test_random that were silently skipped most of the time.
Patch by Julian Gindi.

..

.. bpo: 19728
.. date: 9070
.. nonce: q1zXeT
.. section: Build

Enable pip installation by default on Windows.

..

.. bpo: 16136
.. date: 9069
.. nonce: FQGvGl
.. section: Build

Remove VMS support

..

.. bpo: 18215
.. date: 9068
.. nonce: yw2j0l
.. section: Build

Add script Tools/ssl/test_multiple_versions.py to compile and run Python's
unit tests with multiple versions of OpenSSL.

..

.. bpo: 19922
.. date: 9067
.. nonce: cG30aH
.. section: Build

define _INCLUDE__STDC_A1_SOURCE in HP-UX to include mbstate_t for mbrtowc().

..

.. bpo: 19788
.. date: 9066
.. nonce: P7qrFB
.. section: Build

kill_python(_d).exe is now run as a PreBuildEvent on the pythoncore sub-
project.  This should prevent build errors due a previous build's
python(_d).exe still running.

..

.. bpo: 20265
.. date: 9065
.. nonce: J7Xxm7
.. section: Documentation

Updated some parts of the Using Windows document.

..

.. bpo: 20266
.. date: 9064
.. nonce: CieiXa
.. section: Documentation

Updated some parts of the Windows FAQ.

..

.. bpo: 20255
.. date: 9063
.. nonce: SnYjEP
.. section: Documentation

Updated the about and bugs pages.

..

.. bpo: 20253
.. date: 9062
.. nonce: nbp6uJ
.. section: Documentation

Fixed a typo in the ipaddress docs that advertised an illegal attribute
name.  Found by INADA Naoki.

..

.. bpo: 18840
.. date: 9061
.. nonce: _2UItV
.. section: Documentation

Introduce the json module in the tutorial, and de-emphasize the pickle
module.

..

.. bpo: 19845
.. date: 9060
.. nonce: luj-oI
.. section: Documentation

Updated the Compiling Python on Windows section.

..

.. bpo: 19795
.. date: 9059
.. nonce: z5sbe1
.. section: Documentation

Improved markup of True/False constants.

..

.. bpo: 19659
.. date: 9058
.. nonce: kghZl0
.. section: Tools/Demos

Added documentation for Argument Clinic.

..

.. bpo: 19976
.. date: 9057
.. nonce: My60GG
.. section: Tools/Demos

Argument Clinic METH_NOARGS functions now always take two parameters.
back to top