Serhiy Storchaka
58cf607d13
Issue #12892 : The utf-16* and utf-32* codecs now reject (lone) surrogates.
The utf-16* and utf-32* encoders no longer allow surrogate code points
(U+D800-U+DFFF) to be encoded.
The utf-32* decoders no longer decode byte sequences that correspond to
surrogate code points.
The surrogatepass error handler now works with the utf-16* and utf-32* codecs.
Based on patches by Victor Stinner and Kang-Hao (Kenny) Lu.
12 years ago
Nick Coghlan
d0cf0635b3
Close #19406 : Initial implementation of ensurepip
Patch by Donald Stufft and Nick Coghlan
12 years ago
Victor Stinner
324164172f
Issue #19514 : Add Andrei Dorian Duma to Misc/ACKS for changeset 4a09cc62419b
12 years ago
Tim Golden
0fb23a23f1
Issue13234 Credit Santoso for the patch and add NEWS item
12 years ago
Tim Golden
23005084ad
Issue4905: use INVALID_FILE_ATTRIBUTES where appropriate. (Patch by Ulrich Eckhardt)
12 years ago
Antoine Pitrou
dde25c4851
Issue #19340 : Fix test_sysconfig when Python is built with an empty prefix.
Patch by Sunny K.
12 years ago
Tim Golden
27a856495e
Issue #15207 : Fix mimetypes to read from correct area in Windows registry (Original patch by Dave Chambers)
12 years ago
Ezio Melotti
f076f53386
#8964 : fix platform._sys_version to handle IronPython 2.6+.
12 years ago
Nadeem Vawda
42ca98217c
Issue #19201 : Add support for the 'x' mode to the lzma module.
Patch by Tim Heaney and Vajrasky Kok.
12 years ago
Nick Coghlan
240f86d7dd
Close #19266 : contextlib.ignore -> contextlib.suppress
Patch by Zero Piraeus.
12 years ago
Nick Coghlan
7d270ee05d
Issue #16129 : Add `Py_SetStandardStreamEncoding`
This new pre-initialization API allows embedding
applications like Blender to force a particular
encoding and error handler for the standard IO streams.
Also refactors Modules/_testembed.c to let us start
testing multiple embedding scenarios.
(Initial patch by Bastien Montagne)
12 years ago
Georg Brandl
a8fc7f6fac
#18714 : add attribution.
12 years ago
Georg Brandl
c377fe2b96
Closes #1215 : document better why it is not a good idea to catch e.g. SIGSEGV and refer to faulthandler.
Patch by Martin Pool.
12 years ago
Ezio Melotti
93d7dda914
#19148 : fix markup errors and wording in enum docs. Patch by Esa Peuha.
12 years ago
Nick Coghlan
f05d981f58
Close #10042 : functools.total_ordering now handles NotImplemented
(Patch by Katie Miller)
12 years ago
Nick Coghlan
1a33b2f35b
Close #19092 : ExitStack now reraises exceptions from __exit__
Report and patch by Hrvoje Nikšić
12 years ago
Antoine Pitrou
3c678c33a7
Issue #12641 : Avoid passing "-mno-cygwin" to the mingw32 compiler, except when necessary.
Patch by Oscar Benjamin.
12 years ago
Nick Coghlan
6ba64f454d
Close #18596 : Support address sanity checking in clang/GCC
This patch appropriately marks known false alarms in the
small object allocator when address sanity checking is
enabled (patch contributed by Dhiru Kholia).
12 years ago
Raymond Hettinger
46f5ca31d0
Issue #19018 : The heapq.merge() function no longer suppresses IndexError
12 years ago
Eli Bendersky
61f4cd1dd5
Add Germán M. Bravo to Misc/ACKS
12 years ago
Serhiy Storchaka
016af3f4d4
Issue #18784 : The uuid module no more attempts to load libc via ctypes.CDLL,
if all necessary functions are already found in libuuid.
Patch by Evgeny Sologubov.
12 years ago
Raymond Hettinger
f27623215c
Issue #18962 : Optimize the single iterator case for heapq.merge()
Suggested by Wouter Bolsterlee.
12 years ago
Ethan Furman
9143b0e087
Added Elazar to Misc/ACKS.
13 years ago
Eli Bendersky
f315df31bd
Issue #18849 : Fixed a Windows-specific tempfile bug where collision with an
existing directory caused mkstemp and related APIs to fail instead of
retrying. Report and fix by Vlad Shcherbina.
13 years ago
Charles-François Natali
9939cc89a4
Issue #18418 : After fork(), reinit all threads states, not only active ones.
Patch by A. Jesse Jiryu Davis.
13 years ago
Andrew Svetlov
eb97368451
Issue #11798 : TestSuite now drops references to own tests after execution.
13 years ago
Ezio Melotti
4f1353ab10
#18833 : add a test for test_telnetlib. Patch by Alex Volkov.
13 years ago
Serhiy Storchaka
b1973c252c
Issue #8865 : Concurrent invocation of select.poll.poll() now raises a
RuntimeError exception. Patch by Christian Schubert.
13 years ago
Terry Jan Reedy
7608b607b1
Issue #18676 : Change 'positive' to 'non-negative' in queue.py put and get
docstrings and ValueError messages. Patch by Zhongyue Luo
13 years ago
Ezio Melotti
2532635fcd
#18357 : add tests for dictview set difference. Patch by Fraser Tweedale.
13 years ago
Antoine Pitrou
c53204b947
Issue #4885 : Add weakref support to mmap objects. Patch by Valerie Lambert.
13 years ago
R David Murray
2833f42802
#18657 : remove duplicate entries from Misc/ACKS.
Patch by Madison May.
13 years ago
Ned Deily
b5dd6d2287
Issue #17557 : Fix os.getgroups() to work with the modified behavior of
getgroups(2) on OS X 10.8. Original patch by Mateusz Lenik.
13 years ago
Nick Coghlan
69e3bda310
Issue #15494 : test.support is now a package rather than a module
Also including this change in 3.3 to help avoid spurious conflicts
between the two most active branches.
(Initial patch by Indra Talip)
13 years ago
Nick Coghlan
fb15aa1e08
Close #15494 : test.support is now a package rather than a module
Initial patch by Indra Talip
13 years ago
Ezio Melotti
61b0c672b5
#16937 : document that stdin is always buffered, even when -u is used. Patch by Elena Oat.
13 years ago
Antoine Pitrou
60a26e0516
Issue #9177 : Calling read() or write() now raises ValueError, not AttributeError, on a closed SSL socket.
Patch by Senko Rasic.
13 years ago
Serhiy Storchaka
2670b9acb6
Issue #18449 : Make Tools/demo/ss1.py work again on Python 3. Patch by
Févry Thibault.
13 years ago
Terry Jan Reedy
4f133e2e98
Issue #18279 : Add tests for idlelib/RstripExtension.py. Original patch by
Phil Webster. With that available, modify RstripExtension.py to stop deleting
null slices, which caused a file to be marked as changed when it was not.
13 years ago
Brett Cannon
a79e4fb38d
Issue #18342 : Use the repr of a module name for ``from ... import
...`` when an ImportError occurs.
Other cases had already been switched over to using the repr.
Thanks to Tomasz Maćkowiak for the patch.
13 years ago
R David Murray
5a33f81348
#17987 : properly document support.captured_xxx.
Patch by Dmi Baranov.
13 years ago
Ezio Melotti
4603487dc9
#18020 : improve html.escape speed by an order of magnitude. Patch by Matt Bryant.
13 years ago
Brett Cannon
a53cca3fea
Issue #18351 : Fix various issues with
importlib._bootstrap._get_sourcefile().
Thanks to its only use by the C API, it was never properly tested
until now.
Thanks to Neal Norwitz for discovering the bug and Madison May for the patch.
13 years ago
Ezio Melotti
2a99d5df63
#18380 : pass regex flags to the right argument. Patch by Valentina Mukhamedzhanova.
13 years ago
Łukasz Langa
3720c77e30
Issue #18244 : Adopt C3-based linearization in functools.singledispatch for improved ABC support
13 years ago
Christian Heimes
04926aeb2f
Issue 18240: The HMAC module is no longer restricted to bytes and accepts
any bytes-like object, e.g. memoryview. Original patch by Jonas Borgström.
13 years ago
R David Murray
925a322570
#18155 : Regex-escape delimiter, in case it is a regex special char.
Patch by Vajrasky Kok, with slight modification to the tests by me.
13 years ago
Terry Jan Reedy
70d2c711f1
Issue #18315 : Improve fileinput docs by adding 'bufsize' where missing and
replacing redundant signature in input() docstring with one-line summary.
Original patch by Terrel Shumway.
13 years ago
Antoine Pitrou
9a00e0a41c
Issue #18256 : Compilation fix for recent AIX releases. Patch by David Edelsohn.
13 years ago
Ned Deily
7bff3cbe3d
Issue #18149 : Add filecmp.clear_cache() to manually clear the filecmp cache.
Patch by Mark Levitt
13 years ago