summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-31904: Fix test_os.test_getcwd_long_path() failure for VxWorks (GH-20256)pxinwr2020-11-282-0/+5
|
* bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538)Zackery Spytz2020-11-281-1/+1
|
* bpo-34215: Clarify IncompleteReadError message when "expected" is None ↵Zackery Spytz2020-11-283-4/+9
| | | | | (GH-21925) Co-Authored-By: Tyler Bell <mrbell321@gmail.com>
* bpo-41241: Unnecessary Type casting in 'if condition' (GH-21396)Wansoo Kim2020-11-281-1/+1
| | | | | | | | This is my first issue! So, if there's anything wrong, please tell me! Also, thank you always for all the contributors! Automerge-Triggered-By: GH:asvetlov
* bpo-42392: Remove loop parameter from asyncio.tasks and asyncio.subprocess ↵Yurii Karabas2020-11-289-158/+66
| | | | (GH-23521)
* bpo-42452: Improve colorsys.rgb_to_hls code (GH-23306)Julien Jerphanion2020-11-281-7/+8
| | | Cache repeated sum and difference to make code slightly faster and easier to read.
* bpo-42474: test TracebackException comparison to non-equal instances (GH-23522)Irit Katriel2020-11-271-2/+39
| | | Closes bpo-42474
* bpo-41818: Make test_openpty() avoid unexpected success due to number of ↵Soumendra Ganguly2020-11-272-19/+11
| | | | rows and/or number of columns being == 0. (GH-23526)
* bpo-17852: Doc: Fix the tutorial about closing files (GH-23135)Volker-Weissmann2020-11-271-5/+10
| | | Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* Document optional 'task'/'asyncgen' fields in call_exception_handler (#21735)Shane Harvey2020-11-261-1/+4
|
* bpo-41332: Added missing connect_accepted_socket() to AbstractEventLoop ↵Alex Grönholm2020-11-263-8/+16
| | | | | | (GH-21533) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> Co-authored-by: Kyle Stanley <aeros167@gmail.com>
* bpo-42392: Remove loop parameter from asyncio.streams (GH-23517)Yurii Karabas2020-11-266-109/+56
|
* bpo-41818: test_openpty succeed on Gentoo, don't expect to fail on this ↵Andrew Svetlov2020-11-251-0/+14
| | | | platform (GH-23514)
* Typo: fix inverted sense of statement (GH-23288)basak2020-11-251-1/+1
| | | | | | | Looks like a "not" was inadvertently omitted in commit e6a7ea4. Classmethods are useful when data stored in specific instances are *not* needed. Automerge-Triggered-By: GH:JulienPalard
* bpo-41818: Updated tests for the standard pty library (GH-22962)Soumendra Ganguly2020-11-252-11/+112
|
* bpo-42299: Remove formatter module (GH-23476)Dong-hee Na2020-11-257-818/+12
|
* bpo-42392: Improve removal of *loop* parameter in asyncio primitives (GH-23499)Yurii Karabas2020-11-255-35/+46
| | | | | | | | | | * Update code after merge review from 1st1 * Use a sentinel approach for loop parameter Remove unnecessary _get_running_loop patching * Use more clear function name (_verify_parameter_is_marker -> _verify_no_loop) * Add init method to _LoopBoundMixin to check that loop param wasn't used
* bpo-42202: Store func annotations as a tuple (GH-23316)Yurii Karabas2020-11-258-155/+174
| | | | | | | | | | | | | Reduce memory footprint and improve performance of loading modules having many func annotations. >>> sys.getsizeof({"a":"int","b":"int","return":"int"}) 232 >>> sys.getsizeof(("a","int","b","int","return","int")) 88 The tuple is converted into dict on the fly when `func.__annotations__` is accessed first. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* Add more tests to the descriptor howto guide (GH-23506)Raymond Hettinger2020-11-251-4/+25
|
* bpo-12800: tarfile: Restore fix from 011525ee9 (GH-21409)Julien Palard2020-11-253-3/+10
| | | Restore fix from 011525ee92eb1c13ad1a62d28725a840e28f8160.
* bpo-42238: Doc: Remove make suspicious from the CI and docs builds. (GH-23313)Julien Palard2020-11-255-4/+5
| | | | | It probably helped a lot a while back, but may not be as usefull today. We'll continue monitoring it before deletion, so true positives can be migrated to rstlint.
* Doc: Minor fixes (GH-23422)kj2020-11-252-3/+3
|
* Add doctests to the descriptor HowTo (GH-23500)Raymond Hettinger2020-11-251-57/+397
|
* bpo-40170: Hide impl detail of Py_TRASHCAN_BEGIN macro (GH-23235)Hai Shi2020-11-243-1/+15
| | | | | The Py_TRASHCAN_BEGIN macro no longer accesses PyTypeObject attributes, but now can get the condition by calling the new private _PyTrash_cond() function which hides implementation details.
* bpo-42392: Remove loop parameter form asyncio locks and Queue (#23420)Yurii Karabas2020-11-2410-451/+304
| | | Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* bpo-42370: Check element before making mouse click in ttk tests (GH-23491)Serhiy Storchaka2020-11-241-3/+11
|
* bpo-42212: smelly.py also checks the dynamic library (GH-23423)Victor Stinner2020-11-243-36/+124
| | | | | | | | The smelly.py script now also checks the Python dynamic library and extension modules, not only the Python static library. Make also the script more verbose: explain what it does. The GitHub Action job now builds Python with the libpython dynamic library.
* bpo-42260: Improve error handling in _PyConfig_FromDict (GH-23488)Serhiy Storchaka2020-11-241-4/+9
|
* bpo-41100: in test_platform, ignore 10.16 (GH-23485)Ned Deily2020-11-241-1/+4
|
* bpo-41100: minor build installer fixes (GH-23480)Ned Deily2020-11-241-6/+12
|
* Typo (#23482)Jesús Cea2020-11-231-1/+1
|
* Added support for negative indexes to PurePath.parents (GH-21799)Yaroslav Pankovych2020-11-237-5/+15
| | | | | | | | | | This commit also fixes up some of the overlapping documentation changed in bpo-35498, which added support for indexing with slices. Fixes bpo-21041. https://bugs.python.org/issue21041 Co-authored-by: Paul Ganssle <p.ganssle@gmail.com> Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
* Descriptor HowTo: Improve the fidelity of the member object simulation ↵Raymond Hettinger2020-11-231-11/+46
| | | | (GH-23475)
* bpo-15450: Allow subclassing of dircmp (GH-23424) (#23424)Nick Crews2020-11-235-13/+60
| | | Co-authored-by: Chris Jerdonek <chris.jerdonek@gmail.com>
* bpo-28850: Fix PrettyPrinter.format overrides ignored for contents of small ↵Irit Katriel2020-11-233-75/+89
| | | | containers (GH-22120)
* bpo-42328: Fix tkinter.ttk.Style.map(). (GH-23300)Serhiy Storchaka2020-11-224-28/+111
| | | | | | | The function accepts now the representation of the default state as empty sequence (as returned by Style.map()). The structure of the result is now the same on all platform and does not depend on the value of wantobjects.
* bpo-42435: Speed up comparison of bytes and bytearray object (GH--23461)Serhiy Storchaka2020-11-223-33/+14
| | | | | * Speed up comparison of bytes objects with non-bytes objects when option -b is specified. * Speed up comparison of bytarray objects with non-buffer object.
* Doc: fix typo in typing.Type docs (GH-23460)John Belmonte2020-11-221-1/+1
|
* bpo-42423: Accept single base class in PyType_FromModuleAndSpec() (GH-23441)Serhiy Storchaka2020-11-227-28/+17
|
* bpo-42427: Use the errno attribute of OSError instead of args[0] (GH-23449)Serhiy Storchaka2020-11-223-11/+11
|
* bpo-42391: Clarify documentation of TestCase.assertIs (GH-23348)Ram Rachum2020-11-221-2/+1
| | | Removing 'evaluate' makes it more consistent with other assertX entries.
* bpo-41116: Ensure system supplied libraries are found on macOS 11 (GH-23301)Ronald Oussoren2020-11-224-30/+38
| | | | | | On macOS system provided libraries are in a shared library cache and not at their usual location. This PR teaches distutils to search in the SDK, even if there was no "-sysroot" argument in the compiler flags.
* bpo-42426: IDLE: Fix reporting offset of the RE error in searchengine (GH-23447)Serhiy Storchaka2020-11-224-9/+11
|
* bpo-41100: Stripping '-arch arm64' didn't work after all (GH-23280)Ronald Oussoren2020-11-221-2/+2
|
* bpo-42361: Use Tcl/Tk 8.6.10 when building the installer on recent macOS ↵Ronald Oussoren2020-11-221-9/+32
| | | | | | (GH-23293) Building on older versions, and in particular macOS 10.9 still use Tk 8.6.8 because of build problems on that version of macOS.
* bpo-38443: Check that the specified universal architectures work (GH-22910)Ronald Oussoren2020-11-223-0/+34
| | | As [bpo-38443]() says the error message from configure when specifying --enable-universalsdk with a set of architectures that is not supported by the compiler is not very helpful. This PR explicitly checks if the compiler works and bails out if it doesn't.
* Clarify that Set._from_iterable is not required to be a classmethod. (GH-23272)Richard Levasseur2020-11-212-1/+57
|
* bpo-1635741: Port select module to multiphase init (GH-23409)Christian Heimes2020-11-213-85/+110
|
* bpo-1635741: Port _posixsubprocess module to multiphase init (GH-23406)Christian Heimes2020-11-212-35/+43
|
* bpo-42425: Fix possible leak in initialization of errmap for OSError (GH-23446)Serhiy Storchaka2020-11-211-1/+3
|