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

sort by:
Revision Author Date Message Commit Date
cb8de91 bpo-14050: Note that not all data can be sorted (GH-15381) (GH-15395) (cherry picked from commit 4109263a7edce11194e301138cf66fa2d07f7ce4) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 22 August 2019, 16:39:52 UTC
2878f37 bpo-27961: Remove leftovers from the times when long long wasn't required (GH-15388) (cherry picked from commit a38e9d139929a227e3899fbb638bc46c6cc6d8ba) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> 22 August 2019, 15:59:18 UTC
8ede967 Add missing space to warning message (GH-14915) (GH-15379) This typo was introduced in GH-13409 when changing the message text. (cherry picked from commit c4106af38bbcb180725fe0d9478e6a11f7a5e7b9) Co-authored-by: Florian Bruhin <me@the-compiler.org> 22 August 2019, 06:30:26 UTC
967d625 bpo-37834: Fix test on Windows 7 (GH-15377) (cherry picked from commit 374be59b8e479afa8c7a8ae6e77e98915e2f6d45) Co-authored-by: Steve Dower <steve.dower@python.org> 22 August 2019, 01:01:22 UTC
a50d2f7 bpo-9949: Call normpath() in realpath() and avoid unnecessary prefixes (GH-15376) 22 August 2019, 00:23:38 UTC
f93c15a bpo-36311: Fixes decoding multibyte characters around chunk boundaries and improves decoding performance (GH-15083) (cherry picked from commit 7ebdda0dbee7df6f0c945a7e1e623e47676e112d) Co-authored-by: Steve Dower <steve.dower@python.org> 21 August 2019, 23:53:56 UTC
9eb3d54 bpo-37834: Normalise handling of reparse points on Windows (GH-15370) bpo-37834: Normalise handling of reparse points on Windows * ntpath.realpath() and nt.stat() will traverse all supported reparse points (previously was mixed) * nt.lstat() will let the OS traverse reparse points that are not name surrogates (previously would not traverse any reparse point) * nt.[l]stat() will only set S_IFLNK for symlinks (previous behaviour) * nt.readlink() will read destinations for symlinks and junction points only bpo-1311: os.path.exists('nul') now returns True on Windows * nt.stat('nul').st_mode is now S_IFCHR (previously was an error) 21 August 2019, 22:52:42 UTC
c30c869 bpo-9949: Enable symlink traversal for ntpath.realpath (GH-15287) (cherry picked from commit 75e064962ee0e31ec19a8081e9d9cc957baf6415) Co-authored-by: Steve Dower <steve.dower@python.org> 21 August 2019, 21:09:33 UTC
7e293f5 Fix difflib `?` hint in diff output when dealing with tabs (GH-15201) (cherry picked from commit e1c638da6a065af6803028ced1afcc679e63f59d) Co-authored-by: Anthony Sottile <asottile@umich.edu> 21 August 2019, 19:18:26 UTC
349d897 Update asyncio.ensure_future() documentation (GH-15347) (GH-15364) Added back mention that ensure_future actually scheduled obj. This documentation just mentions what ensure_future returns, so I did not realize that ensure_future also schedules obj. (cherry picked from commit 092911d5c0d8f6db8a0cb02fecd73dbb650f9e2e) Co-authored-by: Roger Iyengar <ri@rogeriyengar.com> 21 August 2019, 17:20:49 UTC
c777dec bpo-37823: Fix open() link in telnetlib doc (GH-15281) Fixed wrong link to Telnet.open() method in telnetlib documentation. (cherry picked from commit e0b6117e2723327d6741d0aa599408514add5b30) Co-authored-by: Michael Anckaert <michael.anckaert@sinax.be> 21 August 2019, 11:38:04 UTC
44f2c09 bpo-35518: Skip test that relies on a deceased network service. (GH-15349) If this service had thoroughly vanished, we could just ignore the test until someone gets around to either recreating such a service or redesigning the test to somehow work locally. The `support.transient_internet` mechanism catches the failure to resolve the domain name, and skips the test. But in fact the domain snakebite.net does still exist, as do its nameservers -- and they can be quite slow to reply. As a result this test can easily take 20-30s before it gets auto-skipped. So, skip the test explicitly up front. (cherry picked from commit 5b95a1507e349da5adae6d2ab57deac3bdd12f15) Co-authored-by: Greg Price <gnprice@gmail.com> 21 August 2019, 04:08:57 UTC
30e5aff bpo-37732: Fix GCC warning in _PyObject_Malloc() (GH-15333) (GH-15342) pymalloc_alloc() now returns directly the pointer, return NULL on memory allocation error. allocate_from_new_pool() already uses NULL as marker for "allocation failed". (cherry picked from commit 18f8dcfa10d8a858b152d12a9ad8fa83b7e967f0) 20 August 2019, 12:44:32 UTC
1271ee8 bpo-37868: Improve is_dataclass for instances. (GH-15325) (cherry picked from commit b0f4dab8735f692bcfedcf0fa9a25e238a554bab) Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com> 20 August 2019, 05:59:21 UTC
9aa0ab1 Remove 'unstable' warning for Windows Store package in docs (GH-15334) (cherry picked from commit cf9360e524acafdce99a8a1e48947fd7da06f3d4) Co-authored-by: Steve Dower <steve.dower@python.org> 19 August 2019, 17:14:31 UTC
8c1c426 bpo-36502: Correct documentation of str.isspace() (GH-15019) (GH-15296) The documented definition was much broader than the real one: there are tons of characters with general category "Other", and we don't (and shouldn't) treat most of them as whitespace. Rewrite the definition to agree with the comment on _PyUnicode_IsWhitespace, and with the logic in makeunicodedata.py, which is what generates that function and so ultimately governs. Add suitable breadcrumbs so that a reader who wants to pin down exactly what this definition means (what's a "bidirectional class" of "B"?) can do so. The `unicodedata` module documentation is an appropriate central place for our references to Unicode's own copious documentation, so point there. Also add to the isspace() test a thorough check that the implementation agrees with the intended definition. 19 August 2019, 09:53:22 UTC
786a4e1 bpo-36266: Add module name in ImportError when DLL not found on Windows (GH-15180) (cherry picked from commit 24fe46081be3d1c01b3d21cb39bc3492ab4485a3) Co-authored-by: shireenrao <shireenrao@gmail.com> 17 August 2019, 21:11:28 UTC
7309cca [3.8] fix link to time function from time_ns doc (GH-15285) (GH-15321) Because mod, func, class, etc all share one namespace, :func:time creates a link to the time module doc page rather than the time.time function. (cherry picked from commit 1b1d0514adbcdd859817c63d1410455c64660d78) Co-authored-by: Éric Araujo <merwok@netwok.org> Automerge-Triggered-By: @merwok 17 August 2019, 20:51:57 UTC
f991912 bpo-37256: Wording in Request class docs (GH-14792) * bpo-37256: Wording in Request class docs * 📜🤖 Added by blurb_it. * Update Misc/NEWS.d/next/Documentation/2019-07-16-14-48-12.bpo-37256.qJTrBb.rst Co-Authored-By: Kyle Stanley <aeros167@gmail.com> (cherry picked from commit 38c7199beb30ae9a5005c0f0d9df9fae0da3680a) Co-authored-by: Ngalim Siregar <ngalim.siregar@gmail.com> 16 August 2019, 08:27:35 UTC
27b38b9 bpo-37642: Update acceptable offsets in timezone (GH-14878) (#15227) This fixes an inconsistency between the Python and C implementations of the datetime module. The pure python version of the code was not accepting offsets greater than 23:59 but less than 24:00. This is an accidental legacy of the original implementation, which was put in place before tzinfo allowed sub-minute time zone offsets. GH-14878 (cherry picked from commit 92c7e30adf5c81a54d6e5e555a6bdfaa60157a0d) 15 August 2019, 19:08:57 UTC
64db5aa Indent code inside if block. (GH-15284) Without indendation, seems like strcpy line is parallel to `if` condition. (cherry picked from commit 69f37bcb28d7cd78255828029f895958b5baf6ff) Co-authored-by: Hansraj Das <raj.das.136@gmail.com> 15 August 2019, 16:38:22 UTC
f781283 [3.8] Replace usage of the obscure PEM_read_bio_X509_AUX with the more standard PEM_read_bio_X509 (GH-15303) (GH-15304) X509_AUX is an odd, note widely used, OpenSSL extension to the X509 file format. This function doesn't actually use any of the extra metadata that it parses, so just use the standard API. Automerge-Triggered-By: @tiran (cherry picked from commit 40dad9545aad4ede89abbab1c1beef5303d9573e) Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com> Automerge-Triggered-By: @tiran 15 August 2019, 12:52:51 UTC
dbe4c28 bpo-37775: Update compileall doc for invalidation_mode parameter (GH-15148) (cherry picked from commit 68e495df909a33e719e3f1ef5b4893ec785e10a4) Co-authored-by: Hai Shi <shihai1992@gmail.com> 14 August 2019, 22:22:02 UTC
b8e6824 bpo-21131: Fix faulthandler.register(chain=True) stack (GH-15276) faulthandler now allocates a dedicated stack of SIGSTKSZ*2 bytes, instead of just SIGSTKSZ bytes. Calling the previous signal handler in faulthandler signal handler uses more than SIGSTKSZ bytes of stack memory on some platforms. (cherry picked from commit ac827edc493d3ac3f5b9b0cc353df1d4b418a9aa) Co-authored-by: Victor Stinner <vstinner@redhat.com> 14 August 2019, 22:02:12 UTC
123f6c4 bpo-37811: FreeBSD, OSX: fix poll(2) usage in sockets module (GH-15202) FreeBSD implementation of poll(2) restricts the timeout argument to be either zero, or positive, or equal to INFTIM (-1). Unless otherwise overridden, socket timeout defaults to -1. This value is then converted to milliseconds (-1000) and used as argument to the poll syscall. poll returns EINVAL (22), and the connection fails. This bug was discovered during the EINTR handling testing, and the reproduction code can be found in https://bugs.python.org/issue23618 (see connect_eintr.py, attached). On GNU/Linux, the example runs as expected. This change is trivial: If the supplied timeout value is negative, truncate it to -1. (cherry picked from commit 28146206578ebe1b84b48e6f255738a227058c04) Co-authored-by: Artem Khramov <akhramov@pm.me> 14 August 2019, 21:47:43 UTC
557802d bpo-37849: IDLE: fix completion window positioning above line (GH-15267) (cherry picked from commit 71662dc2f12a7e77e5e1dfe64ec87c1b459c3f59) Co-authored-by: Tal Einat <taleinat+github@gmail.com> 14 August 2019, 17:24:04 UTC
d85c567 [3.8] bpo-37531: Fix regrtest timeout for subprocesses (GH-15072) (GH-15279) * bpo-37531: Fix regrtest timeout for subprocesses (GH-15072) Co-Authored-By: Joannah Nanjekye <joannah.nanjekye@ibm.com> (cherry picked from commit b0c8369c603633f445ccbb5ca7a8742145ff9eec) * bpo-36511: Fix failures in Windows ARM32 buildbot (GH-15181) (cherry picked from commit ed70a344b5fbddea85726ebc1964ee0cfdef9c40) Backport also minor fixes from master (fix typo, remove importlib import). 14 August 2019, 14:31:32 UTC
9842269 bpo-37738: Fix curses addch(str, color_pair) (GH-15071) Fix the implementation of curses addch(str, color_pair): pass the color pair to setcchar(), instead of always passing 0 as the color pair. (cherry picked from commit 077af8c2c93dd71086e2c5e5ff1e634b6da8f214) Co-authored-by: Victor Stinner <vstinner@redhat.com> 14 August 2019, 10:49:13 UTC
364a1d3 bpo-37681: no_sanitize_thread support from GCC 5.1 (GH-15096) Fix the following warning with GCC 4.8.5: Objects/obmalloc.c: warning: ‘no_sanitize_thread’ attribute directive ignored (cherry picked from commit 7e479c82218450255572e3f5fa1549dc283901ea) Co-authored-by: Hai Shi <shihai1992@gmail.com> 14 August 2019, 10:08:46 UTC
e7ec9e0 bpo-25172: Add test for crypt ImportError on Windows (GH-15252) (cherry picked from commit 243a73deee4ac61fe06602b7ed56b6df01e19f27) Co-authored-by: shireenrao <shireenrao@gmail.com> 13 August 2019, 21:52:20 UTC
7f7f747 bpo-25172: Raise appropriate ImportError msg when crypt module used on Windows (GH-15149) (cherry picked from commit f4e725f224b864bf9bf405ff7f863cda46fca1cd) Co-authored-by: shireenrao <shireenrao@gmail.com> 13 August 2019, 21:27:14 UTC
6ad902a bpo-37814: Document the empty tuple type annotation syntax (GH-15208) https://bugs.python.org/issue37814: > The empty tuple syntax in type annotations, `Tuple[()]`, is not obvious from the examples given in the documentation (I naively expected `Tuple[]` to work); it has been documented in PEP 484 and in mypy, but not in the documentation for the typing module. https://bugs.python.org/issue37814 (cherry picked from commit 8a784af750fa82c8355903309e5089eb2b60c16b) Co-authored-by: Josh Holland <anowlcalledjosh@gmail.com> 13 August 2019, 19:12:55 UTC
ee98951 bpo-37583: Add err 113 to support.get_socket_conn_refused_errs() (GH-14729) Add error number 113 EHOSTUNREACH to get_socket_conn_refused_errs() of test.support. (cherry picked from commit 1ac2a83f30312976502fda042db5ce18d10ceec2) Co-authored-by: Hai Shi <shihai1992@gmail.com> 13 August 2019, 18:11:49 UTC
853eecc bpo-37841: Remove python_uwp dependency on msvcp140.dll (GH-15253) (cherry picked from commit b0dace3e979381426385c551b116d0f1434096ee) Co-authored-by: Steve Dower <steve.dower@python.org> 13 August 2019, 17:54:28 UTC
b02e148 bpo-37760: Mark all generated Unicode data headers as generated. (GH-15171) This causes them to be collapsed by default in diffs shown on GitHub. https://bugs.python.org/issue37760 Automerge-Triggered-By: @benjaminp (cherry picked from commit 4e3dfcc4b987e683476a1b16456e57d3c9f581cb) Co-authored-by: Greg Price <gnprice@gmail.com> 13 August 2019, 06:06:16 UTC
c2b9d9f bpo-37760: Mark all generated Unicode data headers as generated. (GH-15171) This causes them to be collapsed by default in diffs shown on GitHub. https://bugs.python.org/issue37760 Automerge-Triggered-By: @benjaminp (cherry picked from commit 4e3dfcc4b987e683476a1b16456e57d3c9f581cb) Co-authored-by: Greg Price <gnprice@gmail.com> 13 August 2019, 06:04:21 UTC
9bedb8c bpo-37759: Second round of edits to Whatsnew 3.8 (GH-15204) (GH-15240) (cherry picked from commit 66a34d35e4c97da9840a29ba9fba76721021c463) 13 August 2019, 01:02:58 UTC
a150fee Remove versioned executables from non-APPX packages (GH-15237) (cherry picked from commit c1aeb292d206e12b900dc4f7f816246c3a57c2ac) Co-authored-by: Steve Dower <steve.dower@python.org> 12 August 2019, 22:16:36 UTC
2b98d8e bpo-37354: Sign Activate.ps1 for release (GH-15235) (cherry picked from commit 3e34a25a7a5c9ea2c46f2daeeb60f072faa5aaa1) Co-authored-by: Steve Dower <steve.dower@python.org> 12 August 2019, 21:35:16 UTC
0c64b57 [3.8] bpo-37354: Make Powershell Activate.ps1 script static to allow for signing (GH-14967) - Remove use of replacement text in the script - Make use of the pyvenv.cfg file for prompt value. - Add parameters to allow more flexibility - Make use of the current path, and assumptions about where env puts things, to compensate - Make the script a bit more 'idiomatic' Powershell - Add script documentation (Get-Help .\.venv\Scripts\Activate.ps1 shows PS help page now (cherry picked from commit 732775d6be8062e72cf4995d5a9db0170e22c233) Co-authored-by: Derek Keeler <d3r3kk@users.noreply.github.com> 12 August 2019, 21:09:26 UTC
2f087e2 Fix docs for assert_called and assert_called_once (GH-15219) (cherry picked from commit f9590edfeae192ba95aadaee9460dc03a366c51a) Co-authored-by: Ismail S <ismail-s@users.noreply.github.com> 12 August 2019, 08:19:47 UTC
5ba1cb0 bpo-37819: Add Fraction.as_integer_ratio() (GH-15212) (GH-15215) (cherry picked from commit f03b4c8a48f62134799d368b78da35301af466a3) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 11 August 2019, 22:02:23 UTC
9500bbe bpo-32178: Fix IndexError trying to parse 'To' header starting with ':'. (GH-15044) This should fix the IndexError trying to retrieve `DisplayName.display_name` and `DisplayName.value` when the `value` is basically an empty string. https://bugs.python.org/issue32178 (cherry picked from commit 09a1872a8007048dcdf825a476816c5e3498b8f8) Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com> 11 August 2019, 21:04:31 UTC
c61f9b5 Delete leftover clinic-generated file for C zipimport. (GH-15174) (cherry picked from commit 51aac15f6d525595e200e3580409c4b8656e8a96) Co-authored-by: Greg Price <gnprice@gmail.com> 10 August 2019, 07:37:35 UTC
4c5b6ba [3.8] bpo-32912: Revert SyntaxWarning on invalid escape sequences (GH-15142) * bpo-32912: Revert warnings for invalid escape sequences. DeprecationWarning will continue to be emitted for invalid escape sequences in string and bytes literals in 3.8 just as it did in 3.7. SyntaxWarning may be emitted in the future. But per mailing list discussion, we don't yet know when because we haven't settled on how to do so in a non-disruptive manner. 09 August 2019, 22:34:22 UTC
2170774 bpo-34155: Dont parse domains containing @ (GH-13079) Before: >>> email.message_from_string('From: a@malicious.org@important.com', policy=email.policy.default)['from'].addresses (Address(display_name='', username='a', domain='malicious.org'),) >>> parseaddr('a@malicious.org@important.com') ('', 'a@malicious.org') After: >>> email.message_from_string('From: a@malicious.org@important.com', policy=email.policy.default)['from'].addresses (Address(display_name='', username='', domain=''),) >>> parseaddr('a@malicious.org@important.com') ('', 'a@') https://bugs.python.org/issue34155 (cherry picked from commit 8cb65d1381b027f0b09ee36bfed7f35bb4dec9a9) Co-authored-by: jpic <jpic@users.noreply.github.com> 09 August 2019, 08:31:27 UTC
162d45c [3.8] bpo-37795: Capture DeprecationWarnings in the test suite (GH-15184) (GH-15188) (cherry picked from commit aa542c2) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 09 August 2019, 00:22:59 UTC
5925b7d bpo-35892: Add usage note to mode() (GH-15122) (GH-15176) (cherry picked from commit e43e7ed36480190083740fd75e2b9cdca72f1a68) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 08 August 2019, 08:36:55 UTC
84d31bb bpo-37734: Remove unnecessary brace escapes in PC/layout script (GH-15165) (cherry picked from commit 0378d98678f3617fd44d9a6266e7c17ebce62755) Co-authored-by: Steve Dower <steve.dower@python.org> 07 August 2019, 18:59:09 UTC
dc6653f bpo-37778: Fixes the icons used for file associations to the Microsoft Store package (GH-15150) (cherry picked from commit 87ce9588ceb4b4dd625913344844390f0b991b0c) Co-authored-by: Steve Dower <steve.dower@python.org> 07 August 2019, 18:15:15 UTC
eab76c3 bpo-37734: Fix use of registry values to launch Python from Microsoft Store app (GH-15146) (cherry picked from commit 1fab9cbfbaf19a7bc79cef382136fcf9491e3183) Co-authored-by: Steve Dower <steve.dower@python.org> 07 August 2019, 18:07:43 UTC
1a3a40c bpo-37004: Documented asymmetry of string arguments in difflib.SequenceMatcher for ratio method (GH-13482) (#15157) https://bugs.python.org/issue37004 (cherry picked from commit e9cbcd0018abd2a5f2348c45d5c9c4265c4f42dc) Co-authored-by: sweeneyde <36520290+sweeneyde@users.noreply.github.com> 07 August 2019, 15:39:14 UTC
e780d2f Make importlib.metadata a simple module (GH-15153) (GH-15154) (cherry picked from commit 3a5c433fce7312748859290b9d8db5b6507660f9) Co-authored-by: Barry Warsaw <barry@python.org> 07 August 2019, 01:38:22 UTC
9341dcb bpo-37646: Document that eval() cannot access nested scopes (GH-15117) (GH-15155) (cherry picked from commit 610a4823cc0a3c2380ad0dfe64ae483ced4e5304) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 07 August 2019, 01:07:59 UTC
ef0b819 Improve signal documentation (GH-14274) * add a missing ``.. availability::`` reST explicit markup; * more consistent "see man page" sentences. (cherry picked from commit cfebfef2def48095aa1f4c790a35e51818d67502) Co-authored-by: Géry Ogam <gery.ogam@gmail.com> 06 August 2019, 21:53:27 UTC
26f91db bpo-37759: First round of major edits to Whatsnew 3.8 (GH-15127) (GH-15139) (cherry picked from commit 4f9ffc9d1a6a293563deaaaaf4a13331302219b4) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 05 August 2019, 22:22:13 UTC
e8ea348 bpo-37729: gc: write stats at once (GH-15050) gc used several PySys_WriteStderr() calls to write stats. It caused stats mixed up when stderr is shared by multiple processes like this: gc: collecting generation 2... gc: objects in each generation: 0 0gc: collecting generation 2... gc: objects in each generation: 0 0 126077 126077 gc: objects in permanent generation: 0 gc: objects in permanent generation: 0 gc: done, 112575 unreachable, 0 uncollectablegc: done, 112575 unreachable, 0 uncollectable, 0.2223s elapsed , 0.2344s elapsed (cherry picked from commit bf8162c8c45338470bbe487c8769bba20bde66c2) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 05 August 2019, 07:20:25 UTC
5349f8c bpo-36419: IDLE - Refactor autocompete and improve testing. (GH-15121) (cherry picked from commit 1213123005d9f94bb5027c0a5256ea4d3e97b61d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 05 August 2019, 00:08:16 UTC
9c95fc7 bpo-37748: Re-order the Run menu. (GH-15115) Put the most common choice, Run Module, at the top. (cherry picked from commit 14070299cdc0faf36975f0cc2d51824a9abf3db0) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 04 August 2019, 21:04:49 UTC
fc6e3bc Update itertools docs (GH-15114) (GH-15118) * Remove suggestion that is less relevant now that global lookups are much faster * Add link for installing the recipes (cherry picked from commit adf02b36b3f3745ad4ee380d88f2f6011f54fc22) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 04 August 2019, 20:52:59 UTC
0c16f6b bpo-28292: Mark calendar.py helper functions as private. (GH-15113) (GH-15116) (cherry picked from commit b1c8ec010fb4eb2654ca994e95144c8f2fea07fb) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 04 August 2019, 20:34:56 UTC
d7d607c bpo-36324: Update comments to include the target hash sums (GH-15110) (GH-15112) (cherry picked from commit 8183bb8150edcac6a7525bfb7708d08837ecb095) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 04 August 2019, 19:16:19 UTC
1d2b4db bpo-37706: IDLE - fix sidebar code bug and drag tests (GH-15103) Convert mouse y to line number in the sidebar rather than the text. (cherry picked from commit 86f1a18abfee5939452f468d80de998918e2afd2) Co-authored-by: Tal Einat <taleinat+github@gmail.com> 04 August 2019, 16:43:56 UTC
dd5f8ab bpo-37730: Fix usage of NotImplemented instead of NotImplementedError in docs. (GH-15062) (cherry picked from commit ed5e8e06cbf766e89d6c58a882ee024abb5b2ed7) Co-authored-by: David H <dheiberg@mozilla.com> 04 August 2019, 13:43:30 UTC
dde944f bpo-37685: Fixed comparisons of datetime.timedelta and datetime.timezone. (GH-14996) There was a discrepancy between the Python and C implementations. Add singletons ALWAYS_EQ, LARGEST and SMALLEST in test.support to test mixed type comparison. (cherry picked from commit 17e52649c0e7e9389f1cc2444a53f059e24e6bca) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 04 August 2019, 10:01:55 UTC
4e402d3 Correct description of HTTP status code 308. (GH-15098) Permanent redirect was explained as a temporary redirect. (cherry picked from commit 5c72badd06a962fe0018ceb9916f3ae66314ea8e) Co-authored-by: Florian Wendelborn <1133858+FlorianWendelborn@users.noreply.github.com> 03 August 2019, 18:39:46 UTC
6b83390 bpo-30974: Change os.path.samefile docstring to match docs (GH-7337) (cherry picked from commit 8e568ef266a2805f9a6042003723d9c050830461) Co-authored-by: Timo Furrer <tuxtimo@gmail.com> 02 August 2019, 23:04:53 UTC
79af3bd bpo-20523: pdb searches for .pdbrc in ~ instead of $HOME (GH-11847) Previously pdb checked the $HOME environmental variable to find the user .pdbrc. If $HOME is not set, the user .pdbrc would not be found. Change pdb to use `os.path.expanduser('~')` to determine the user's home directory. Thus, if $HOME is not set (as in tox or on Windows), os.path.expanduser('~') falls back on other techniques for locating the user's home directory. This follows pip's implementation for loading .piprc. Co-authored-by: Dan Lidral-Porter <dlp@aperiodic.org> (cherry picked from commit 7ea9a85f132b32347fcbd2cbe1b553a2e9890b56) Co-authored-by: Timothy Hopper <tdhopper@users.noreply.github.com> 02 August 2019, 22:42:50 UTC
375f35b bpo-36487: Make C-API docs clear about what the main interpreter is. (gh-15080) (cherry picked from commit 854d0a4b98b13629252e21edaf2b785b429e5135) (gh-12666) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> 02 August 2019, 17:49:38 UTC
1cc7032 bpo-16970: Adding error message for invalid args (GH-14844) BPO -16970: Adding error message for invalid args Applied the patch argparse-v2 patch issue 16970, ran patch check and the test suite, test_argparse with 0 errors https://bugs.python.org/issue16970 (cherry picked from commit 4b3e97592376d5f8a3b75192b399a2da1be642cb) Co-authored-by: tmblweed <tmblweed@users.noreply.github.com> 02 August 2019, 05:16:44 UTC
8399641 bpo-18049: Sync thread stack size to main thread size on macOS (GH-14748) This changeset increases the default size of the stack for threads on macOS to the size of the stack of the main thread and reenables the relevant recursion test. (cherry picked from commit 1a057bab0f18d6ad843ce321d1d77a4819497ae4) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com> 01 August 2019, 14:38:57 UTC
dcc53eb bpo-37726: Prefer argparse over getopt in stdlib tutorial (GH-15052) (#15070) (cherry picked from commit 2491134029b195d3159a489e1803ee22a7839b41) Co-authored-by: mental <m3nta1@yahoo.com> 01 August 2019, 14:34:57 UTC
462f070 bpo-37695: Correct unget_wch error message. (GH-14986) (cherry picked from commit c9345e382c630ddcc2b148b30954640e0e435c8a) Co-authored-by: Anthony Sottile <asottile@umich.edu> 31 July 2019, 20:44:59 UTC
77fcccb bpo-37723: Fix performance regression on regular expression parsing. (GH-15030) Improve performance of sre_parse._uniq function. (cherry picked from commit 9f55551f3df238e58315e724e50cb0d574d75b94) Co-authored-by: yannvgn <hi@yannvgn.io> 31 July 2019, 20:22:09 UTC
29a3a33 bpo-34101: Add doc of PyBuffer_GetPointer (GH-14994) (cherry picked from commit 1b29af83bc17e773b0c0d117f5fe1018fde46b0d) Co-authored-by: Hai Shi <shihai1992@gmail.com> 31 July 2019, 15:04:31 UTC
d8b914a bpo-37085: Expose SocketCAN bcm_msg_head flags (GH-13646) Expose the CAN_BCM SocketCAN constants used in the bcm_msg_head struct flags (provided by <linux/can/bcm.h>) under the socket library. This adds the following constants with a CAN_BCM prefix: * SETTIMER * STARTTIMER * TX_COUNTEVT * TX_ANNOUNCE * TX_CP_CAN_ID * RX_FILTER_ID * RX_CHECK_DLC * RX_NO_AUTOTIMER * RX_ANNOUNCE_RESUME * TX_RESET_MULTI_IDX * RX_RTR_FRAME * CAN_FD_FRAME The CAN_FD_FRAME flag was introduced in the 4.8 kernel, while the other ones were present since SocketCAN drivers were mainlined in 2.6.25. As such, it is probably unnecessary to guard against these constants being missing. (cherry picked from commit 31c4fd2a10d90beaa37d630e5f74a471e14e089d) Co-authored-by: karl ding <karlding@users.noreply.github.com> 31 July 2019, 09:10:38 UTC
9b9cac4 Refined Qt GUI example in the logging cookbook. (GH-15045) (GH-15046) (cherry picked from commit 472eced6770c2fabab3031e4e16cd32e32b8a0cc) 31 July 2019, 06:58:46 UTC
8194a20 IDLE: changelog correction and addition (GH-15042) (cherry picked from commit d04f8907baaa6620be7347ba14dd84bc4ef33814) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 31 July 2019, 05:42:17 UTC
9e044dd bpo-33821: Update IDLE section of What's New 3.7 (GH-15036) * bpo-33821: Update IDLE section of What's New 3.7 * Fix roles. (cherry picked from commit 5982b7201b84bfd24a1c2b2836401afee1cad8a7) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 31 July 2019, 05:23:05 UTC
34de5dc bpo-34162: Add missing items to idlelib/NEWS.txt. (GH-15034) (cherry picked from commit fff5cb21ae270d8572741e18030765580c7ae361) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 31 July 2019, 05:19:28 UTC
c7236b4 bpo-33822: Add IDLE section of What's New 3.8 (GH-15035) * bpo-33822: Add IDLE section of What's New 3.8 * Fix role. (cherry picked from commit a72ca90eb9f13ee2abc7e19b669974d2d0b3d63e) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 31 July 2019, 05:16:45 UTC
01c62c9 Fix idlelib typos discovered by min ho, pr 15018. (GH-15029) (cherry picked from commit 0acb646b8e405864224bfd6d7d5089980dea63ac) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 30 July 2019, 22:34:20 UTC
7026737 bpo-36084: Add threading Native ID information to What's New documentation (GH-14845) (cherry picked from commit 84846b0187919551b1b08dca447658bbbbb710b1) Co-authored-by: Jake Tesler <jake.tesler@gmail.com> 30 July 2019, 21:49:23 UTC
0f9efbc Don't skip pickle check_frame_opcodes() (GH-15027) This looks like the only place that proto 4 framing gets exercised so leave it as part of the PGO task. (cherry picked from commit eca7ffc61cf925eae5def8c64b05d47f24e60e1f) Co-authored-by: Neil Schemenauer <nas-github@arctrix.com> 30 July 2019, 20:10:15 UTC
382cb85 bpo-37707: Exclude expensive unit tests from PGO task (GH-15009) (#15024) Mark some individual tests to skip when --pgo is used. The tests marked increase the PGO task time significantly and likely don't help improve optimization of the final executable. (cherry picked from commit 52a48e62c6a94577152f9301bbe5f3bc806cfcf1) Co-authored-by: Neil Schemenauer <nas-github@arctrix.com> 30 July 2019, 18:34:32 UTC
9265a87 bpo-37587: Make json.loads faster for long strings (GH-14752) When scanning the string, most characters are valid, so checking for invalid characters first means never needing to check the value of strict on valid strings, and only needing to check it on invalid characters when doing non-strict parsing of invalid strings. This provides a measurable reduction in per-character processing time (~11% in the pre-merge patch testing). (cherry picked from commit 8a758f5b99c5fc3fd32edeac049d7d4a4b7cc163) Co-authored-by: Marco Paolini <mpaolini@users.noreply.github.com> 30 July 2019, 14:37:28 UTC
8b50e3e bpo-34162: Update idlelib/news.txt. (GH-15011) (cherry picked from commit f35c51d2eadd297bcf06d4f7c536bd1d8682b724) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 29 July 2019, 22:39:49 UTC
8513b90 bpo-37706: Disable 3 IDLE scrollbar tests on Mac. (GH-15010) They pass with tk 8.5.9 (Azure) but fail with the 8.6.x we install. (cherry picked from commit e8874b85b4e3bbb735467b0beaa933dcef362004) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 29 July 2019, 22:15:50 UTC
adc0e31 Post v3.8.0b3 29 July 2019, 20:54:13 UTC
6f53a68 Merge tag 'v3.8.0b3' into 3.8 Python 3.8.0b3 29 July 2019, 20:53:25 UTC
494ed69 Fix publishing of Windows release (GH-15006) (cherry picked from commit fe330fc4ad3b8218a84216a824af7d7007dcb85b) Co-authored-by: Steve Dower <steve.dower@python.org> 29 July 2019, 18:41:37 UTC
bf0b8a6 Add additional test for multi-line SyntaxError (GH-15003) (cherry picked from commit 44212ec8111febfe5fc6c6ed231d4ef2d98bd7e2) Co-authored-by: Anthony Sottile <asottile@umich.edu> 29 July 2019, 15:26:29 UTC
9ea738e bpo-37500: Make sure dead code does not generate bytecode but also detect syntax errors (GH-14612) https://bugs.python.org/issue37500 Add a new field to the compiler structure that allows to be configured so no bytecode is emitted. In this way is possible to detect errors by walking the nodes while preserving optimizations. https://bugs.python.org/issue37500 (cherry picked from commit 18c5f9d44dde37c0fae5585a604c6027825252d2) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 29 July 2019, 14:47:30 UTC
cf52bd0 Fix `SyntaxError` indicator printing too many spaces for multi-line strings (GH-14433) (cherry picked from commit 5b94f3578c662d5f1ee90c0e6b81481d9ec82d89) Co-authored-by: Anthony Sottile <asottile@umich.edu> 29 July 2019, 14:18:47 UTC
4336222 Python 3.8.0b3 29 July 2019, 13:26:01 UTC
36fd7b6 bpo-36044: Avoid warnings in Windows PGO build and add lzma, bz2 and sqlite coverage (GH-14985) https://bugs.python.org/issue36044 Automerge-Triggered-By: @zooba (cherry picked from commit e1b900247227dad49d8231f1d028872412230ab4) Co-authored-by: Steve Dower <steve.dower@python.org> 29 July 2019, 01:20:02 UTC
f96334c bpo-37697: Sync with importlib_metadata 0.19 (GH-14993) (GH-14995) * bpo-37697: Sync with importlib_metadata 0.19 * Run make regen-importlib * 📜🤖 Added by blurb_it. (cherry picked from commit 049460da9c7b5f51732e2966195c44713af9dc4c) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> 28 July 2019, 19:45:46 UTC
c94386d bpo-37692: Improve highlight config sample (GH-14983) Use an example shell interaction in the sample and better labels for shell elements. (cherry picked from commit b222955355c8077a3ceca79195731663d7c3dd5f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 28 July 2019, 16:39:03 UTC
69372ee Remove trailing .0 from version changed note (GH-14987) (cherry picked from commit 17a058ed6ffa7f56c0920d15d214ad080e7eef86) Co-authored-by: Nick Coghlan <ncoghlan@gmail.com> 28 July 2019, 11:48:26 UTC
76821ba bpo-37691: Let math.dist() accept sequences and iterables for coordinates (GH-14975) (GH-14984) (cherry picked from commit 6b5f1b496f0b20144592b640b9c975df43a29eb0) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 27 July 2019, 21:26:58 UTC
back to top