summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 3.6.6 finalv3.6.6Ned Deily2018-06-267-18/+37
|
* 3.6.6rc1v3.6.6rc1Ned Deily2018-06-1294-631/+1337
|
* bpo-31432: Clarify ssl CERT_NONE/OPTIONAL/REQUIRED docs. (GH-3530) (GH-7652)Ned Deily2018-06-122-13/+27
| | | | | | | | 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.
* bpo-33656: Mention color in idlelib/NEWS.txt entry. (GH-7646)Miss Islington (bot)2018-06-111-4/+5
| | | | | (cherry picked from commit 4b704f29f5a0b6f6d7bd67468ed004bd3a96855d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-33656: Add enum name for argument of Windows call. (GH-7642)Miss Islington (bot)2018-06-111-1/+4
| | | | | | 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>
* bpo-33656: On Windows, add API call saying that tk scales for DPI (GH-7137)Miss Islington (bot)2018-06-115-3/+30
| | | | | | | | | | | | | | 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>
* bpo-33831: Make htmlview run again (GH-7628)Miss Islington (bot)2018-06-111-1/+1
| | | | | (cherry picked from commit 0e5f901508dea6437dc9ee89b434feca721d45be) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-30820: Remove incorrect docs for email.contentmanager.raw_data_manager ↵Miss Islington (bot)2018-06-111-9/+0
| | | | | | | | | (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>
* bpo-23404: Update/sync What's New files for 3.6/3.5/2.7 (GH-7622)Ned Deily2018-06-113-19/+233
|
* more pypi.python.org -> pypi.org for 3.6 (GH-7616)Ned Deily2018-06-112-2/+2
|
* pypi.python.org -> pypi.org (GH-7613) (GH-7615)Miss Islington (bot)2018-06-115-6/+6
| | | | | (cherry picked from commit 9d6d06e8065d45f375f4a80e2d7e13b032da1f5b) Co-authored-by: Ned Deily <nad@python.org>
* bpo-30167: Prevent site.main() exception if PYTHONSTARTUP is set. (GH-6731) ↵Miss Islington (bot)2018-06-113-2/+4
| | | | | | | | (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>
* bpo-33812: Corrected astimezone for naive datetimes. (GH-7578) (GH-7601)Miss Islington (bot)2018-06-105-14/+36
| | | | | | | | | | | | | | | | | | | | | 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>
* bpo-33748: fix tests altering sys.path and sys.modules (GH-7433) (GH-7603)Miss Islington (bot)2018-06-101-19/+20
| | | | | (cherry picked from commit 4ab4695388fb9ec03a14d93e90ce50d832a920ec) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
* bpo-33610: Update IDLE Code Context doc entry (GH-7597)Miss Islington (bot)2018-06-102-203/+208
| | | | | | Users can now click on context lines. (cherry picked from commit af4b0130d44bf8a1ff4f7b46195d1dc79add444a) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-33820: Fix IDLE What's New typo (GH-7594)Miss Islington (bot)2018-06-101-1/+1
| | | | | (cherry picked from commit 820c53ac612e9c4b3cb3e831537a15d5e953bbc0) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.6] Fix spaces added after hyphens in news entries. (GH-7579) (GH-7584)Serhiy Storchaka2018-06-105-7/+7
| | | | Seems they were added by double applying blurb. (cherry picked from commit 98a0e466cd94d4635769cfdfd397c43c07384595)
* bpo-33820: Update idlelib subsection of What's New 3.6 (GH-7589)Miss Islington (bot)2018-06-101-0/+37
| | | | | (cherry picked from commit e226eb71575ad22a6779b02941377665831cfff2) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Remove hyphens from phrase "picks up where it left off" (GH-7410)Miss Islington (bot)2018-06-101-3/+3
| | | | | (cherry picked from commit d689f976199d2e211a97d526b57cfa9871cc578d) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* Fix typo in object.__getnewargs__() documentation (GH-7554)Miss Islington (bot)2018-06-101-1/+1
| | | | | (cherry picked from commit 0e0534c4024c181aa47a300142c59eeeee71db46) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-33766: Document that end of file or string is a newline (GH-7383)Miss Islington (bot)2018-06-101-5/+6
| | | | | (cherry picked from commit 0aa17ee6a76df0946d42e7657a501f1862065a22) Co-authored-by: Ammar Askar <ammar_askar@hotmail.com>
* bpo-33718: regrtest: use "xxx then yyy" result if re-run (GH-7521)Miss Islington (bot)2018-06-092-7/+44
| | | | | | | | | 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>
* Docs: fix some wrong words (GH-6987)Mariatta2018-06-092-4/+4
| | | | | | | 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>
* bpo-30805: Avoid race condition with debug logging (GH-7545)Miss Islington (bot)2018-06-082-2/+5
| | | | | | Supersedes https://github.com/python/cpython/pull/2490 (cherry picked from commit 12f482e0ae33021c04264294f33fa6baa9617cec) Co-authored-by: Yury Selivanov <yury@magic.io>
* bpo-11874: fix assertion failure in argparse metavar handling (GH-1826)Miss Islington (bot)2018-06-083-10/+40
| | | | | | | | - 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>
* bpo-31215: Add version changed notes for OpenSSL 1.1.0 compatibility (GH-7346)Miss Islington (bot)2018-06-081-0/+3
| | | | | (cherry picked from commit 9ef1b0690b90c526798b6b3125b0fa7ae98319a2) Co-authored-by: Mayank Singhal <17mayank.singhal@gmail.com>
* Update idlelib/NEWS.txt to 2018 Jun 8 am. (GH-7517)Miss Islington (bot)2018-06-081-0/+27
| | | | | (cherry picked from commit b1f690294d9bf948d148df3ca0d20ca462d902b3) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-33768: IDLE: Clicking on code context line moves it to top of editor ↵Miss Islington (bot)2018-06-083-0/+50
| | | | | | | (GH-7411) (cherry picked from commit 041272b657867f5bec925b19aabf23944125d49b) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
* bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() ↵Yury Selivanov2018-06-080-0/+0
| | | | (GH-7467) (#7514)
* bpo-33791: Update README for macOS users (GH-7471)Miss Islington (bot)2018-06-081-0/+5
| | | | | (cherry picked from commit ee994d7443a7e2809a5d49bd3679fc9c451a411b) Co-authored-by: atg7000 <38963069+atg7000@users.noreply.github.com>
* bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() ↵Yury Selivanov2018-06-083-8/+64
| | | | (GH-7467) (GH-7507)
* bpo-33642 and bpo-33679: Revise and condense blurbs (GH-7500)Miss Islington (bot)2018-06-072-21/+5
| | | | | (cherry picked from commit bed523ba03c4525c9c79a6df700284b6c43024b3) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.6] bpo-32392: Document env keyword argument of subprocess.run() (GH-7289)Berker Peksag2018-06-071-1/+6
| | | | | | | | (cherry picked from commit af1ec97a6d1dde68b2dc0ee9b78965eb219061a8) Conflicts: Doc/library/subprocess.rst
* [3.6] bpo-32676, test_asyncio: Fix warning in test_error_in_call_soon() ↵Victor Stinner2018-06-072-2/+6
| | | | | | | | | | | | | | | | | | | | (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.
* bpo-17909: Document that json.load can accept a binary IO (GH-7366)Miss Islington (bot)2018-06-071-3/+7
| | | | | (cherry picked from commit bb6366bd7570ff3b74bc66095540bea78f31504e) Co-authored-by: Anthony Sottile <asottile@umich.edu>
* bpo-33773: Fix test.support.fd_count() on Linux/FreBSD (GH-7421)Miss Islington (bot)2018-06-062-8/+21
| | | | | | | | | | | | 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>
* bpo-33781: audioop: enhance rounding double as int (GH-7447) (GH-7451)Miss Islington (bot)2018-06-061-11/+17
| | | | | | | | | 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>
* remove hg support from patchcheck (GH-7440)Miss Islington (bot)2018-06-061-21/+3
| | | | | (cherry picked from commit b8c0845fee9277b1106ceecbf7592f8806c73ec8) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* bpo-5755: Move -Wstrict-prototypes to CFLAGS_NODIST (GH-7395)INADA Naoki2018-06-063-10/+64
| | | (cherry picked from commit e33648484775fa533fc8f1e5cc45f60061d29d54)
* bpo-33751: Fix test_file. (GH-7378)Miss Islington (bot)2018-06-051-84/+78
| | | | | | | | | 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>
* [3.6] bpo-33753: Refactor creating temporary files in test_fileinput. ↵Serhiy Storchaka2018-06-051-126/+88
| | | | | | (GH-7377). (GH-7431) (cherry picked from commit 5f48e2644dcfb47f0bbc0fcdc2b103a19bdec288)
* bpo-33752: Fix a file leak in test_dbm. (GH-7376)Miss Islington (bot)2018-06-051-4/+2
| | | | | | With addCleanup() f.close() was executed after tearDown(). (cherry picked from commit 6592d7fe11477f8f974d2d4a85c3382a1ad05217) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-33767: Fix improper use of SystemError by mmap.mmap objects (GH-7381)Miss Islington (bot)2018-06-053-20/+12
| | | | | | Raise TypeError instead of SystemError for unsupported operations. (cherry picked from commit e9e397605789b2a67b67558fbbe756b7b88934f5) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* Enable the verbose build for extension modules with GNU make (GH-6659)Miss Islington (bot)2018-06-042-1/+7
| | | | | (cherry picked from commit 10f715d71218ece737f990fa55027b8e1120cc3a) Co-authored-by: Matthias Klose <doko42@users.noreply.github.com>
* bpo-27902: Add compatibility note to Profile docs (GH-7295)Miss Islington (bot)2018-06-041-5/+6
| | | | | (cherry picked from commit f7745e1dcb8e8473cc86112a0213b3f244a07230) Co-authored-by: Tobias Kunze <r@rixx.de>
* bpo-33761: Fix a file leak in test_iterparse in test_xml_etree. (GH-7358)Miss Islington (bot)2018-06-041-3/+5
| | | | | (cherry picked from commit 13f51d9eec569e08475390e2a8f49f4afed1ea06) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-33640, uuid.UUID doc: document endian of bytes parameter (GH-7263)Miss Islington (bot)2018-06-041-6/+7
| | | | | | The bytes parameter uses big endian. (cherry picked from commit b75ec0856771b51684b08c4e5068fbfad25c5e83) Co-authored-by: Farhaan Bukhsh <farhaan.bukhsh@gmail.com>
* bpo-31849: Fix warning in pyhash.c (GH-6799)Miss Islington (bot)2018-06-042-2/+3
| | | | | (cherry picked from commit a8eb58546b37a7cd5f332f019bb07388f5212c2d) Co-authored-by: A. Jesse Jiryu Davis <jesse@emptysquare.net>
* bpo-33763: IDLE: Replace label widget with text widget in code context (GH-7367)Miss Islington (bot)2018-06-043-52/+57
| | | | | (cherry picked from commit b609e687a076d77bdd687f5e4def85e29a044bfc) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
* bpo-33664: Scroll IDLE editor text by lines (GH-7351)Miss Islington (bot)2018-06-042-2/+32
| | | | | | | | | 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>