https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
2ae378e [3.7] bpo-34789: xml.sax.make_parser expects a list not just any sequence (GH-9542) (cherry picked from commit 1487b651caa62647f8f8c9e8432e475e3566130c) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 26 October 2018, 13:12:16 UTC
e825b4e [3.6] bpo-35054: Add more index entries for symbols. (GH-10064). (GH-10119) (cherry picked from commit ddb961d2abe5d5fde76d85b21a77e4e91e0043ad) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 26 October 2018, 08:18:57 UTC
3b87151 bpo-35038: AttributeError: 'frame' object has no attribute 'f_restricted'. (GH-10098) https://bugs.python.org/issue35038 (cherry picked from commit 1770d1c5121ed6c64d7072875738f97e07eede8a) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be> 25 October 2018, 21:21:59 UTC
4aa1fda bpo-31047: Fix ntpath.abspath to trim ending separator (GH-10082) 25 October 2018, 17:46:33 UTC
9fd92af configparser doc: Properly label ConfigParser attributes (GH-9930) (cherry picked from commit 890423f79606124f6c54935d21f22375c399e23a) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> 24 October 2018, 23:58:18 UTC
7717bf9 importlib doc: Fix approximated import_module() code (GH-9945) The spec gets stored on modules with the __spec__ attribute, not spec. (cherry picked from commit 78401f7156034f713170b8e87b51d23ebdc3bdfa) Co-authored-by: orlnub123 <orlnub123@gmail.com> 24 October 2018, 23:38:04 UTC
9a04762 [3.6] bpo-33899: Mention tokenize behavior change in What's New (GH-10073) (GH-10075) (cherry picked from commit dfba1f67e7f1381ceb7cec8fbcfa37337620a9b0) https://bugs.python.org/issue33899 24 October 2018, 07:32:37 UTC
797cfbd [3.6] bpo-34260, shutil: fix copy2 and copystat documentation (GH-8523) (GH-10068) Fix the documentation of copy2, as it does not copy file ownership (user and group), only mode, mtime, atime and flags. The original text was confusing to developers as it suggested that this command is the same as 'cp -p', but according to cp(1), '-p' copies file ownership as well. Clarify which metadata is copied by shutil.copystat in its docstring. (cherry picked from commit 4f399be0e70d8b5516b6213568b7665765bb3114) 23 October 2018, 21:58:11 UTC
2c54925 bpo-34794: Fix a leak in Tkinter. (GH-10025) Based on the investigation by Xiang Zhang. (cherry picked from commit df13df41a25765d8a39a77220691698498e758d4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 23 October 2018, 20:25:53 UTC
b1b9ee8 Fix error handling bugs in _elementtree.c. (GH-10060) References could leak, NULL could be dereferenced, and the Expat parser could be double freed when some errors raised. (cherry picked from commit 9f3ed3e213b30059087d059a7d1d3b2527fa8654) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 23 October 2018, 19:52:57 UTC
69d0372 bpo-34980: P/Invoke QueryFullProcessImageName to get process names (GH-9901) (cherry picked from commit fa5329424f4206630c34f75629fa78738db647f0) Co-authored-by: Jeremy Kloth <jeremy.kloth@gmail.com> 23 October 2018, 12:07:35 UTC
58b614a bpo-35028: cgi: Fix max_num_fields off by one error (GH-9973) https://bugs.python.org/issue35028 (cherry picked from commit b79b5c09493e98374e48fa122d82dab528fc6e72) Co-authored-by: matthewbelisle-wf <matthew.belisle@workiva.com> 23 October 2018, 10:54:42 UTC
42892a2 bpo-34748: link to :ref:`partial-objects` in functools.partial doc. (GH-9809) (cherry picked from commit 83a07652e0033f0d9994ae7634b91d6581c56b00) Co-authored-by: Andrei Petre <p31andrei@gmail.com> 23 October 2018, 06:16:51 UTC
da7d7d0 [3.6] bpo-34901: add -I flag to sys.flags (GH-9755) 22 October 2018, 21:48:34 UTC
8bb0371 bpo-34973: Fix crash in bytes constructor. (GH-9841) Constructing bytes from mutating list could cause a crash. (cherry picked from commit 914f9a078f997e58cfcfabcbb30fafdd1f277bef) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 21 October 2018, 12:56:10 UTC
beb83d0 closes bpo-35025: Properly guard the `CLOCK_GETTIME` et al macros in timemodule.c. (GH-9961) Guard the `CLOCK_GETTIME` et al macros in `timemodule` based on the availability of the parent functions (cherry picked from commit 94451182ccd6729c11338926d8a3d11645e86626) Co-authored-by: Max Bélanger <aeromax@gmail.com> 21 October 2018, 00:30:54 UTC
7cba835 [3.6] Remove duplicate NEWS entry due to cherry-picking (GH-10013) 20 October 2018, 17:43:39 UTC
a7cd602 Post release bump 20 October 2018, 16:49:19 UTC
dcd2b1e Merge tag 'v3.6.7' into 3.6 20 October 2018, 16:46:28 UTC
76e8582 bpo-35032: Remove inaccessible videos from faq/Windows (GH-10004) https://bugs.python.org/issue35032 (cherry picked from commit d262250d0732bdf36cb92091e37360cf8ff40f7c) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be> 20 October 2018, 15:32:21 UTC
f1b90e3 bpo-33712: OrderedDict only creates od_fast_nodes cache if needed (GH-7349). (GH-10001) (cherry picked from commit 6f17e51345d930ccb4db306acc12b7d1f6c5e690) 20 October 2018, 08:47:04 UTC
0d3dd9f bpo-34574: Prevent OrderedDict iterators from exhaustion during pickling. (GH-9051) (cherry picked from commit a5259fb05d03f4871837c14fed704541a20896c0) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> 20 October 2018, 06:05:19 UTC
6ec5cf2 3.6.7final 20 October 2018, 05:24:09 UTC
92fe93e bpo-34576: Revert doc change until it can be properly fixed (GH-9720) This reverts commit 3baee3b39765f5e8ec616b2b71b731b140486394. 20 October 2018, 04:47:20 UTC
d404ffa bpo-34521: Add NEWS entry for changes in GH-9613 (GH-9850) * Add News entry for the change in multiprocessing.reduction.recvfds made in GH-9613. (cherry picked from commit bd036d3d15fc1310ccc32a43a3296b8c157ac221) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 20 October 2018, 04:42:13 UTC
42c52a9 bpo-32256: Make patchcheck.py work for out-of-tree builds (GH-4760) Set SRCDIR as the current directory for git. (cherry picked from commit aa95bfb5fee366aa58c90b7e1c77fc7e183dbf3a) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 20 October 2018, 01:25:51 UTC
d9a2665 bpo-32890, os: Use errno instead of GetLastError() in execve() and truncate() (GH-5784) path_error() uses GetLastError() on Windows, but some os functions are implemented via CRT APIs which report errors via errno. This may result in raising OSError with invalid error code (such as zero). Introduce posix_path_error() function and use it where appropriate. (cherry picked from commit 834603112e6ca35944dd21105b01fca562dc3241) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 20 October 2018, 00:49:00 UTC
75ee130 bpo-32798: Add restriction on the offset parameter for mmap.flush in the docs (GH-5621) Add restriction on the offset parameter for mmap.flush. Explain that ALLOCATIONGRANULARITY is the same as PAGESIZE in Unix. (cherry picked from commit 027664a3d5ebad575aafe5fcc572e3b05f7f24e5) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 20 October 2018, 00:47:15 UTC
efc09a9 bpo-21196: Clarify name mangling rules in tutorial (GH-5667) Initial patch by Chandan Kumar. (cherry picked from commit 13ae4d44381a647aadd09b70b24833052659be41) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> 20 October 2018, 00:43:35 UTC
932ebc1 bpo-33594: Add deprecation info in inspect.py module (GH-7036) (cherry picked from commit ded87d804e2a85b2a3ea9e7a11384b41fafdfa29) Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com> 19 October 2018, 23:59:52 UTC
70102ff bpo-33726, doc: Add short descriptions to PEP references in seealso (GH-7294) (cherry picked from commit 0f14fc1a7cb2ea0012d0a943e4460acdee2108d7) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 19 October 2018, 23:44:31 UTC
7eacd67 In email docs, correct spelling of foregoing (GH-9856) (GH-9920) (cherry picked from commit c984d20ec81609aa439ccdb3af5bc35fca0c2112) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 19 October 2018, 23:18:54 UTC
34634ee In email.parser in message_from_bytes, update `strict` to `policy` (GH-9854) (GH-9918) According to the versionchanged note, the `strict` argument was removed in 3.3 and `policy` was added, but the name of the argument in the paragraph wasn't updated. (cherry picked from commit a5ca98537b9f3f5eeae9157b1548b741df3fbf90) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 19 October 2018, 23:18:03 UTC
d92816d bpo-34824: Fix a possible NULL pointer dereference in _ssl.c (GH-9606) (GH-9744) On failure, _PyBytes_Resize() will deallocate the bytes object and set "result" to NULL. https://bugs.python.org/issue34824 (cherry picked from commit 365ad2ead5bbaf7a3b18648ffa36e819559d3f75) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 19 October 2018, 23:14:49 UTC
5e808f9 bpo-34791: xml package obeys ignore env flags (GH-9544) (GH-9546) The xml.sax and xml.dom.domreg modules now obey sys.flags.ignore_environment. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue34791 (cherry picked from commit 223e501fb9c2b6ae21b96054e20c4c31d94a5d96) Co-authored-by: Christian Heimes <christian@python.org> 19 October 2018, 23:09:23 UTC
47413fe Elaborate datetime.timedelta docstring (GH-7458) (cherry picked from commit d6a61f232619f8a8e6efacc3da5a02abaf25f090) Co-authored-by: Chris Barker <Chris.Barker@noaa.gov> 19 October 2018, 23:08:14 UTC
a9274f7 bpo-1621: Avoid signed integer overflow in set_table_resize(). (GH-9059) (GH-9199) Address a C undefined behavior signed integer overflow issue in set object table resizing. Our -fwrapv compiler flag and practical reasons why sets are unlikely to get this large should mean this was never an issue but it was incorrect code that generates code analysis warnings. (cherry picked from commit 6c7d67ce83a62b5f0fe5c53a6df602827451bf7f) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> 19 October 2018, 22:48:46 UTC
c04347f bpo-34936: Fix TclError in tkinter.Spinbox.selection_element(). (GH-9760) (GH-9957) (cherry picked from commit 1deea5e53991b46351f6bb395b22365c9455ed88) (cherry picked from commit bd9c2ce7acaef45f23c2659b854fc9925096d040) Co-authored-by: Juliette Monsel <j4321@users.noreply.github.com> 19 October 2018, 15:44:35 UTC
322a914 bpo-34866: Adding max_num_fields to cgi.FieldStorage (GH-9660) Adding `max_num_fields` to `cgi.FieldStorage` to make DOS attacks harder by limiting the number of `MiniFieldStorage` objects created by `FieldStorage`. (cherry picked from commit 209144831b0a19715bda3bd72b14a3e6192d9cc1) Co-authored-by: matthewbelisle-wf <matthew.belisle@workiva.com> 19 October 2018, 11:16:57 UTC
d85c272 Fix several reference counting bugs in pyexpat.c. (GH-9955) (cherry picked from commit 68def052dcd41313eff2bd9f269e22c5a941db4d) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 19 October 2018, 07:25:00 UTC
cc279f4 Updated documentation on logging.debug(). (GH-9946) (GH-9950) (cherry picked from commit bbd90e4f6273f1c29c03ab1374fdbd1a862fc14a) Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk> 18 October 2018, 10:55:33 UTC
bcbefe2 bpo-35008: Fix possible leaks in Element.__setstate__(). (GH-9924) C implementation of xml.etree.ElementTree.Element.__setstate__() leaked references to children when called for already initialized element. (cherry picked from commit 6f906b3d727d6b341abd5ad9c0652bbcbd5eb024) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 18 October 2018, 07:16:40 UTC
4bfecb9 [3.6] bpo-35011: Restore use of pyexpatns.h in libexpat (GH-9939) (GH-9941) Restores the use of pyexpatns.h to isolate our embedded copy of the expat C library so that its symbols do not conflict at link or dynamic loading time with an embedding application or other extension modules with their own version of libexpat. https://github.com/python/cpython/commit/5dc3f23b5fb0b510926012cb3732dae63cddea60GH-diff-3afaf7274c90ce1b7405f75ad825f545 inadvertently removed it when upgrading expat. (cherry picked from commit 9d4712bc8f26bf1d7e626b53ab092fe030bcd68d) Co-authored-by: Gregory P. Smith <greg@krypto.org> https://bugs.python.org/issue35011 18 October 2018, 02:05:47 UTC
a5ebc20 [3.6] bpo-24658: Fix read/write greater than 2 GiB on macOS (GH-1705) (GH-9937) On macOS, fix reading from and writing into a file with a size larger than 2 GiB. (cherry picked from commit 74a8b6ea7e0a8508b13a1c75ec9b91febd8b5557) 17 October 2018, 23:52:21 UTC
669fa8b [3.6] bpo-23420: Verify the value of '-s' when execute the CLI of cProfile (GH-9925) (GH-9927) Verify the value for the parameter '-s' of the cProfile CLI. Patch by Robert Kuska. Co-authored-by: Robert Kuska <rkuska@gmail.com> (cherry picked from commit fcd5e84a515e19409840c570730f0728e9fcfc83) 17 October 2018, 11:48:52 UTC
ae011e0 bpo-34521: Add NEWS entry for changes in GH-9613 (GH-9850) * Add News entry for the change in multiprocessing.reduction.recvfds made in GH-9613. (cherry picked from commit bd036d3d15fc1310ccc32a43a3296b8c157ac221) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 16 October 2018, 07:30:58 UTC
e2c3bc7 bpo-34967: Sphinx is deprecating add_description_unit, use add_object_type (GH-9827) (cherry picked from commit e385d0661ecf8bc9ba95c4395d9a11262c2cbfec) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be> 16 October 2018, 06:47:07 UTC
71e601e bpo-34989: python-gdb.py: fix current_line_num() (GH-9889) python-gdb.py now handles errors on computing the line number of a Python frame. Changes: * PyFrameObjectPtr.current_line_num() now catchs any Exception on calling addr2line(), instead of failing with a surprising "<class 'TypeError'> 'FakeRepr' object is not subscriptable" error. * All callers of current_line_num() now handle current_line_num() returning None. * PyFrameObjectPtr.current_line() now also catchs IndexError on getting a line from the Python source file. (cherry picked from commit 2e438cc2554495b28480a3ffe5cdf41b6ab823a0) Co-authored-by: Victor Stinner <vstinner@redhat.com> 15 October 2018, 21:50:41 UTC
407f3dd fix dangling keyfunc examples in documentation of heapq and sorted (GH-1432) * fix dangling mention of key=str.lower in heapq doc * Fix dangling mention of keyfunc example for sorted() (cherry picked from commit 6bdb6f7675922e601e742758c7c240a751fd365b) Co-authored-by: Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> 15 October 2018, 19:19:22 UTC
08ba7eb bpo-34974: Do not replace unexpected errors in bytes() and bytearray(). (GH-9852) bytes and bytearray constructors converted unexpected exceptions (e.g. MemoryError and KeyboardInterrupt) to TypeError. (cherry picked from commit e890421e334ccf0c000c6b29c4a521d86cd12f47) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 14 October 2018, 21:32:03 UTC
7c1c42b [3.6] bpo-34941: Fix searching Element subclasses. (GH-9766) (GH-9868) Methods find(), findtext() and findall() of xml.etree.ElementTree.Element were not able to find chldren which are instances of Element subclasses. (cherry picked from commit b11c5667f99c4f0018e3394c4d07c519d835671a) 14 October 2018, 08:40:13 UTC
6829930 bpo-33656: Move pyshell ctypes import inside try block. (GH-9858) A Windows build with _tkinter, tkinter, and idlelib but without ctypes is unlikely but apparently possible. (cherry picked from commit d274afb5e579a5d9d990f68f9af856cf4c918779) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 14 October 2018, 00:28:04 UTC
82ff583 Post release bump 13 October 2018, 20:39:02 UTC
2e3d527 Merge tag 'v3.6.7rc2' into 3.6 13 October 2018, 20:34:55 UTC
73d9ccc Add new tests for bytes and bytearray constructors. (GH-9843) Covered all special cases: bytes, tuple, list, differend kinds of iterables and iterators. (cherry picked from commit 1a997eb291fdc5f5606c898fffbde61d899ed762) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 13 October 2018, 18:53:24 UTC
950fa40 bpo-16965: 2to3 now rewrites execfile() to open with 'rb'. (GH-8569) (cherry picked from commit d4d60134b29290049e28df54f23493de4f1824b6) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 13 October 2018, 09:51:35 UTC
4893861 3.6.7rc2 13 October 2018, 07:01:32 UTC
f55c3ae bpo-34370: Revert to using released Tk 8.6.8 with macOS installers For 3.7.1rc1 and 3.6.7rc1 we used a pre-release development snapshot of Tk 8.6 to pick up some post-8.6.8 fixes for macOS. But the snapshot introduced at least one regression (bpo-34927). For rc2, revert to using the standard release 8.6.8 for now. This reverts commit adf493227f1efd5d6b34f46b854142bf3b5a411c. 13 October 2018, 06:08:48 UTC
86cfac4 bpo-34203: FAQ now recommends python 3.x over 2.x (GH-9796) (cherry picked from commit 4505f65ae7807f2420ed14d4f060e7cd5c4039d3) Co-authored-by: Gus Goulart <augusto@goulart.me> 12 October 2018, 12:06:12 UTC
c1fe49c bpo-34900: Make TestCase.debug() work with subtests (GH-9707) (cherry picked from commit da2bf9f66d0c95b988c5d87646d168f65499b316) Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com> 12 October 2018, 11:07:44 UTC
d918e98 bpo-31516: Skip test_main_thread_during_shutdown() with COUNT_ALLOCS builds. (GH-8052) (cherry picked from commit 65d2f8c044bf597685ba72f66cbcc6b3f7a3ee9c) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 12 October 2018, 08:54:18 UTC
f39defe Fix an incorrect check in compiler_try_except(). (GH-9810) (cherry picked from commit 53ebf4b0709f431b7262aa5daccef7eafde7383e) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 12 October 2018, 07:19:38 UTC
69e6ad6 [3.6] bpo-34922: Fix integer overflow in the digest() and hexdigest() methods (GH-9751) (GH-9798) (GH-9801) for the SHAKE algorithm in the hashlib module. (cherry picked from commit 9b8c2e767643256202bb11456ba8665593b9a500) (cherry picked from commit 8b040e55395b37bdb8fd4ec85a270cfc9ec95307) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 11 October 2018, 05:37:37 UTC
1a23abe Fix a possible decref of a borrowed reference in symtable.c. (GH-9786) (cherry picked from commit fc439d20de32b0ebccca79a96e31f83b85ec4eaf) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 11 October 2018, 05:28:08 UTC
f543e18 [3.6] bpo-33729: Fix issues with arguments parsing in hashlib. (GH-8346) (GH-8581) (GH-9657) * help(hashlib) didn't work because of incorrect module name in blake2b and blake2s classes. * Constructors blake2*(), sha3_*(), shake_*() and keccak_*() incorrectly accepted keyword argument "string" for binary data, but documented as accepting the "data" keyword argument. Now this parameter is positional-only. * Keyword-only parameters in blake2b() and blake2s() were not documented as keyword-only. * Default value for some parameters of blake2b() and blake2s() was None, which is not acceptable value. * The length argument for shake_*.digest() was wrapped out to 32 bits. * The argument for shake_128.digest() and shake_128.hexdigest() was not positional-only as intended. * TypeError messages for incorrect arguments in all constructors sha3_*(), shake_*() and keccak_*() incorrectly referred to sha3_224. Also made the following enhancements: * More accurately specified input and result types for strings, bytes and bytes-like objects. * Unified positional parameter names for update() and constructors. * Improved formatting. (cherry picked from commit f1d36d8efaecd5c84cb35e35119b283f37d83c40) (cherry picked from commit 47957dab94a4efa2fee61c9a8193f78300950769) 11 October 2018, 04:56:06 UTC
3baee3b bpo-34576 warn users on security for http.server (GH-9720) It was proposed to add an warning for http.server regarding security issues. The wording was provided at bpo-26005 by @orsenthil (cherry picked from commit 1d26c72e6a9c5b28b27c158f2f196217707dbb0f) Co-authored-by: Felipe Rodrigues <felipe@felipevr.com> 11 October 2018, 03:31:27 UTC
a14dda5 [3.6] bpo-34769: Thread safety for _asyncgen_finalizer_hook(). (GH-9716) (GH-9792) 10 October 2018, 17:25:58 UTC
e7ebf14 [3.6] bpo-34906: Doc: Fix typos (2) (GH-9735) (cherry picked from commit 683281f536981da395575b5a07d6761118259fd2) 10 October 2018, 13:39:34 UTC
482dc94 bpo-23596: Add unit tests for the command line for the gzip module (GH-9775) Add unit tests for the command line for the gzip module (cherry picked from commit 84eec1199583bcb034e43337bcb8e2b876ebd269) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be> 09 October 2018, 21:42:26 UTC
25bfb1a bpo-32962: Fix test_gdb failure in debug build with -mcet -fcf-protection -O0 (GH-9656) When Python is built with the intel control-flow protection flags, -mcet -fcf-protection, gdb is not able to read the stack without actually jumping inside the function. This means an extra 'next' command is required to make the $pc (program counter) enter the function and make the stack of the function exposed to gdb. Co-Authored-By: Marcel Plch <gmarcel.plch@gmail.com> (cherry picked from commit 9b7c74ca32d1bec7128d550a9ab1b2ddc7046287) (cherry picked from commit 79d21331e605fdc941f947621846b8563485aab6) Co-authored-by: Victor Stinner <vstinner@redhat.com> 09 October 2018, 15:20:38 UTC
64bcedc bpo-32174: Let .chm document display non-ASCII characters properly (GH-9758) Let .chm document display non-ASCII characters properly Escape the `body` part of .chm source file to 7-bit ASCII, to fix visual effect on some MBCS Windows systems. (cherry picked from commit 6261ae9b01fb8429b779169f8de37ff567c144e8) Co-authored-by: animalize <animalize@users.noreply.github.com> 08 October 2018, 21:26:44 UTC
177254c bpo-34910: Ensure that PyObject_Print() always returns -1 on error. (GH-9733) (cherry picked from commit ae62f015240c9162773341a9922794e6b960779d) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 06 October 2018, 07:06:53 UTC
22e86fb [3.7] bpo-34282: Fix Enum._convert method shadowing members named _convert (GH-9034) (GH-9229) * Fix Enum._convert shadowing members named _convert Co-authored-by: orlnub123 <orlnub123@gmail.com> 06 October 2018, 03:10:04 UTC
526929b bpo-34899: Fix a possible assertion failure due to int_from_bytes_impl() (GH-9705) The _PyLong_FromByteArray() call in int_from_bytes_impl() was unchecked. (cherry picked from commit 7bb9cd0a6766fd3e7b3c1e8f2315304ae192b34c) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 05 October 2018, 21:24:25 UTC
dd0670f Fix a compiler warning added in bpo-34872. (GH-9722). (GH-9726) (GH-9728) (cherry picked from commit addf8afb43af58b9bf56a0ecfd0f316dd60ac0c3) (cherry picked from commit d9212200fe8ddb55d73b8231869cfbb32635ba92) 05 October 2018, 19:15:36 UTC
d02490a Use assertEqual() instead of assertEquals(). (GH-9721) (GH-9725) (GH-9727) Fixes warnings in test added in bpo-34603. (cherry picked from commit 4642d5f59828e774585e9895b538b24d71b9df8e) (cherry picked from commit 6bffe50f5fff8e8a40ae32c3e9c408622a15caf6) 05 October 2018, 19:11:21 UTC
467360e bpo-34902: Fixes VM image for Azure Pipelines build (GH-9719) (cherry picked from commit 4313a293dae579f3406aa94508ff3803a79b0344) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 05 October 2018, 18:32:18 UTC
77bd606 Fix a typo ssl.py docstring (GH-9697) (#9710) (cherry picked from commit fc7d1b3b6a2be7061c000245bb1faa438e42f5d8) Co-authored-by: Matt Eaton <agnosticdev@gmail.com> 05 October 2018, 07:33:10 UTC
70a083b bpo-34871: inspect: Don't pollute sys.modules (GH-9696) (GH-9702) https://bugs.python.org/issue34871 (cherry picked from commit 6f85b826b527e240551613aeec3118a5469e3a33) Co-authored-by: INADA Naoki <methane@users.noreply.github.com> 04 October 2018, 19:26:27 UTC
166773d [3.6] bpo-34872: Fix self-cancellation in C implementation of asyncio.Task (GH-9679) (GH-9690) The C implementation of asyncio.Task currently fails to perform the cancellation cleanup correctly in the following scenario. async def task1(): async def task2(): await task3 # task3 is never cancelled asyncio.current_task().cancel() await asyncio.create_task(task2()) The actuall error is a hardcoded call to `future_cancel()` instead of calling the `cancel()` method of a future-like object. Thanks to Vladimir Matveev for noticing the code discrepancy and to Yury Selivanov for coming up with a pathological scenario. (cherry picked from commit 548ce9dedd2e90945970671d441436a6a91608ab) https://bugs.python.org/issue34872 03 October 2018, 15:28:44 UTC
6580e52 bpo-34879: Fix a possible null pointer dereference in bytesobject.c (GH-9683) formatfloat() was not checking if PyBytes_FromStringAndSize() failed, which could lead to a null pointer dereference in _PyBytes_FormatEx(). (cherry picked from commit 96c593279400693226d5a560c420ae0fcf1731b9) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 03 October 2018, 06:34:05 UTC
f1e8be7 Make it clear that the msg argument to assertWarns/assertWarnsRegex/assertRaisesRegex is keyword-only. (GH-9680) A follow up to be4e5b89204283a62e369439025f00362d0424f6. (cherry picked from commit e006b39a40e0cd6a90c68f1107853ea2ed0ed54d) Co-authored-by: Benjamin Peterson <benjamin@python.org> 03 October 2018, 04:44:18 UTC
07b96a9 bpo-34172: multiprocessing.Pool leaks resources after being deleted (GH-8450) (GH-9677) Fix a reference issue inside multiprocessing.Pool that caused the pool to remain alive if it was deleted without being closed or terminated explicitly. (cherry picked from commit 97bfe8d3ebb0a54c8798f57555cb4152f9b2e1d0) Co-authored-by: tzickel <tzickel@users.noreply.github.com> 02 October 2018, 21:36:15 UTC
58376c6 Make it clear that the msg argument to assertRaises is keyword-only. (GH-9670) (cherry picked from commit be4e5b89204283a62e369439025f00362d0424f6) Co-authored-by: Benjamin Peterson <benjamin@python.org> 02 October 2018, 05:34:20 UTC
7455bf4 closes bpo-34868: Improve error message with '_' is combined with an invalid type specifier. (GH-9666) (cherry picked from commit cbda8fc5d76b10bcbb92d927537576c229143836) Co-authored-by: Benjamin Peterson <benjamin@python.org> 02 October 2018, 05:18:13 UTC
56c1025 bpo-31865: Fix a couple of typos in the html.unescape() docs. (GH-9664) (cherry picked from commit 30534cc7172f36092e0002bb7df482edc0d539ce) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> 02 October 2018, 00:44:31 UTC
cb0bec3 bpo-34850: Replace is with == in idlelib.iomenu (GH-9649) Patch by Serhiy Storchaka (in PR GH-9642). (cherry picked from commit 5fa247d60d4f3f2b8c8ae8cb57363aca234344c2) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 30 September 2018, 21:40:56 UTC
3cd5e8e bpo-27351: Fix ConfigParser.read() documentation and docstring (GH-8123) Switch "list" with "iterable" to match with the implementation. (cherry picked from commit e45473e3ca31e5b78dc85cab575f5bb60d5b7f8f) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 29 September 2018, 16:39:39 UTC
207bb5f Fix incorrect error handling in _pickle.Unpickler.__init__() (GH-9630) _pickle.Unpickler.__init__() should return -1 if Pdata_New() fails, not 1. (cherry picked from commit 4b430e5f6954ef4b248e95bfb4087635dcdefc6d) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 29 September 2018, 06:12:35 UTC
5d33ee1 bpo-34521: Fix tests in test_multiprocessing_spawn to use correctly CMSG_SPACE (GH-9613) After some failures in AMD64 FreeBSD CURRENT Debug 3.x buildbots regarding tests in test_multiprocessing_spawn and after examining similar failures in test_socket, some errors in the calculation of ancillary data buffers were found in multiprocessing.reduction. CMSG_LEN() can often be used as the buffer size for recvmsg() to receive a single item of ancillary data, but RFC 3542 requires portable applications to use CMSG_SPACE() and thus include space for padding, even when the item will be the last in the buffer. The failures we experience are due to the usage of CMSG_LEN() instead of CMSG_SPACE(). (cherry picked from commit 077061a7b24917aaf31057885c69919c5a553c88) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 28 September 2018, 11:31:51 UTC
fe48b6d Fix tests in test_socket to use correctly CMSG_LEN (GH-9594) After some failures in AMD64 FreeBSD CURRENT Debug 3.x buildbots regarding tests in test_socket that are using testFDPassSeparateMinSpace(), FreeBDS revision 337423 was pointed out to be the reason the test started to fail. A close examination of the manpage for cmsg_space(3) reveals that the number of file descriptors needs to be taken into account when using CMSG_LEN(). This commit fixes tests in test_socket to use correctly CMSG_LEN, taking into account the number of FDs. (cherry picked from commit 7291108d88ea31d205da4db19d202d6cbffc6d93) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 27 September 2018, 13:30:55 UTC
3a4aa6a bpo-34819: Use a monotonic clock to compute timeouts in concurrent.futures (GH-9599) Use a monotonic clock to compute timeouts in :meth:`Executor.map` and :func:`as_completed`, in order to prevent timeouts from deviating when the system clock is adjusted. This may not be sufficient on all systems. On POSIX for example, the actual waiting (e.g. in ``sem_timedwait``) is specified to rely on the CLOCK_REALTIME clock. (cherry picked from commit a94ee12c26aa8dd7dce01373779df8055aff765b) Co-authored-by: orlnub123 <orlnub123@gmail.com> 27 September 2018, 11:37:33 UTC
6475c05 Post release bump 27 September 2018, 00:08:16 UTC
e05a94c Merge tag 'v3.6.7rc1' into 3.6 26 September 2018, 23:53:43 UTC
43500a5 bpo-28655: Fix test_import.test_missing_source_legacy() (GH-9589) bpo-28655, bpo-33053: test_import.test_missing_source_legacy() now removes the .pyc file that it creates to avoid leaking a file. Fix extract from commit d5d9e02dd3c6df06a8dd9ce75ee9b52976420a8b. Co-Authored-By: Nick Coghlan <ncoghlan@gmail.com> 26 September 2018, 16:09:32 UTC
dfa1113 Clarify that Type[SomeTypeVar] is legal (GH-9585) Currently, the docs state that when doing `Type[X]`, X is only allowed to be a class, a union of classes, and Any. This pull request amends that sentence to clarify X may also be a typevar (or a union involving classes, Any, and TypeVars). (cherry picked from commit 130717fe58abb2ab9e7938207df0c130a2562747) Co-authored-by: Michael Lee <michael.lee.0x2a@gmail.com> 26 September 2018, 15:23:23 UTC
3707bcf Drop confusing commented out code in pystrtod.c (GH-6072) (GH-9587) Fix the following warning: Python/pystrtod.c: In function 'format_float_short': Python/pystrtod.c:1007:13: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] strncpy(p, "ERR", 3); (cherry picked from commit 9fb84157595a385f15799e5d0729c1e1b0ba9d38) 26 September 2018, 14:44:45 UTC
d45a961 [3.6] bpo-34320: Fix dict(o) didn't copy order of dict subclass (GH-8624) (GH-9583) When dict subclass overrides order (`__iter__()`, `keys()`, and `items()`), `dict(o)` should use it instead of dict ordering. https://bugs.python.org/issue34320 (cherry picked from commit 2aaf98c16ae3070378de523a173e29644037d8bd) Co-authored-by: INADA Naoki <methane@users.noreply.github.com> https://bugs.python.org/issue34320 26 September 2018, 06:38:36 UTC
311101f 3.6.7rc1 26 September 2018, 06:35:30 UTC
adf4932 bpo-34370: Update Tk 8.6 used with macOS installers Have macOS 10.9+ installer builds for 3.7.1rc and 3.6.7rc use a development snapshot of Tk 8.6 (post-8.6.8) to mitigate certain scroller issues seen with IDLE and tkinter apps. 26 September 2018, 05:13:54 UTC
back to top