https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
1015e38 3.6.6rc1 12 June 2018, 04:24:03 UTC
e257574 bpo-31432: Clarify ssl CERT_NONE/OPTIONAL/REQUIRED docs. (GH-3530) (GH-7652) The documentation for CERT_NONE, CERT_OPTIONAL, and CERT_REQUIRED were misleading and partly wrong. It fails to explain that OpenSSL behaves differently in client and server mode. Also OpenSSL does validate the cert chain everytime. With SSL_VERIFY_NONE a validation error is not fatal in client mode and does not request a client cert in server mode. Also discourage people from using CERT_OPTIONAL in client mode. 12 June 2018, 01:44:58 UTC
2023eaf bpo-33656: Mention color in idlelib/NEWS.txt entry. (GH-7646) (cherry picked from commit 4b704f29f5a0b6f6d7bd67468ed004bd3a96855d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 11 June 2018, 21:19:23 UTC
afa1ea5 bpo-33656: Add enum name for argument of Windows call. (GH-7642) Change suggested by Eryk Sun in a comment on PR 7137 after it was merged. (cherry picked from commit fd88f319a4f40682b989b63f0b6378d69465fda4) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 11 June 2018, 20:08:24 UTC
0404d35 bpo-33656: On Windows, add API call saying that tk scales for DPI (GH-7137) On Windows 8.1+ or 10, with DPI compatibility properties of the Python binary unchanged, and a monitor resolution greater than 96 DPI, this should make text and lines sharper. It should otherwise have no effect. Using a magnifier, I determined that the improvement comes from horizontal and lines being better lined up with the monitor pixels. I checked that this call causes no problem on any Windows buildbot, including the Win7 buildbots. Unlike most IDLE patches, this one can be easily reverted by users by removing a few lines, at the top of idlelib/pyshell.py. (cherry picked from commit 800415e3df69f494afe9f95a8563ce17609fe1da) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 11 June 2018, 18:39:43 UTC
860d8c4 bpo-33831: Make htmlview run again (GH-7628) (cherry picked from commit 0e5f901508dea6437dc9ee89b434feca721d45be) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 11 June 2018, 17:20:05 UTC
bbbc3d9 bpo-30820: Remove incorrect docs for email.contentmanager.raw_data_manager (GH-7631) (#7634) The docs claimed that a list of EmailMessage objects could be passed to set_content(), but this was never implemented. (cherry picked from commit 2c071cebe67f517f191f4074757a79b0f597d886) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 11 June 2018, 16:11:52 UTC
1b5731e bpo-23404: Update/sync What's New files for 3.6/3.5/2.7 (GH-7622) 11 June 2018, 08:33:26 UTC
4836dc9 more pypi.python.org -> pypi.org for 3.6 (GH-7616) 11 June 2018, 05:29:28 UTC
52ecb8c pypi.python.org -> pypi.org (GH-7613) (GH-7615) (cherry picked from commit 9d6d06e8065d45f375f4a80e2d7e13b032da1f5b) Co-authored-by: Ned Deily <nad@python.org> 11 June 2018, 05:07:49 UTC
3e12158 bpo-30167: Prevent site.main() exception if PYTHONSTARTUP is set. (GH-6731) (GH-7607) Before Python 3.6, os.path.abspath(None) used to report an AttributeError which was properly caught inside site.abs_paths, making it ignore __main__, one of sys.modules, which has __file__ and __cached__ set to None. With 3.6, os.path.abspath(None) raises TypeError instead which site.abs_path was not expecting. This resulted in an uncaught exception if a user had PYTHONSTARTUP set and the application called site.main() which a number of third-party programs do. (cherry picked from commit 2487f30d5529948ace26559e274d7cac6abcd1a8) Co-authored-by: Steve Weber <steverweber@gmail.com> 11 June 2018, 01:23:41 UTC
1d4089b bpo-33812: Corrected astimezone for naive datetimes. (GH-7578) (GH-7601) A datetime object d is aware if d.tzinfo is not None and d.tzinfo.utcoffset(d) does not return None. If d.tzinfo is None, or if d.tzinfo is not None but d.tzinfo.utcoffset(d) returns None, d is naive. This commit ensures that instances with non-None d.tzinfo, but d.tzinfo.utcoffset(d) returning None are treated as naive. In addition, C acceleration code will raise TypeError if d.tzinfo.utcoffset(d) returns an object with the type other than timedelta. * Updated the documentation. Assume that the term "naive" is defined elsewhere and remove the not entirely correct clarification. Thanks, Tim. (cherry picked from commit 877b23202b7e7d4f57b58504fd0eb886e8c0b377) Co-authored-by: Alexander Belopolsky <abalkin@users.noreply.github.com> 10 June 2018, 22:03:31 UTC
040d4a7 bpo-33748: fix tests altering sys.path and sys.modules (GH-7433) (GH-7603) (cherry picked from commit 4ab4695388fb9ec03a14d93e90ce50d832a920ec) Co-authored-by: Tal Einat <taleinat+github@gmail.com> 10 June 2018, 21:45:51 UTC
08a1b13 bpo-33610: Update IDLE Code Context doc entry (GH-7597) Users can now click on context lines. (cherry picked from commit af4b0130d44bf8a1ff4f7b46195d1dc79add444a) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 10 June 2018, 20:11:20 UTC
969759e bpo-33820: Fix IDLE What's New typo (GH-7594) (cherry picked from commit 820c53ac612e9c4b3cb3e831537a15d5e953bbc0) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 10 June 2018, 19:34:08 UTC
fe03583 [3.6] Fix spaces added after hyphens in news entries. (GH-7579) (GH-7584) Seems they were added by double applying blurb. (cherry picked from commit 98a0e466cd94d4635769cfdfd397c43c07384595) 10 June 2018, 18:54:07 UTC
8ecd7f6 bpo-33820: Update idlelib subsection of What's New 3.6 (GH-7589) (cherry picked from commit e226eb71575ad22a6779b02941377665831cfff2) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 10 June 2018, 18:30:44 UTC
5c52f48 Remove hyphens from phrase "picks up where it left off" (GH-7410) (cherry picked from commit d689f976199d2e211a97d526b57cfa9871cc578d) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 10 June 2018, 02:04:32 UTC
a5f0a8e Fix typo in object.__getnewargs__() documentation (GH-7554) (cherry picked from commit 0e0534c4024c181aa47a300142c59eeeee71db46) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 10 June 2018, 01:00:47 UTC
1f55698 bpo-33766: Document that end of file or string is a newline (GH-7383) (cherry picked from commit 0aa17ee6a76df0946d42e7657a501f1862065a22) Co-authored-by: Ammar Askar <ammar_askar@hotmail.com> 10 June 2018, 00:12:24 UTC
07aea16 bpo-33718: regrtest: use "xxx then yyy" result if re-run (GH-7521) If tests are re-run, use "xxx then yyy" result format (ex: "FAILURE then SUCCESS") to show that some failing tests have been re-run. Add also test_regrtest.test_rerun_fail() test. (cherry picked from commit c45fc7673e23f911639d10d3771ffef7be870c7a) Co-authored-by: Victor Stinner <vstinner@redhat.com> 09 June 2018, 16:35:37 UTC
4ba4ff4 Docs: fix some wrong words (GH-6987) Fix typos in code comments: bdb.py and configure.ac.. (cherry picked from commit b5c246f833d95991fed728c3845176dd661cd5ea) Co-authored-by: Eitan Adler <grimreaper@users.noreply.github.com> 09 June 2018, 00:17:32 UTC
234b53f bpo-30805: Avoid race condition with debug logging (GH-7545) Supersedes https://github.com/python/cpython/pull/2490 (cherry picked from commit 12f482e0ae33021c04264294f33fa6baa9617cec) Co-authored-by: Yury Selivanov <yury@magic.io> 08 June 2018, 22:47:45 UTC
376c272 bpo-11874: fix assertion failure in argparse metavar handling (GH-1826) - bugfix and test for fragile metavar handling in argparse (see bpo-24089, bpo-14046, bpo-25058, bpo-11874) - also fixes some incorrect tests that did not make 1-element tuples correctly (cherry picked from commit 66f02aa32f1e4adb9f24cf186f8c495399d5ce9b) Co-authored-by: wim glenn <wim.glenn@gmail.com> 08 June 2018, 11:05:58 UTC
a0accc0 bpo-31215: Add version changed notes for OpenSSL 1.1.0 compatibility (GH-7346) (cherry picked from commit 9ef1b0690b90c526798b6b3125b0fa7ae98319a2) Co-authored-by: Mayank Singhal <17mayank.singhal@gmail.com> 08 June 2018, 10:22:39 UTC
88437a9 Update idlelib/NEWS.txt to 2018 Jun 8 am. (GH-7517) (cherry picked from commit b1f690294d9bf948d148df3ca0d20ca462d902b3) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 08 June 2018, 06:50:15 UTC
1038669 bpo-33768: IDLE: Clicking on code context line moves it to top of editor (GH-7411) (cherry picked from commit 041272b657867f5bec925b19aabf23944125d49b) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 08 June 2018, 05:50:58 UTC
b0bb9a8 bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() (GH-7467) (#7514) 08 June 2018, 03:42:13 UTC
94b5fab bpo-33791: Update README for macOS users (GH-7471) (cherry picked from commit ee994d7443a7e2809a5d49bd3679fc9c451a411b) Co-authored-by: atg7000 <38963069+atg7000@users.noreply.github.com> 08 June 2018, 02:52:49 UTC
8de73d5 bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() (GH-7467) (GH-7507) 08 June 2018, 01:32:43 UTC
d071ab1 bpo-33642 and bpo-33679: Revise and condense blurbs (GH-7500) (cherry picked from commit bed523ba03c4525c9c79a6df700284b6c43024b3) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 07 June 2018, 23:34:12 UTC
2795644 [3.6] bpo-32392: Document env keyword argument of subprocess.run() (GH-7289) (cherry picked from commit af1ec97a6d1dde68b2dc0ee9b78965eb219061a8) Conflicts: Doc/library/subprocess.rst 07 June 2018, 19:22:35 UTC
2c8d665 [3.6] bpo-32676, test_asyncio: Fix warning in test_error_in_call_soon() (GH-7462) (GH-7483) * bpo-32676, test_asyncio: Fix warning in test_error_in_call_soon() (GH-7462) Fix "<CoroWrapper ...> was never yielded from" warning in PyTask_PyFuture_Tests.test_error_in_call_soon() of test_asyncio.test_tasks. Close manually the coroutine on error. (cherry picked from commit 9f04f0df6fdb27190690bda949d213893d14e807) * Hide a warning in test_asyncio test_cancel_handshake() SslProtoHandshakeTests.test_cancel_handshake() of test_asyncio.test_sslproto: hide a traceback about SSL handshake failure. 07 June 2018, 15:06:50 UTC
21f2553 bpo-17909: Document that json.load can accept a binary IO (GH-7366) (cherry picked from commit bb6366bd7570ff3b74bc66095540bea78f31504e) Co-authored-by: Anthony Sottile <asottile@umich.edu> 07 June 2018, 10:21:20 UTC
97fe1b4 bpo-33773: Fix test.support.fd_count() on Linux/FreBSD (GH-7421) Substract one because listdir() opens internally a file descriptor to list the content of the /proc/self/fd/ directory. Add test_support.test_fd_count(). Move also MAXFD code before msvcrt.CrtSetReportMode(), to make sure that the report mode is always restored on failure. (cherry picked from commit 492d6424a7ca907c8ec1df21e51062e8f3d88e32) Co-authored-by: Victor Stinner <vstinner@redhat.com> 06 June 2018, 16:09:18 UTC
2bc1946 bpo-33781: audioop: enhance rounding double as int (GH-7447) (GH-7451) Move the floor() call into fbound() to call floor() on a double rather than an int. The change should enhance the rounding. Document also (int)double rounding mode. (cherry picked from commit 45e4efba7fa2abe61d25e4f8b5bf482e19ff1280) Co-authored-by: Victor Stinner <vstinner@redhat.com> 06 June 2018, 15:18:27 UTC
08c03cc remove hg support from patchcheck (GH-7440) (cherry picked from commit b8c0845fee9277b1106ceecbf7592f8806c73ec8) Co-authored-by: Benjamin Peterson <benjamin@python.org> 06 June 2018, 06:00:20 UTC
d59f97c bpo-5755: Move -Wstrict-prototypes to CFLAGS_NODIST (GH-7395) (cherry picked from commit e33648484775fa533fc8f1e5cc45f60061d29d54) 06 June 2018, 05:18:14 UTC
f74a124 bpo-33751: Fix test_file. (GH-7378) testModeStrings and testTruncateOnWindows were depended on a file leaked in other tests. Also improve cleaning up after tests. (cherry picked from commit c2745d2d05546d76f655ab450eb23d1af39e0b1c) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 05 June 2018, 17:51:02 UTC
b8baa33 [3.6] bpo-33753: Refactor creating temporary files in test_fileinput. (GH-7377). (GH-7431) (cherry picked from commit 5f48e2644dcfb47f0bbc0fcdc2b103a19bdec288) 05 June 2018, 16:53:03 UTC
194a5c0 bpo-33752: Fix a file leak in test_dbm. (GH-7376) With addCleanup() f.close() was executed after tearDown(). (cherry picked from commit 6592d7fe11477f8f974d2d4a85c3382a1ad05217) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 05 June 2018, 13:47:42 UTC
ae55d29 bpo-33767: Fix improper use of SystemError by mmap.mmap objects (GH-7381) Raise TypeError instead of SystemError for unsupported operations. (cherry picked from commit e9e397605789b2a67b67558fbbe756b7b88934f5) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 05 June 2018, 13:25:21 UTC
0da3f41 Enable the verbose build for extension modules with GNU make (GH-6659) (cherry picked from commit 10f715d71218ece737f990fa55027b8e1120cc3a) Co-authored-by: Matthias Klose <doko42@users.noreply.github.com> 04 June 2018, 17:37:04 UTC
889a1ef bpo-27902: Add compatibility note to Profile docs (GH-7295) (cherry picked from commit f7745e1dcb8e8473cc86112a0213b3f244a07230) Co-authored-by: Tobias Kunze <r@rixx.de> 04 June 2018, 17:30:34 UTC
a7de148 bpo-33761: Fix a file leak in test_iterparse in test_xml_etree. (GH-7358) (cherry picked from commit 13f51d9eec569e08475390e2a8f49f4afed1ea06) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 04 June 2018, 17:22:18 UTC
6a43d5f bpo-33640, uuid.UUID doc: document endian of bytes parameter (GH-7263) The bytes parameter uses big endian. (cherry picked from commit b75ec0856771b51684b08c4e5068fbfad25c5e83) Co-authored-by: Farhaan Bukhsh <farhaan.bukhsh@gmail.com> 04 June 2018, 17:18:22 UTC
4251d2a bpo-31849: Fix warning in pyhash.c (GH-6799) (cherry picked from commit a8eb58546b37a7cd5f332f019bb07388f5212c2d) Co-authored-by: A. Jesse Jiryu Davis <jesse@emptysquare.net> 04 June 2018, 17:14:26 UTC
ffe29db bpo-33763: IDLE: Replace label widget with text widget in code context (GH-7367) (cherry picked from commit b609e687a076d77bdd687f5e4def85e29a044bfc) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 04 June 2018, 16:22:10 UTC
db22229 bpo-33664: Scroll IDLE editor text by lines (GH-7351) Previously, the mouse wheel and scrollbar slider moved text by a fixed number of pixels, resulting in partial lines at the top of the editor box. The change also applies to the shell and grep output windows, but not to read-only text views. (cherry picked from commit d49dbd9acc6db544ca6cb2445fe17eb0c3be4bba) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 04 June 2018, 16:13:43 UTC
b8f2fb5 bpo-33764: Appveyor fixes (GH-7364) (GH-7379) * Prevent spurious message if taking a shortcut * Fix YAML style * Disable largefile tests 04 June 2018, 04:47:37 UTC
2e601c5 [3.6] bpo-33759: Fix test.test_xmlrpc.ServerProxyTestCase. (GH-7362) (GH-7375) It depended on a global variable set by other tests.. (cherry picked from commit 7cfd8c6a1b53a7dbdea14b6f414f2629dcd130a2) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 04 June 2018, 03:36:15 UTC
d18b13d bpo-33760: Fix file leaks in test_io. (GH-7361) (GH-7372) (cherry picked from commit e36837cb71032ccfa713e75623b314f091dc22bb) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 04 June 2018, 03:31:51 UTC
7f1bcda bpo-33750: Reset thread-local context precision in test_round(). (GH-7355) (#7356) (cherry picked from commit e95dfc5006d19e59c7871faa9973356844ddb3ae) Co-authored-by: Stefan Krah <skrah@bytereef.org> 03 June 2018, 17:30:12 UTC
da7f8ce bpo-33744: Fix test_uu. (GH-7350) (GH-7353) Separate tests leaked files or were depended on files leaked in other tests. (cherry picked from commit 027f95c736457f12c5713d9cf5b95ac335e583df) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 03 June 2018, 15:22:54 UTC
db30390 bpo-23495: Correct the documentation for writerows() of csv Writer objects (GH-6316) `writerows()` takes an iterable. (cherry picked from commit a801cf164be7c62b6a6dba47ff91d6c3edb67729) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 02 June 2018, 15:37:28 UTC
218eaca Fix typo in datamodel.rst (GH-6964) This is a simple grammatical fix correcting "...object whose `__self__` attributes is ..." to "...object whose `__self__` attribute is ...". (cherry picked from commit 00818c8ffd657f9ec727e366bfffd9c2135fa5ab) Co-authored-by: Zach Mitchell <zmitchell@users.noreply.github.com> 02 June 2018, 14:53:54 UTC
dd851d6 bpo-33679: IDLE: Re-enable color configuration for code context (GH-7199) The difference from before is that the settings are now on the Highlights tab instead of the Extensions tab and only change one theme at a time instead of all themes. The default for light themes is black on light gray, as before. The default for the IDLE Dark theme is white on dark gray, which better fits the dark theme. When one starts IDLE from a console and loads a custom theme without definitions for 'context', one will see a warning message on the console. To stop the warning, go to Options => Configure IDLE => Highlights, select the custom theme if not selected already, select 'Code Context', and select foreground and background colors. (cherry picked from commit de6516264e793be991f692fdd892707afb9104a7) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 02 June 2018, 02:55:57 UTC
a42fe3c bpo-33642: IDLE: Use variable number of lines in CodeContext. (GH-7106) Instead of displaying a fixed number of lines, some blank, Code Context now displays the variable number of actual context lines. When there are no context lines, it shows a single blank line to indicate that the feature is turned on. The Code Context configuration option is changed from 'numlines' (default 3) to 'maxlines' (default 15) to avoid possible interference between user settings for the old and new versions of Code Context. (cherry picked from commit 29996a1c4e8bd6dde6adce2b44d11a0982a47a3a) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 02 June 2018, 00:08:03 UTC
1df877c bpo-32519: Removed misleading sentence from EnvBuilder documentation. (GH-7296) (GH-7299) (cherry picked from commit c0d341d49b3ffc8b0037e501c246271be9c69f55) Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk> 01 June 2018, 17:56:47 UTC
461ad59 bpo-33400: Removed references to RFC3339 and ISO8601 from the logging documentation. (GH-7297) (GH-7303) (cherry picked from commit 23cee80cfade1a9019c52b3a17d8e5c1b5db17e2) Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk> 01 June 2018, 17:55:10 UTC
64e538b bpo-33532: Fix test_multiprocessing_forkserver.test_ignore() (GH-7322) Use also support.SOCK_MAX_SIZE, not only support.PIPE_MAX_SIZE, to get the size for a blocking send into a multiprocessing pipe. Replace also test.support with support. 01 June 2018, 17:39:56 UTC
137e803 bpo-33718: Update regrtest from master (GH-7325) * Add support.environment_altered: unused yet * VSTS: don't run tests with --fail-env-changed 01 June 2018, 17:39:37 UTC
f329743 bpo-31238: pydoc ServerThread.stop() now joins itself (GH-3151) (GH-7324) ServerThread.stop() now joins itself to wait until DocServer.serve_until_quit() completes and then explicitly sets its docserver attribute to None to break a reference cycle. (cherry picked from commit 4cab2cd0c05fcda5fcb128c9eb230253fff88c21) 01 June 2018, 17:39:16 UTC
1381bfe bpo-33540, socketserver: Add _block_on_close for tests (GH-7317) * Add a private _block_on_close attribute to ForkingMixIn and ThreadingMixIn classes of socketserver. * Use _block_on_close=True in test_socketserver and test_logging 01 June 2018, 14:24:43 UTC
5dbb48a [3.6] bpo-31234: Add test.support.wait_threads_exit() (GH-3578) (GH-7315) * bpo-31234: Add test.support.wait_threads_exit() (GH-3578) Use _thread.count() to wait until threads exit. The new context manager prevents the "dangling thread" warning. (cherry picked from commit ff40ecda73178dfcad24e26240d684356ef20793) * bpo-31234: Try to fix lock_tests warning (#3557) Try to fix the "Warning -- threading_cleanup() failed to cleanup 1 threads" warning in test.lock_tests: wait a little bit longer to give time to the threads to complete. Warning seen on test_thread and test_importlib. (cherry picked from commit 096ae3373abac2c8b3a26a3fe33cc8bd4cbccd4e) 01 June 2018, 13:51:02 UTC
95681c7 bpo-31479: Always reset the signal alarm in tests (GH-3588) (GH-7312) * bpo-31479: Always reset the signal alarm in tests Use "try: ... finally: signal.signal(0)" pattern to make sure that tests don't "leak" a pending fatal signal alarm. * Move two more alarm() calls into the try block Fix also typo: replace signal.signal(0) with signal.alarm(0) * Move another signal.alarm() into the try block (cherry picked from commit 9abee722d448c1c00c7d4e11ce242ec7b13e5c49) 01 June 2018, 13:23:10 UTC
8f7bd30 test.bisect: Update from master, fix typos (#7311) 01 June 2018, 12:32:36 UTC
99ba73d bpo-31009: Move fd_count() to test.support (#7308) * Move fd_count() from test.libregrtest.refleak to test.support * Fix support.fd_count() on Windows: Call CrtSetReportMode() to not kill the process on invalid file descriptor if Python is compiled in debug mode. 01 June 2018, 11:47:24 UTC
1d5198f bpo-30654: Do not reset SIGINT handler to SIG_DFL in finisignal (GH-7146) (GH-7307) (cherry picked from commit e905c84494526363086f66a979e317e155bf9536) Co-authored-by: pkerling <pkerling@casix.org> 01 June 2018, 11:12:11 UTC
b9afe64 bpo-33692: Update pythoninfo from master (GH-7301) * bpo-33717: pythoninfo: add CC --version (GH-7290) 01 June 2018, 10:09:59 UTC
500a419 [3.6] bpo-32591: fix abort in _PyErr_WarnUnawaitedCoroutine during shutdown (GH-5337) (#6536) When an unawaited coroutine is collected very late in shutdown -- like, during the final GC at the end of PyImport_Cleanup -- then it was triggering an interpreter abort, because we'd try to look up the "warnings" module and not only was it missing (we were prepared for that), but the entire module system was missing (which we were not prepared for). I've tried to fix this at the source, by making the utility function get_warnings_attr robust against this in general. Note that it already has the convention that it can return NULL without setting an error, which is how it signals that the attribute it was asked to fetch is missing, and that all callers already check for NULL returns. There's a similar check for being late in shutdown at the top of warn_explicit, which might be unnecessary after this fix, but I'm not sure so I'm going to leave it.. (cherry picked from commit dba976b8a28d6e5daa66ef31a6a7c694a9193f6a) Co-authored-by: Nathaniel J. Smith <njs@pobox.com> 31 May 2018, 10:20:46 UTC
55d9e86 [3.6] bpo-33641: Convert RFC references into links. (GH-7103) (GH-7276) 85% of them are already links. (cherry picked from commit 0a36ac1a09587735237c5978ebd046313922869c) 31 May 2018, 06:11:07 UTC
0fe3be0 bpo-33677: Fix signatures of tp_clear handlers for AST and deque. (GH-7196) (GH-7269) (cherry picked from commit a5c42284e69fb309bdd17ee8c1c120d1be383012) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 31 May 2018, 06:10:28 UTC
c2870b6 bpo-33532: Fix multiprocessing test_ignore() (GH-7262) (#7266) Fix test_ignore() of multiprocessing tests like test_multiprocessing_forkserver: use support.PIPE_MAX_SIZE to make sure that send_bytes() blocks. (cherry picked from commit 5d6c7ed5e340b2311a15f34e968d4bef09c71922) 31 May 2018, 05:35:03 UTC
7da7a01 3.6 what's new: fix a reference to PEP 528 (GH-7113) (#7257) (cherry picked from commit 495e567a2b3bbe3b99f0c253edf12997a9ff4ee1) Co-authored-by: Dmitry Shachnev <mitya57@users.noreply.github.com> 30 May 2018, 23:35:15 UTC
7301dd9 bpo-33696: Install python-docs-theme even if SPHINXBUILD is defined (GH-7242) (cherry picked from commit 05f1c8902c78dce66aed067444e2b973221bae2b) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 30 May 2018, 17:37:52 UTC
b729af3 regrtest: repeat summary after re-run (GH-7159) (GH-7245) Using -w, when failing tests are re-run in verbose mode, display again the tests results at the end. (cherry picked from commit c6c05d0e69cd5a7d0205019c29a1236b7bf3f5b9) 30 May 2018, 15:41:30 UTC
f7a19c2 bpo-33692: pythoninfo detect libedit on Python 3.6 (GH-7244) Check which readline implementation is used based on the readline docstring. 30 May 2018, 14:49:07 UTC
be325e6 Improve ensurepip's --help (GH-4686) (GH-7239) * Add a space to ensurepip's --altinstall option * Add periods to the arguments of ensurepip that didn't have it This makes --help for all optional arguments consistent and also makes it consistent with pip --help. (cherry picked from commit e9537ad6a128924dd610bea2268065500c174181) Co-authored-by: Wieland Hoffmann <mineo@users.noreply.github.com> 30 May 2018, 11:56:19 UTC
3b263e6 bpo-32684: Fix gather to propagate cancel of itself with return_exceptions (GH-7224) 29 May 2018, 23:20:01 UTC
51bf38f bpo-30935: update get_event_loop docs (GH-2731) (cherry picked from commit e55de2d77f10d524be0b426e587fbc820f76de71) Co-authored-by: Mandeep Singh <daxlab@users.noreply.github.com> 29 May 2018, 19:33:29 UTC
6aacc16 Fix ci for 3.6 / asyncio / test_stdin_broken_pipe (#7212) 29 May 2018, 18:57:38 UTC
5e9e9db bpo-33197: Update a error message of invalid inspect.Parameters. (GH-6636) (#7205) (cherry picked from commit a9cab433bbf02f3a1de59d14dc8f583181ffe2d5) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> 29 May 2018, 15:59:27 UTC
e151f83 bpo-33672: Fix Task.__repr__ crash with Cython's bogus coroutines (GH-7180) [3.6 backport of 989b9e0] 29 May 2018, 04:55:27 UTC
7593b8a bpo-33674: asyncio: Fix SSLProtocol race (GH-7175) (GH-7188) Fix a race condition in SSLProtocol.connection_made() of asyncio.sslproto: start immediately the handshake instead of using call_soon(). Previously, data_received() could be called before the handshake started, causing the handshake to hang or fail. (cherry picked from commit be00a5583a2cb696335c527b921d1868266a42c6) 29 May 2018, 04:46:48 UTC
325320d bpo-32878: Adds documentation for st_ino on Windows (GH-5764) (GH-7190) 29 May 2018, 02:27:11 UTC
08beaf7 bpo-33670: Expose Sphinx errorlevel (GH-7156) (cherry picked from commit 8c1ad0c4f69390fded09012e1ed5242c45753bb4) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 29 May 2018, 01:49:50 UTC
a6d6bd7 bpo-33469: RuntimeError after closing loop that used run_in_executor (GH-7171) (cherry picked from commit fdccfe09f0b10776645fdb04a0783d6864c32b21) Co-authored-by: Yury Selivanov <yury@magic.io> 29 May 2018, 01:32:17 UTC
d8af830 bpo-33673: Install python-docs-theme even if Sphinx is already installed (GH-7163) (cherry picked from commit 3d3e66c2daebd8e6b18944eac7546168c0006c78) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 29 May 2018, 01:08:17 UTC
100db0b bro-33614: Override exit code in find_msbuild.bat (GH-7169) (cherry picked from commit f9b364fe51ac083e3e423b1e2cefe0e1ad7d9a60) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 28 May 2018, 22:38:30 UTC
7e8819a bpo-31647: Fix write_eof() after close() for SelectorSocketTransport (GH-7149) (#7154) Fixed bug where calling write_eof() on a _SelectorSocketTransport after it's already closed raises AttributeError. (cherry picked from commit 23f587e395e41bd5e116312b036183f42bc4159b) Co-authored-by: twisteroid ambassador <twisteroidambassador@users.noreply.github.com> 28 May 2018, 20:25:03 UTC
c489a76 bpo-33614: Ensures module definition files for the stable ABI on Windows are correctly regenerated. (GH-7165) (cherry picked from commit e97ba4c690613d734843db218aeedce2f0e5937f) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 28 May 2018, 20:16:07 UTC
6ec325d bpo-32374: Ignore Python-level exceptions in test_bad_traverse (GH-7145) (cherry picked from commit 08c5aca9d13b24b35faf89ebd26fc348ae1731b2) Co-authored-by: Marcel Plch <gmarcel.plch@gmail.com> 28 May 2018, 16:37:10 UTC
ae27dee bpo-33655: Also ignore test_posix_fallocate failures on BSD platforms (GH-7134) The failure may be due to the use oF ZFS, a case we already ignore for Solaris-based systems where ZFS is frequently used. (cherry picked from commit 09c4a7dee2eb39b515e5f499f184257cdbe9cb42) Co-authored-by: Ned Deily <nad@python.org> 26 May 2018, 21:57:59 UTC
717204f [3.6] bpo-32769: A new take on annotations/type hinting glossary entries (GH-6829) (GH-7128) * [3.6] bpo-32769: A new take on annotations/type hinting glossary entries (GH-6829). (cherry picked from commit 6e33f810c9e3a549c9379f24cf1d1752c29195f0) Co-authored-by: Andrés Delfino <adelfino@gmail.com> * Typo fix spotted by Guido 26 May 2018, 17:41:12 UTC
9ba3be4 bpo-33644: Fix signatures of tp_finalize handlers in testing code. (GH-7111) (GH-7125) (cherry picked from commit 19de8b3dd742fb53681478ad4fff57ed7c37a953) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 26 May 2018, 10:17:08 UTC
ecd0bb2 test.regrtest: flush stdout when display progress (GH-7105) runtest_mp.py: call print() with flush=True. (cherry picked from commit 4f0bc7f7ab6ec23594b0efe11d082f78ae42abed) Co-authored-by: Victor Stinner <vstinner@redhat.com> 25 May 2018, 17:08:23 UTC
20b797d bpo-33012: Add -Wno-cast-function-type for gcc 8. (GH-6757) (cherry picked from commit ef91ddeae79497fac25545dd68ee55a5a3c60e8d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 25 May 2018, 11:02:54 UTC
749afe8 [3.6] bpo-26819: Prevent proactor double read on resume (GH-6921) (#7110) The proactor event loop has a race condition when reading with pausing/resuming. `resume_reading()` unconditionally schedules the read function to read from the current future. If `resume_reading()` was called before the previously scheduled done callback fires, this results in two attempts to get the data from the most recent read and an assertion failure. This commit tracks whether or not `resume_reading` needs to reschedule the callback to restart the loop, preventing a second attempt to read the data.. (cherry picked from commit 4151061855b571bf8a7579daa7875b8e243057b9) Co-authored-by: CtrlZvi <viz+github@flippedperspective.com> 25 May 2018, 08:03:25 UTC
36f066a Document typing.NoReturn (GH-7107) (cherry picked from commit 6e413f4327a68c4c7d62e0b6d0f9144be11dd6cd) Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com> 25 May 2018, 04:56:24 UTC
back to top