Staging
v0.8.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
5195039 bpo-33497: Add NEWS and ACKS entries. (GH-6838) (GH-6840) (cherry picked from commit d063b84d9ee435e9ae981c18faccaff5562792c3) Co-authored-by: Ned Deily <nad@python.org> 14 May 2018, 22:21:10 UTC
e8f968d bpo-33497: Add errors param to cgi.parse_multipart and make an encoding in FieldStorage use the given errors (GH-6804) (GH-6837) (cherry picked from commit 545c955be997efd6b3827b981024e6b9945d82d1) Co-authored-by: Amber Brown <hawkowl@atleastfornow.net> 14 May 2018, 22:20:06 UTC
8e633a4 bpo-20104: Remove posix_spawn from 3.7 (GH-6794) Remove os.posix_spawn, the API isn't complete and we're still figuring out how it should look. wait for 3.8. 14 May 2018, 21:52:43 UTC
c6348cf Add versionchanged in create_datagram_endpoint doc (GH-4697) Most of the parameters were added in 3.4.4 (b9bf913ab32), but this change was not documented (cherry picked from commit 0ded580403d470651a963b0915c7a52de627c45e) Co-authored-by: Romuald Brunet <romuald@chivil.com> 14 May 2018, 20:12:38 UTC
c3fa1f2 [3.7] bpo-32861: urllib.robotparser fix incomplete __str__ methods. (GH-5711) (GH-6795) The urllib.robotparser's __str__ representation now includes wildcard entries and the "Crawl-delay" and "Request-rate" fields. (cherry picked from commit bd08a0af2d88c590ede762102bd42da3437e9980) Co-authored-by: Michael Lazar <lazar.michael22@gmail.com> 14 May 2018, 18:14:30 UTC
67d1968 Remove `ifdef` check for an OpenSSL version (0.9.6) we don't support (GH-6807) (cherry picked from commit f04224210d93212bd9ad17d67ef5e1c70171a13e) Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com> 14 May 2018, 17:45:45 UTC
ceb45f0 bpo-33494: Change dataclasses.Fields repr to use the repr of each of its members (GH-6798) (cherry picked from commit 2473eea65d592a80a5362a00362738a33196aba1) Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com> 14 May 2018, 17:31:10 UTC
050e041 bpo-22069: Update TextIO documentation (GH-6609) Clarify that flush is implied when the call to write contains a newline character. (cherry picked from commit 7ffd4c58fae08b29259eebd6cbcd2287820b14e8) Co-authored-by: Elena Oat <oat.elena@gmail.com> 14 May 2018, 16:08:53 UTC
2e01f7d bpo-32601: Let test_expanduser use the same user if no others found. (GH-5246) This happens in the NixOS build sandbox, for example, where the only other user is nobody with home directory /. (cherry picked from commit 5c0d462689e1a69537eaeba6ab94e3ff3524fc31) Co-authored-by: Anders Kaseorg <andersk@mit.edu> 14 May 2018, 14:22:05 UTC
f1ee4a2 [3.7] bpo-33488: Satisfy markdownlint for the pull request template. (GH-6786) ./.github/PULL_REQUEST_TEMPLATE.md:8: MD031 Fenced code blocks should be surrounded by blank lines ./.github/PULL_REQUEST_TEMPLATE.md:10: MD031 Fenced code blocks should be surrounded by blank lines ./.github/PULL_REQUEST_TEMPLATE.md:19: MD031 Fenced code blocks should be surrounded by blank lines ./.github/PULL_REQUEST_TEMPLATE.md:21: MD031 Fenced code blocks should be surrounded by blank lines. (cherry picked from commit 5cd22cf2097a6dd209999cf97858d54564a3be87) Co-authored-by: Eitan Adler <grimreaper@users.noreply.github.com> 14 May 2018, 01:26:58 UTC
8ed545f bpo-28055: Fix unaligned accesses in siphash24(). (GH-6123) The hash implementation casts the input pointer to uint64_t* and directly reads from this, which may cause unaligned accesses. Use memcpy() instead so this code will not crash with SIGBUS on sparc. https://bugs.gentoo.org/show_bug.cgi?id=636400 (cherry picked from commit 1e2ec8a996daec65d8d5a3d43b66a9909c6d0653) Co-authored-by: Rolf Eike Beer <eike@sf-mail.de> 13 May 2018, 11:17:07 UTC
6e9456e bpo-33455: Pass os.environ in test_posix::test_specify_environment. (GH-6753) Pass os.environ's copy to new process created at test_posix: test_specify_environment. Otherwise important variables such as LD_LIBRARY_PATH are not set and the child process might not work at all in an environment where such variables are required for Python to function. (cherry picked from commit 7ec8f28656ea9d84048e9b5655375c6a74a59f53) Co-authored-by: Miro Hrončok <miro@hroncok.cz> 11 May 2018, 06:01:44 UTC
c5444b3 Fix a bug in Generic.__new__ (GH-6758) (cherry picked from commit b551e9f0ff25018a5606465003e2c51c04f693a3) Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com> 11 May 2018, 03:30:47 UTC
22df418 bpo-26701: Tweak the documentation for special methods in int(). (GH-6741) (cherry picked from commit df00f048250b9a07195b0e3b1c5c0161fdcc9db8) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 10 May 2018, 14:38:06 UTC
8ffff34 bpo-13525: Fix incorrect encoding name in the tutorial example. (GH-6738) (cherry picked from commit ddb6215a55b0218b621d5cb755e9dfac8dab231a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 09 May 2018, 08:54:38 UTC
c587235 Fix superfluous if in documentation. (GH-6728) (cherry picked from commit b3c369861b22268dac003eb995951726c972e5ee) Co-authored-by: Julien Palard <julien@palard.fr> 09 May 2018, 08:10:02 UTC
a0ff519 Fix typo in __mul__ and __rmul__ docstring (GH-6674) (cherry picked from commit 0904f766e116c269675317e11368a4d29eef0bc6) Co-authored-by: Grant Jenks <grant.jenks@gmail.com> 09 May 2018, 05:49:47 UTC
263523a closes bpo-33445: fail properly in test_cprofile() (GH-6727) (cherry picked from commit ac9240b9be31d073d1b2e50ce53481ff0fc9ed23) Co-authored-by: jdemeyer <jdemeyer@cage.ugent.be> 09 May 2018, 04:38:00 UTC
3c28a63 bpo-28556: Minor fixes for typing module (GH-6732) This also fixes https://bugs.python.org/issue33420 (cherry picked from commit 43d12a6bd82bd09ac189069fe1eb40cdbc10a58c) Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com> 09 May 2018, 01:44:09 UTC
101d0d5 bpo-32717: Document PEP 560 (GH-6726) (cherry picked from commit bd5f96581bf23f6d05fc106996428a8043b6b084) Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com> 08 May 2018, 18:52:36 UTC
6049bda [3.7] bpo-20087: Update locale alias mapping with glibc 2.27 supported locales. (GH-6708) (GH-6713) (cherry picked from commit cedc9b74202d8c1ae39bca261cbb45d42ed54d45) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 06 May 2018, 07:20:12 UTC
351782b bpo-33422: Fix quotation marks getting deleted when looking up byte/string literals on pydoc. (GH-6701) Also update the list of string prefixes. (cherry picked from commit b2043bbe6034b53f5ad337887f4741b74b70b00d) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 05 May 2018, 16:42:56 UTC
6a56790 bpo-33391: Fix refleak in set_symmetric_difference (GH-6670) (cherry picked from commit 491bbedc209fea314a04cb3015da68fb0aa63238) Co-authored-by: lekma <lekmalek@gmail.com> 02 May 2018, 09:50:48 UTC
01e19f8 bump to 3.7.0b4+ 02 May 2018, 09:01:31 UTC
eb96c37 3.7.0b4 02 May 2018, 07:41:45 UTC
3c5d3f5 Enable the verbose build for extension modules with GNU make (GH-6659) (#6662) (cherry picked from commit 10f715d71218ece737f990fa55027b8e1120cc3a) Co-authored-by: Matthias Klose <doko42@users.noreply.github.com> 02 May 2018, 06:57:24 UTC
9da7ee4 bpo-33393: Update config.guess and config.sub files (GH-6658) (#6661) (cherry picked from commit 7e3545c70cdecd86ffa8fcbffd79b4f78560679f) Co-authored-by: Matthias Klose <doko42@users.noreply.github.com> 02 May 2018, 06:54:51 UTC
50903bf Mitigate macOS race condition in installer build (GH-6686) (GH-6687) (cherry picked from commit fc6aa28bfd0502d994cec30bd3679b7def3be2af) Co-authored-by: Ned Deily <nad@python.org> 02 May 2018, 05:45:59 UTC
1470e43 bpo-33290: Have macOS installer remove "pip" alias (GH-6683) (GH-6684) Currently, "pip3 install --upgrade pip" unconditionally installs a "pip" alias even for Python 3. If a user has an existing Python 3.x installed from a python.org macOS installer and then subsequently manually updates to a new version of pip, there may now be a stray "pip" alias in the Python 3.x framework bin directory which can cause confusion if the user has both a Python 2.7 and 3.x installed; if the Python 3.x fw bin directory appears early on $PATH, "pip" might invoke the pip3 for the Python 3.x rather than the pip for Python 2.7. To try to mitigate this, the macOS installer script for the ensurepip option will unconditionally remove "pip" from the 3.x framework bin directory being updated / installed. (The ambiguity can be avoided by using "pythonx.y -m pip".) (cherry picked from commit 0dd80709b5dc03756e7f4510761ae60236bb9f6d) Co-authored-by: Ned Deily <nad@python.org> 02 May 2018, 05:43:59 UTC
d74f353 bpo-33281: NEWS and ACK (GH-6681) (GH-6682) (cherry picked from commit 69a013ec189f93a0dea97cfdbb3adc348648a666) Co-authored-by: Ned Deily <nad@python.org> 02 May 2018, 02:52:42 UTC
c74ca53 bpo-33281: Fix ctypes.util.find_library regression on macOS (GH-6625) (GH-6680) (cherry picked from commit d06d345f04b3f7e5b318df69b1d179328a64ca9c) Co-authored-by: Ray Donnelly <mingw.android@gmail.com> 02 May 2018, 02:51:31 UTC
0596f31 bpo-33377: add triplets for mips-r6 and riscv (GH-6655) (GH-6660) (cherry picked from commit ddbe976964933cb943c6383a776e800cc7e0f47d) Co-authored-by: Matthias Klose <doko42@users.noreply.github.com> 01 May 2018, 14:40:17 UTC
77fa783 bpo-20104: Improve error handling and fix a reference leak in os.posix_spawn(). (GH-6332) (cherry picked from commit ef347535f289baad22c0601e12a36b2dcd155c3a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 01 May 2018, 14:18:44 UTC
e4eeb6e bpo-31908: Fix output of cover files for trace module command-line tool. (GH-4205) Previously emitted cover files only when --missing option was used. (cherry picked from commit 47ab15470d72367694d7758004067313ae022f0e) Co-authored-by: Michael Selik <mike@selik.org> 01 May 2018, 04:06:00 UTC
8075868 bpo-33352: Skip test_regrtest test if rt.bat does not exist (GH-6654) (#6656) (cherry picked from commit c3b7a6dfb9c7e69093c9fe78ab587e14743e5152) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 30 April 2018, 20:36:49 UTC
2e5fa38 bpo-33254: do not return an empty list when asking for the contents of a namespace package (GH-6467) (cherry picked from commit 3ab9365dca8438f89b2060cd3eebe00606133dc4) Co-authored-by: Brett Cannon <brettcannon@users.noreply.github.com> 30 April 2018, 19:30:26 UTC
887b5f8 bpo-21474: Update IDLE word/identifier definition from ascii to unicode. (GH-6643) In text and entry boxes, this affects selection by double-click, movement left/right by control-left/right, and deletion left/right by control-BACKSPACE/DEL. (cherry picked from commit 5ff3a161c8a6b525c5e5b3e36e9c43f5a95bda60) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 30 April 2018, 07:27:50 UTC
736f17f bpo-33256: Replace angle brackets around python object repr to display it in html (GH-6442) (cherry picked from commit 7d68bfa82654ba01d860b8a772ff63bf0bd183ee) Co-authored-by: sblondon <sblondon@users.noreply.github.com> 29 April 2018, 19:10:12 UTC
cebce2e bpo-32362: Fix references to non-existent multiprocessing.Connection() (GH-6223) (cherry picked from commit 9f3535c9cde8813ce631d6ebe4d790682f594828) Co-authored-by: Bo Bayles <bbayles@gmail.com> 29 April 2018, 19:09:34 UTC
e57d3e3 bpo-31026: Fix test_dbm if dbm.ndbm is build with Berkeley DB. (GH-6632) (cherry picked from commit 70af06cdc4e8fbee0b9d7d46bdc193097d4bc71f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 29 April 2018, 13:37:21 UTC
ee95feb [3.7] bpo-33383: Fix crash in get() of the dbm.ndbm database object. (GH-6630) (GH-6631) (cherry picked from commit 2e38cc39330bd7f3003652869b644110a97a78d8) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 29 April 2018, 11:50:26 UTC
1487c37 bpo-33378: Add Korean to the language switcher. (GH-6627) (cherry picked from commit 577948329976985ea9bef23d9a6c3dd7108211bf) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> 28 April 2018, 20:23:45 UTC
b94d739 Change "non-local state" to "content-local state". (GH-6617) The wording here seems wrong, as per https://bugs.python.org/msg315792 (cherry picked from commit e022bbc169ca1428dc3017187012de17ce6e0bc7) Co-authored-by: Tom Christie <tom@tomchristie.com> 27 April 2018, 22:57:59 UTC
a93a663 [3.7] bpo-33363: raise SyntaxError for async for/with outside async functions (GH-6616). (GH-6619) 27 April 2018, 22:33:37 UTC
dd3ede7 bpo-33358: Fix test_embed.test_pre_initialization_sys_options (GH-6612) Fix test_embed.test_pre_initialization_sys_options() when building with --enable-shared (cherry picked from commit 4114846265536344538ae44cb8ffd8ce2903faf7) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 27 April 2018, 12:41:25 UTC
291c9d4 bpo-33330: Improve error handling in PyImport_Cleanup(). (GH-6564) (cherry picked from commit e9d9494d6b2a5e0c2d48d22c7f0d5e95504b4f7e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 25 April 2018, 18:32:52 UTC
53d36cc bpo-33280: Reorganize external Tcl/Tk references. (GH-6473) (cherry picked from commit 67a8f4fed3169e1b8c947c10f6e06863e399ae32) Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com> 25 April 2018, 18:30:58 UTC
6a1799e bpo-33314: Fix rendering issues in the documentation for the os module (GH-6525) (GH-6597) (cherry picked from commit d6ef6db9ff780efb2cd502a54ca208afbe84af9c) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 25 April 2018, 18:30:43 UTC
1985849 Mention both relevant PEPs in function annotations tutorial (GH-6304) Patch by Neeraj Badlani. (cherry picked from commit 643ff711faf417fc3428897dc7d36250ad2cb0e5) Co-authored-by: Neeraj Badlani <neerajbadlani@gmail.com> 25 April 2018, 18:04:49 UTC
52a5a17 bpo-33128 Fix duplicated call to importlib._install_external_importers (GH-6273) External importers were being added in both phases of the import system initialisation. They're only supposed to be added in the second phase, after the import machinery has been appropriately configured. (cherry picked from commit 0977091dca59709864b14cfc129388f1f0de7bf7) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 25 April 2018, 02:48:04 UTC
75a3e3d bpo-33329: Fix multiprocessing regression on newer glibcs (GH-6575) (GH-6579) Starting with glibc 2.27.9000-xxx, sigaddset() can return EINVAL for some reserved signal numbers between 1 and NSIG. The `range(1, NSIG)` idiom is commonly used to select all signals for blocking with `pthread_sigmask`. So we ignore the sigaddset() return value until we expose sigfillset() to provide a better idiom. (cherry picked from commit 25038ecfb665bef641abf8cb61afff7505b0e008) Co-authored-by: Antoine Pitrou <pitrou@free.fr> 23 April 2018, 19:42:26 UTC
9fc998d bpo-991266: Fix quoting of Comment attribute of SimpleCookie (GH-6555) (cherry picked from commit d5a2377c3d70e4143bcbee4a765b3434e21f683a) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> 23 April 2018, 00:58:23 UTC
f900503 bpo-33297: Mention Pillow to work with more image formats. (GH-6505) Also update PIL doc references to Pillow. (cherry picked from commit b81ca28b378c8b29204a37f8bd433a3379f53f7d) Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com> 21 April 2018, 13:03:49 UTC
3e0d23c Clarify that __path__ can't be just any value (GH-6554) (cherry picked from commit 441d945eb33f8dc130b268ebfa11315b98a2433c) Co-authored-by: Brett Cannon <brettcannon@users.noreply.github.com> 20 April 2018, 23:45:14 UTC
3295529 Spelling fixes to docs, docstrings, and comments (GH-6374) (cherry picked from commit 61f82e0e337f971da57f8f513abfe693edf95aa5) Co-authored-by: Ville Skyttä <ville.skytta@iki.fi> 20 April 2018, 21:00:41 UTC
b221107 bpo-33131: Upgrade ensurepip to bundle pip 10.0.1 (GH-6546) Upgrade ensurepip to bundle pip 10.0.1 (cherry picked from commit 0399cf9b5e370516e3d0aed6a63ff74aff5eadb5) Co-authored-by: Paul Moore <p.f.moore@gmail.com> 20 April 2018, 20:47:44 UTC
11659d0 bpo-33312: update Tools/gdb/libpython.py to match. (GH-6549) (cherry picked from commit 53f67d401df40486fd0fb8fbcf9da725cd37290c) 20 April 2018, 20:02:30 UTC
392520b bpo-33312: Fix clang ubsan out of bounds warnings in dict. (GH-6537) (GH-6543) Fix clang ubsan (undefined behavior sanitizer) warnings in dictobject.c by adjusting how the internal struct _dictkeysobject shared keys structure is declared. This remains ABI compatible. We get rid of the union at the end of the struct being used for conveinence to avoid typecasting in favor of char[] variable length array at the end of a struct. This is known to clang to be used for variable sized objects and will not cause an undefined behavior problem. Similarly, char arrays do not have strict aliasing undefined behavior when cast. PEP-007 does not currently list variable length arrays (VLAs) as allowed in our subset of C99. If this turns out to be a problem, the fix to this is to change the char `dk_indices[]` into `dk_indices[1]` and restore the three size computation subtractions this change removes: `- Py_MEMBER_SIZE(PyDictKeysObject, dk_indices)` If this works as is I'll make a separate PR to update PEP-007. (cherry picked from commit 397f1b28c4a12e3b3ed59a89599eabc457412649) 20 April 2018, 17:06:21 UTC
18cd828 bpo-32232: by default, Setup modules are no longer built with -DPy_BUILD_CORE (GH-6489) Setup modules are no longer built with -DPy_BUILD_CORE by default, as using that flag may now require including additional internal-only header files. Instead, only the modules that specifically need it use that setting. (cherry picked from commit 063db62aab4041ac47798e7e48b27b2f2bef21c5) Co-authored-by: xdegaye <xdegaye@gmail.com> 20 April 2018, 15:39:18 UTC
dc654c5 Clean up the readme text around PGO a bit. (GH-6538) (GH-6539) (cherry picked from commit b87c1c92fc93c5733cd3d8606ab2301ca6ba208f) Co-authored-by: Gregory P. Smith <greg@krypto.org> 19 April 2018, 16:14:36 UTC
a4fb580 bpo-33189: pygettext.py now accepts only literal strings (GH-6364) as docstrings and translatable strings, and rejects bytes literals and f-string expressions. (cherry picked from commit 69524821a87251b7aee966f6e46b3810ff5aaa64) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 19 April 2018, 06:49:15 UTC
198c0c0 Update What's new in 3.7 to reference preadv, pwritev and posix_spawn (GH-6524) (cherry picked from commit 9009f3e389123c5f94d4d12f1f51b0a88531c37c) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 19 April 2018, 05:26:41 UTC
b27c71c bpo-33308: Fix a crash in the parser module when convert an ST object. (GH-6519) Converting with line_info=False and col_info=True crashed before. (cherry picked from commit e5362eaa75a154c6e91c5b1c47719d0a0f5ca48b) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 19 April 2018, 05:10:36 UTC
67067d8 bpo-31583: Fix 2to3 for using with --add-suffix option (GH-3758) (#6528) (cherry picked from commit e3a523a0fa16aec880880928303bfcbd1fb74bc2) Co-authored-by: Denis Osipov <osipov_d@list.ru> 19 April 2018, 00:15:09 UTC
b88f737 bpo-33283: Mention PNG as a supported format by Tcl/Tk. (GH-6479) (cherry picked from commit 4b685bf7192fff48c8effeeae4f4d64f9420ec0f) Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com> 18 April 2018, 18:16:46 UTC
3b3be1f bpo-11594: Ensure line-endings are respected when using 2to3 (GH-6483) (cherry picked from commit c127a86e1862df88ec6f9d15b79c627fc616766e) Co-authored-by: Aaron Ang <aaronang@users.noreply.github.com> 17 April 2018, 21:58:34 UTC
902bb62 bpo-33205: dict: Change GROWTH_RATE to `used*3` (GH-6350) (cherry picked from commit 5fbc511f56688654a05b9eba23d140318bb9b2d5) Co-authored-by: INADA Naoki <methane@users.noreply.github.com> 17 April 2018, 17:17:19 UTC
ed12655 Fix spelling typo (GH-6443) (GH-6507) (cherry picked from commit 28e8b66d6c632552765b5fb4573b7f3c9decc3c1) Co-authored-by: jdemeyer <jdemeyer@cage.ugent.be> 17 April 2018, 15:40:48 UTC
f7379dd bpo-33295: Skip test using missing external site (GH-6504) (GH-6509) `test_urllib2net.OtherNetworkTests.test_sites_no_connection_close` used `http://www.imdb.com/` but it is moved to https so the test is not valid anymore. Skip test for the moment to allow CI to proceed. (cherry picked from commit 36d56ea826caffbeac0fc0c6d90248b80516e33c) Co-authored-by: INADA Naoki <methane@users.noreply.github.com> 17 April 2018, 15:33:48 UTC
7899153 fix pydoc-topics to work with Sphinx 1.7 (GH-6475) In fact, we now require a newer Sphinx version because APIs have moved around. (cherry picked from commit acfb087f9f5590e5174a30eced3c2fe911f49d70) Co-authored-by: Benjamin Peterson <benjamin@python.org> 17 April 2018, 06:32:43 UTC
3b4e756 Revert 725476222a3c1f2f93162d75a540e6bcdeaa36fd (GH-6494) (GH-6495) This note in documentation was never true. (cherry picked from commit a00d440edb4ccf36c83673a0fb172b29c76a66e6) Co-authored-by: Łukasz Langa <lukasz@langa.pl> 17 April 2018, 03:35:06 UTC
237148e acks += Zsolt Dollenstein (GH-6490) (GH-6492) (cherry picked from commit 2bea9476286ad8e2e87bf0415ff743b1487c5018) Co-authored-by: Łukasz Langa <lukasz@langa.pl> 17 April 2018, 00:26:25 UTC
dd6bdf6 Add support for all string literals to lib2to3 (GH-6457) (GH-6488) (cherry picked from commit 8f37e846646444d84daf95787f4a0fa2b2316754) Co-authored-by: Zsolt Dollenstein <zsol.zsol@gmail.com> 16 April 2018, 22:16:57 UTC
3bcca48 bpo-31947: remove None default for names param in Enum._create_ (GH-4288) (cherry picked from commit b8e21f12891382bc0aac5ccd13dcb4a990d65e0a) Co-authored-by: anentropic <ego@anentropic.com> 16 April 2018, 20:49:34 UTC
f20eca7 Remove to-be-deprecated urllib.request.urlretrieve function reference (GH-6454) (cherry picked from commit c89b22175807d64c47b598163b804b5dc005d1bb) Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com> 16 April 2018, 14:16:20 UTC
986eaa8 bpo-33185: Improve wording and markup (GH-6477) Adds some working and markup fixes that I missed in the initial commit for this issue. (Follow-up to GH-6419) (cherry picked from commit 1a5c4bdb6ecc6a8b19ff33bde323ab188ed60977) Co-authored-by: Nick Coghlan <ncoghlan@gmail.com> 15 April 2018, 13:55:10 UTC
d7ffa58 bpo-33185: Fix regression in pydoc CLI sys.path handling (GH-6419) The pydoc CLI assumed -m pydoc would add the empty string to sys.path, and hence got confused when it switched to adding the full initial working directory instead. This refactors the pydoc CLI path manipulation to be more testable, and ensures it won't accidentally remove the standard library directory containing pydoc itself from sys.path. (cherry picked from commit 82a948105920100ca2ec5c2340bc3890adcfe778) Co-authored-by: Nick Coghlan <ncoghlan@gmail.com> 15 April 2018, 12:17:13 UTC
df958ff bpo-33184: Update Windows installer to OpenSSL 1.1.0h (GH-6463) (cherry picked from commit b1dc07509f78b354e83f5f4a902f1ff80c7bb05d) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 14 April 2018, 00:52:02 UTC
3715176 [3.7] bpo-33217: deprecate non-Enum lookups in Enums (GH-6392) deprecate non-Enum lookups in Enums Lookups such as `1 in Color` and `2 in SomeFlag()` will raise TypeError in 3.8+. 12 April 2018, 01:56:25 UTC
cbbf746 Fix error messages in argparse examples (GH-6435) The examples in argparse documentation use `error: too few arguments` error message which was removed in this commit f97c59a in 2011. (cherry picked from commit 04e82934659487ecae76bf4a2db7f92c8dbe0d25) Co-authored-by: suic86 <marko.gabriel.cz@gmail.com> 11 April 2018, 18:58:09 UTC
4dc3c8f bpo-33260: Regenerate token.py after removing ASYNC and AWAIT. (GH-6447) (cherry picked from commit d08972fdb92cad6b813d22205752c97ea18df060) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 11 April 2018, 17:07:23 UTC
b262659 bpo-33097: Fix submit accepting callable after executor shutdown by interpreter exit (GH-6144) (GH-6445) Executors in concurrent.futures accepted tasks after executor was shutdown by interpreter exit. Tasks were left in PENDING state forever. This fix changes submit to instead raise a RuntimeError. (cherry picked from commit c4b695f85e141f57d22d8edf7bc2c756da136918) Co-authored-by: Mark Nemec <mrknmc@me.com> 10 April 2018, 18:35:02 UTC
9bb8ceb bpo-33253: Fix xxsubtype.bench() to accept correct str signature. (GH-6439) (cherry picked from commit f178028f37c9dafb72608b719eb03e5a70af4ff5) Co-authored-by: Devon R <Gorialis@users.noreply.github.com> 10 April 2018, 06:00:57 UTC
71a3837 [3.7] bpo-31201: Clarify command to re-run failing test(s) with example (GH-6417) (GH-6437) (cherry picked from commit 0f914b5b5f6ba186afd7112fc851c97247076f70) Co-authored-by: Aaron Ang <aaronang@users.noreply.github.com> 09 April 2018, 21:17:20 UTC
b0f387d [3.7] bpo-33031: Remove dead code in C implementation of OrderedDict. (GH-6120) (GH-6433) This code doesn't have effect on the final result, but causes GCC 8 warnings and can have an undefined behavior. (cherry picked from commit 827d49f3cf0296f1e267eae6834a977cf312cc1e) 09 April 2018, 18:46:41 UTC
9b25bd6 bpo-31920: Fixed handling directories as arguments in the ``pygettext`` script. (GH-6259) Based on patch by Oleg Krasnikov. (cherry picked from commit c93938b5beea4c3f592119ebee6d4029558db8de) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 09 April 2018, 17:57:52 UTC
558e7e4 Fix misleading docsting of shelve.open(). (GH-6427) The protocol parameter can be any protocol supported by the pickle module. (cherry picked from commit 2ef65f346a5e829a886c075f519e3a49a2ebbde7) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 09 April 2018, 14:57:31 UTC
b571958 Improve highlighting of some code blocks. (GH-6401) (cherry picked from commit 46936d5a71d1683dbd8ddb6d7f39aab50ecfec50) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 09 April 2018, 14:56:44 UTC
d964f51 Update docstring of tempfile._RandomNameSequence (GH-6414) When bpo-12015 got resolved by increasing the length of the random string generated by _RandomNameSequence from six to eight characters, the docstring of the class was not adjusted accordingly. (cherry picked from commit 9c463ec88ba21764f6fff8e01d6045a932a89438) Co-authored-by: Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> 09 April 2018, 01:01:54 UTC
8a72266 Add a prepend() recipe to teach a chain() idiom (GH-6415) (GH-6421) (cherry picked from commit 9265dd72e5ec1cfa5fcdb5be8ebffe1d9994bd4b) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 08 April 2018, 21:37:30 UTC
31f1b52 bpo-33201: Modernize "Extension types" doc (GH-6337) (GH-6411) * bpo-33201: Modernize "Extension types" doc * Split tutorial and other topics * Some small fixes * Address some review comments * Rename noddy* to custom* and shoddy to sublist * Fix markup (cherry picked from commit 1d80a561734b9932961c546b0897405a3bfbf3e6) Co-authored-by: Antoine Pitrou <pitrou@free.fr> 07 April 2018, 16:27:05 UTC
12d1dcd bpo-33184: Update macOS installer build to use OpenSSL 1.1.0h. (GH-6407) (GH-6409) (cherry picked from commit b405752dab95fa5dc65a19d94e798844d0378c61) Co-authored-by: Ned Deily <nad@python.org> 07 April 2018, 07:02:40 UTC
98e8ac8 [3.7] bpo-8243: Doc patch for curses.window.addstr and curses.window.addch (GH-5179) (GH-6404) (cherry picked from commit ef5ce884a41c8553a7eff66ebace908c1dcc1f89) Co-authored-by: Jay Crotts <crotts.jay@gmail.com> 07 April 2018, 02:00:06 UTC
a09bb87 [3.7] bpo-33169: Remove values of `None` from sys.path_importer_cache when invalidating caches (GH-6402) (GH-6403) An entry of None in sys.path_importer_cache represents a negative/missing finder for a path, so clearing it out makes sense. (cherry picked from commit 9e2be60634914f23db2ae5624e4acc9335bf5fea) 07 April 2018, 00:02:18 UTC
3c193cf [3.7] bpo-29673: fix gdb scripts pystack and pystackv (GH-6126) (GH-6399) (cherry picked from commit 3a9ccee0e5dbf7d67f5ab79f6095755969db117c) Co-authored-by: Marcel Plch <gmarcel.plch@gmail.com> 06 April 2018, 22:14:29 UTC
252f10c fixed capitalization of class name (GH-6396) (GH-6397) (cherry picked from commit 1d87c7b80bf74a3030034a022a7a54ea4e3cdaff) Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com> 06 April 2018, 12:46:05 UTC
64421d9 bpo-33231: Fix potential leak in normalizestring() (GH-6386) (cherry picked from commit 0c1c4563a65ac451021d927058e4f25013934eb2) Co-authored-by: INADA Naoki <methane@users.noreply.github.com> 06 April 2018, 07:12:38 UTC
28c1790 bpo-33224: PEP 479 fix for difflib.mdiff() (GH-6381) (GH-6390) 05 April 2018, 18:45:33 UTC
baf304e bpo-33203: Ensure random.choice always raises IndexError on empty sequence (GH-6338) (GH-6387) (cherry picked from commit 091e95e9004b794280ab35becec2c3e30dd5e96e) Co-authored-by: Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> 05 April 2018, 16:02:12 UTC
83f564f Clean up and enhance frozen dataclass tests. (GH-6380) * Add a test for frozen with unhashable field value. * Improve a comment. (cherry picked from commit 74940913d26d9f94b8572eca794369841fa6d9b6) Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com> 05 April 2018, 11:12:31 UTC
back to top