summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "closes bpo-27494: Fix 2to3 handling of trailing comma after a ↵Miss Islington (bot)2018-07-307-36/+12
| | | | | | | | | | generator expression (GH-3771)" (GH-8241) This reverts commit af810b35b494ef1d255d4bf340b92a9dad446995. This is not valid syntax (see bpo-32012). (cherry picked from commit 4b8a7f51da224d1a0ad8159935f78ba4e6e16037) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-27671: Update FAQ about why len is function (GH-8432)Miss Islington (bot)2018-07-301-18/+19
| | | | | (cherry picked from commit c48e26dcadbff8620bb5881d3bd148fc8894d0ef) Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
* bpo-33833: Fix ProactorSocketTransport AssertionError (GH-7893)Miss Islington (bot)2018-07-303-0/+19
| | | | | (cherry picked from commit 9045199c5aaeac9b52537581be127d999b5944ee) Co-authored-by: twisteroid ambassador <twisteroidambassador@users.noreply.github.com>
* Use 'for example' instead of 'in other words' in compound statement doc ↵Miss Islington (bot)2018-07-301-1/+1
| | | | | | | (GH-8401) (cherry picked from commit 6921ef7bef4eab3819b3d0fda5fa3e3b2a8c0613) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* Fix typos & formatting in Using Python on Windows doc (GH-8559)Miss Islington (bot)2018-07-301-4/+4
| | | | | (cherry picked from commit 8e7e8bd8984068e3245d64b9a21e6840880747af) Co-authored-by: Segev Finer <segev208@gmail.com>
* bpo-34217: Use lowercase header for Windows (GH-8453)Miss Islington (bot)2018-07-292-2/+2
| | | | | (cherry picked from commit 6cf8255912c36fec6f87f62513034d0818f61390) Co-authored-by: erikjanss <erik.janssens@conceptive.be>
* bpo-34035: Fix several AttributeError in zipfile seek() methods. (GH-8527)Miss Islington (bot)2018-07-294-4/+9
| | | | | (cherry picked from commit 3f8c6913b82ed9c05e57175bcbfeacde46c598e3) Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr>
* bpo-34182: Fix test_pydoc running as a script. (GH-8389)Miss Islington (bot)2018-07-291-1/+2
| | | | | (cherry picked from commit 4e11c461ed39085b8495a35c9367b46d8a0d306d) Co-authored-by: Bo Bayles <bbayles@gmail.com>
* bpo-31047: Fix ntpath.abspath for invalid paths (GH-8544)Miss Islington (bot)2018-07-293-22/+26
| | | | | (cherry picked from commit d2e902e4fb304f27e4a72356efbc1fc26be3935d) Co-authored-by: Franz Wöllert <franz.woellert@gmail.com>
* bpo-34231: PYTHONBREAKPOINT is not documented on python --help (GH-8475)Steve Dower2018-07-292-0/+5
|
* bpo-8145: Improve isolation_level documentation (GH-8499)Steve Dower2018-07-291-14/+22
| | | Initial patch by R. David Murray.
* Updated MSI README to mention dependency on .NET 3.5. (GH-8375)Miss Islington (bot)2018-07-291-0/+8
| | | | | (cherry picked from commit c536beedd50b0071208b4108ba9b48a36ffced79) Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
* bpo-33666: Add what's new entry for os.errno removal (GH-8497) (GH-8526)Miss Islington (bot)2018-07-291-0/+6
| | | | | | | (cherry picked from commit 1d2dafa249c7fb34f3d24e7a77d1bea02907d92b) Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
* bpo-30237: Output error when ReadConsole is canceled by CancelSynchronousIo. ↵Miss Islington (bot)2018-07-293-2/+11
| | | | | | | (GH-7911) (cherry picked from commit ce75df3031c86b78311b1ad76c39c0b39d7d7424) Co-authored-by: ValeriyaSinevich <valeriya.sinevich@phystech.edu>
* bpo-34251: Restore msilib.Win64 to preserve compatibility (GH-8510)Miss Islington (bot)2018-07-282-0/+4
| | | | | (cherry picked from commit 11eb1a94704142385ffc07852739863ced8587d2) Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
* bpo-29710: Clarify documentation for Bitwise binary operation (GH-1691)Miss Islington (bot)2018-07-281-7/+13
| | | | | | | | Mathematically, bitwise operations on integers behave as if there were an infinite number of sign bits. Pragmatically, that gives the same answer as using one extra sign bit for the bitwise logical operations. (cherry picked from commit b4bc5cab82e6855e4ebc33ba0b669ddffad30fb3) Co-authored-by: Sanyam Khurana <8039608+CuriousLearner@users.noreply.github.com>
* bpo-24356: Specify which Python binary will be used with venv (GH-6589)Steve Dower2018-07-282-8/+9
|
* bpo-33476: Fix _header_value_parser when address group is missing final ';' ↵Miss Islington (bot)2018-07-283-1/+28
| | | | | | | (GH-7484) (cherry picked from commit 8fe9eed937cb69b5e26ac6e36a90b5360eb11277) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
* bpo-33921: Clarify how to bind to all interfaces using socket (GH-7877)Miss Islington (bot)2018-07-281-6/+7
| | | | | | Clarify how to bind to all interfaces using socket (cherry picked from commit 95dfb9c3aefdc981d23af700b753a6c97159ccad) Co-authored-by: johnthagen <johnthagen@users.noreply.github.com>
* bpo-5978: Document that profiling needs cmd/function to return (GH-7938)Miss Islington (bot)2018-07-281-0/+5
| | | | | | | | <!-- issue-number: bpo-5978 --> https://bugs.python.org/issue5978 <!-- /issue-number --> (cherry picked from commit 937fb55d35373fd2701078251840b6be0465a6e1) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-30722: Fix NEWS entries (GH-8501)Miss Islington (bot)2018-07-272-6/+0
| | | | | (cherry picked from commit 612dbefe9dfce0f67bce358613e472e913be8a57) Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
* vsts: Avoid conflict with Homebrew Python (GH-8430)Miss Islington (bot)2018-07-272-2/+2
| | | | | | /usr/local/lib/pythonX.Y is used by Homebrew's Python already. (cherry picked from commit 3e7d18a54b9243b9652c9ddab87c2b9153dc365f) Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
* bpo-12743: Delete comment from marshal.rst (GH-8457)Miss Islington (bot)2018-07-261-14/+10
| | | | | | | | | Also, update the list of exceptions that may raised by PyMarshal_* functions. We usually don't document exceptions raised by a function, but in this case most of them were already documented in C API and standard library documentation. (cherry picked from commit defcffdf86780e3a184ebb25dc9a7b807753d57a) Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
* bpo-34225: Ensure INCLUDE and LIB directories do not end with a backslash. ↵Steve Dower2018-07-262-2/+3
| | | | (GH-8464)
* bpo-32663 Make SMTPUTF8SimTests run (GH-5314) (#8471)Miss Islington (bot)2018-07-262-25/+16
| | | | | | | | | | | | | | Enable and fix SMTPUTF8SimTests in test_smtplib. The tests for SMTPUTF8SimTests in test_smtplib.py were not actually being run because test_smtplib was still using the 'test_main' pattern, and the class was never added to test_main. Additionally, one of the tests needed to be moved to the non-UTF8 server class because it relies on the server not being UTF-8 compatible (and it had a bug in in). (cherry picked from commit 48ed88a93bb0bbeaae9a4cfaa533e4edf13bcb51) Co-authored-by: chason <chason@gmail.com>
* bpo-29097: Forego fold detection on windows for low timestamp values ↵Miss Islington (bot)2018-07-254-2/+34
| | | | | | | | (GH-2385) (GH-8466) On Windows, passing a negative value to local results in an OSError because localtime_s on Windows does not support negative timestamps. Unfortunately this means that fold detection for timestamps between 0 and max_fold_seconds will result in this OSError since we subtract max_fold_seconds from the timestamp to detect a fold. However, since we know there haven't been any folds in the interval [0, max_fold_seconds) in any timezone, we can hackily just forego fold detection for this time range on Windows. (cherry picked from commit 96d1e69a12ed8ab80203277e1abdaf573457a964) Co-authored-by: Ammar Askar <ammar_askar@hotmail.com>
* bpo-28677: Improve phrasing of when instance attribute is referenced (GH-6208)Miss Islington (bot)2018-07-251-2/+2
| | | | | (cherry picked from commit c0f0a7669c73c0d444851dd4c5299de2479214cc) Co-authored-by: Aaron Ang <aaronang@users.noreply.github.com>
* Fix site module documentation. (GH-8441)Miss Islington (bot)2018-07-241-1/+1
| | | | | | The script will exit with the number 0 (zero), instead of the letter O. (cherry picked from commit 95d34c2a37f4c5046f6439abef881925d34fe4ac) Co-authored-by: Mariatta <Mariatta@users.noreply.github.com>
* [3.7] bpo-34136: Make test_do_not_recreate_annotations more reliable. ↵Miss Islington (bot)2018-07-241-5/+8
| | | | | | | | (GH-8364) (GH-8365) (cherry picked from commit 06ca3f0c09d017b9d741553818459cca2d5da587) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-34164: Fix handling of incorrect padding in base64.b32decode(). ↵Miss Islington (bot)2018-07-243-17/+21
| | | | | | | | | (GH-8351) (GH-8435) Now base64.Error is always raised instead of UnboundLocalError or OverflowError. (cherry picked from commit ac0b3c2f4d86fc056b833a4e6b9a380741244a63) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-34084: Fix setting an error message for the "Barry as BDFL" easter egg. ↵Miss Islington (bot)2018-07-243-8/+22
| | | | | | | (GH-8262) (GH-8423) (cherry picked from commit aba24ff3601ddc86b85e01880a8be596fb799287) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-34183: Fix running Lib/test/test_contextlib_async.py as a script. ↵Miss Islington (bot)2018-07-241-1/+1
| | | | | | | (GH-8381) (GH-8422) (cherry picked from commit db8e3a1e4476620b2b5aaf57acfc3ef58a08213b) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-34190: Fix reference leak in call_function() (GH-8413) (GH-8418)Miss Islington (bot)2018-07-231-5/+8
| | | | | (cherry picked from commit 147d95511f59cfdd2d522f9d736f2335457bae20) Co-authored-by: jdemeyer <jdemeyer@cage.ugent.be>
* bpo-33468: Add try-finally contextlib.contextmanager example (GH-7816) (GH-8425)Miss Islington (bot)2018-07-241-11/+17
| | | | | (cherry picked from commit bde782bb594edffeabe978abeee2b7082ab9bc2a) Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
* bpo-34184: Fix running Lib/test/test_dataclasses.py as a script. (GH-8382) ↵Miss Islington (bot)2018-07-241-5/+5
| | | | | | (GH-8421) (cherry picked from commit 3fe5cccb08283f5f4817ac432560972a4c0f5290)
* bpo-33336, imaplib: Legalize MOVE command (GH-6569) (GH-8409)Miss Islington (bot)2018-07-232-0/+4
| | | | | | | | imaplib now allows MOVE command in IMAP4.uid() (RFC 6851: IMAP MOVE Extension) and potentially as a name of supported method of IMAP4 object. (cherry picked from commit caa331d492acc67d8f4edd16542cebfabbbe1e79) Co-authored-by: Matěj Cepl <mcepl@cepl.eu>
* bpo-25094: Fix test_tools.test_sundry() on Windows (GH-8406) (GH-8407)Miss Islington (bot)2018-07-231-4/+14
| | | | | | | | | | | | | When Python is installed on Windows, python -m test test_tools failed because it tried to run Tools\scripts\2to3.py which requires an argument. Skip this script. On other platforms or on Windows but when run from source code (not installed), the script is called "2to3" instead of "2to.py" and so was already skipped. Modify also the unit test to unload all modules which have been loaded by the test. (cherry picked from commit 752d4b7531093c55d6f0a5846748f981d79b29d3) Co-authored-by: Victor Stinner <vstinner@redhat.com>
* bpo-21446: Update reload fixer to use importlib (GH-8391)Miss Islington (bot)2018-07-234-10/+12
| | | | | (cherry picked from commit 7a3056fa7dd1223fe7112e53b236c43d71f33f64) Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
* bpo-940286: Fix pydoc to show cross refs correctly (GH-8390)Miss Islington (bot)2018-07-232-2/+5
| | | | | (cherry picked from commit d04f46c59f1d07d9bcc0ba910741296ac88d370d) Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
* [3.7] bpo-34189: Add simple tests for new Tk widget options. (GH-8396) (GH-8398)Serhiy Storchaka2018-07-222-3/+36
| | | | | (cherry picked from commit e271ca78e37a502b3dc1036f824aa3999efcd56b) (cherry picked from commit c75c1e0e8aeb720ac3fcfab119b70cabba4e8235)
* bpo-34181: Fix running Lib/test/test_typing.py as a script. (GH-8380) (GH-8385)Miss Islington (bot)2018-07-221-2/+2
| | | | | (cherry picked from commit 961360923e7997a04833652623ea549b0dc02262) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Fix versionchanged indentation in popitem documentation (GH-8387) Miss Islington (bot)2018-07-211-3/+2
| | | | | (cherry picked from commit cb9c299a55c244f77563c60e5a4afcc2221eac21) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-34179: Make sure decimal context doesn't affect other tests. (GH-8376) ↵Miss Islington (bot)2018-07-211-13/+13
| | | | | | | (#8383) (cherry picked from commit 938045f335b52ddb47076e9fbe4229a33b4bd9be) Co-authored-by: Bo Bayles <bbayles@gmail.com>
* bpo-34126: Fix crashes while profiling invalid calls. (GH-8300) (GH-8371)Miss Islington (bot)2018-07-213-4/+28
| | | | | (cherry picked from commit 56868f940e0cc0b35d33c0070107ff3bed2d8766) Co-authored-by: jdemeyer <jdemeyer@cage.ugent.be>
* [3.7] bpo-34166: Fix warnings in Tools/msgfmt.py. (GH-8367) (GH-8369)Xtreak2018-07-211-3/+5
| | | | | (cherry picked from commit a692efe4733f98831cb51a9683877b152f754d14) Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com>
* bpo-33723: Fix test_time.test_process_time() (GH-8358) (GH-8362)Miss Islington (bot)2018-07-211-4/+9
| | | | | | | | | The test failed on my laptop because the busy loop took 15.9 ms whereas the test expects at least 20 ms. Modify test_process_time() as test_thread_time() has been modified recently: only require 15 ms instead of 20 ms. (cherry picked from commit e78dace8dcb23c371df19c9add65895adf436995) Co-authored-by: Victor Stinner <vstinner@redhat.com>
* bpo-34008: Allow to call Py_Main() after Py_Initialize() (GH-8043) (GH-8352)Miss Islington (bot)2018-07-215-6/+52
| | | | | | | | Py_Main() can again be called after Py_Initialize(), as in Python 3.6. The new configuration is ignored, except of _PyMainInterpreterConfig.argv which is used to update sys.argv. (cherry picked from commit fb47bca9ee2d07ce96df94b4e4abafd11826eb01) Co-authored-by: Victor Stinner <vstinner@redhat.com>
* bpo-34161: Remove extra parentheses in output formatting tutorial (GH-8350)Miss Islington (bot)2018-07-201-2/+2
| | | | | | The parentheses were incorrect. (cherry picked from commit cb5f3fdb9d353a572dd22fb50a110e52d5bb81b1) Co-authored-by: Aaqa Ishtyaq <aaqaishtyaq@gmail.com>
* bpo-34162: idlelib/NEWS.txt entries to 2018-7-20 (GH-8345) (GH-8347)Terry Jan Reedy2018-07-201-2/+39
| | | Cherry-picked from 2c5c0a3
* [3.7] Enable GUI testing on Travis Linux builds via Xvfb (GH-7887)Zachary Ware2018-07-191-2/+10
| | | (cherry picked from commit b12112b5ba608cdd7a0962a6b18cad4fe58b46e6)