summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-4442: Document use of __new__ for subclasses of immutable types (GH-27866)Raymond Hettinger2021-08-221-0/+49
|
* bpo-44957: Promote PEP 604 syntax in typing docs (GH-27833)Sebastian Rittau2021-08-222-14/+19
| | | | | | | | | | * Use "X | Y" instead of "Union" where it makes sense. * Mention that "X | Y" is equivalent to "Union[X, Y]" in Union section. * Remove "Optional[X]" as shorthand for "Union[X, None]" as the new shorthand is now "X | None". * Mention that "Optional[X]" can be written as "X | None" in section about "Optional". Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* bpo-42560: reorganize Tkinter docs modules section for clarity (GH-27840)Mark Roseman2021-08-221-17/+36
| | | | | - move description of internal modules (_tkinter and tkinter.constants) from section intro to list of additional modules at end of section, as not most important info - added missing ttk and tix here - emphasized up front that most apps will need tkinter and ttk
* bpo-42560: tweaks to intro of Tkinter docs- add macOS, drop ActiveState ↵Mark Roseman2021-08-221-3/+2
| | | | (GH-27835)
* bpo-42560: rework external references in Tkinter docs (GH-27838)Mark Roseman2021-08-221-29/+19
| | | | | | | | | | - reorganized from two sections (tkinter vs. tcl/tk) into three (tkinter, tcl/tk, and books) - main (recommended) tkinter docs have one tutorial (tkdocs) and one reference (shipman), added better descriptions - dropped link to Tkinter page on wiki (suggestion by E. Paine; outdated, most material already linked to from python.org) - replaced Tcl/Tk recent man pages and core dev home with single link to main Tcl/Tk page (which holds both of these) - updated Modern Tkinter link to book page on TkDocs site (was Amazon link to old version), dropped description - replaced Grayson book by Moore book (newer, covers ttk) - changed Ousterhout ref to second edition, covers ttk - dropped link to Welch book (old)
* bpo-41322: Add unit tests for deprecation of test return values (GH-27846)andrei kulakov2021-08-226-2/+50
| | | | Also fix the traceback of warnings.
* Remove unused UNKNOWN macros from cursor.h and prepare_protocol.h (GH-27885)Erlend Egeberg Aasland2021-08-222-2/+0
|
* bpo-44978: allow Argument Clinic to handle __complex__ special methods ↵Mark Dickinson2021-08-222-1/+1
| | | | (GH-27886)
* bpo-44955: Always call stopTestRun() for implicitly created TestResult ↵Serhiy Storchaka2021-08-223-53/+104
| | | | | | | | objects (GH-27831) Method stopTestRun() is now always called in pair with method startTestRun() for TestResult objects implicitly created in TestCase.run(). Previously it was not called for test methods and classes decorated with a skipping decorator.
* bpo-44940: Clarify the documentation of re.findall() (GH-27849)Serhiy Storchaka2021-08-221-4/+14
| | | | | Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Vedran Čačić <vedgar+github@gmail.com>
* bpo-44968: Fix test_subprocess_wait_no_same_group in test_asyncio (GH-27870)Serhiy Storchaka2021-08-211-1/+2
| | | | The code of the test was never executed because the test function was unintentionally converted to a generator function.
* bpo-44966: Fix out-of-date traceback message (GH-27867)Raymond Hettinger2021-08-211-1/+1
|
* bpo-44965: Early exit for non-DML statements in sqlite3.Cursor.executemany() ↵Erlend Egeberg Aasland2021-08-211-8/+7
| | | | (GH-27865)
* bpo-44524: Do not set _name of _SpecialForm without need (GH-27861)Serhiy Storchaka2021-08-212-12/+8
| | | | | Because setting non-empty _name affects behavior of other code. In most cases __name__ can be derived from __origin__.__name__.
* bpo-44926: `get_type_hints`: Add note about type aliases with forward refs ↵Maximilian Hils2021-08-201-0/+7
| | | | (#27859)
* bpo-44960: add regression test for geometric_mean with mixed int/floa… ↵Irit Katriel2021-08-201-0/+16
| | | | | | (#27856) Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
* bpo-44954: Fix wrong result in float.fromhex corner case (GH-27834)Mark Dickinson2021-08-203-2/+18
|
* Fix reST markup in dataclasses.rst (GH-27843)Jean-Abou-Samra2021-08-191-1/+1
| | | | The signature of field() had an extraneous colon at the end, causing it to appear all bold and without the module name.
* bpo-41322: added deprecation warning for tests returning value!=None (GH-27748)andrei kulakov2021-08-193-2/+10
|
* bpo-36384: [doc] Mention CVE-2021-29921 fix in 3.8.12 (GH-27824)Łukasz Langa2021-08-192-0/+18
|
* bpo-44830: [doc] Restore missing Mozilla devguide link (GH-27818)Jack DeVries2021-08-191-0/+4
|
* bpo-44079: Strip superfluous statement cache from sqlite3.Connection (GH-25998)Erlend Egeberg Aasland2021-08-184-116/+18
|
* bpo-44947: Refine the syntax error for trailing commas in import statements ↵Pablo Galindo Salgado2021-08-184-6/+18
| | | | (GH-27814)
* bpo-44874: deprecate Py_TRASHCAN_SAFE_BEGIN and Py_TRASHCAN_SAFE_END (GH-27693)Irit Katriel2021-08-183-4/+55
| | | | Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-44524: Fix cryptic TypeError message when trying to subclass special ↵Yurii Karabas2021-08-183-0/+21
| | | | | forms in `typing` (GH-27710) This was a Python 3.9 regression.
* bpo-44949: Fix test_readline auto history tests (#27813)Victor Stinner2021-08-182-2/+8
|
* bpo-44852: Support filtering over warnings without a set message (GH-27793)Łukasz Langa2021-08-181-4/+5
| | | | | | | | | | Additional improvements: - messages which were compiled regular expressions aren't unpacked back into strings for unmatched warnings; - removed unnecessary "if tokens:" check (there's one before the for loop); - took `endswith` calculation out of the for loop.
* bpo-44508: [Doc] Document failure mode for loop.call_soon_threadsafe (GH-27688)meowmeowmeowcat2021-08-171-0/+4
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* introduce omitted index default before using it (GH-27775)Jefferson Oliveira2021-08-171-8/+8
|
* bpo-44935: enable posix_spawn() on Solaris (GH-27795)Jakub Kulík2021-08-172-2/+5
| | | Enable posix_spawn() on Solaris
* bpo-44698: Restore complex pow behaviour for small integral exponents (GH-27772)Mark Dickinson2021-08-173-21/+37
|
* bpo-44895: Introduce PYTHONDUMPREFSFILE variable for refcount dumping (GH-27767)Dong-hee Na2021-08-175-0/+41
|
* bpo-44889: Specialize LOAD_METHOD with PEP 659 adaptive interpreter (GH-27722)Ken Jin2021-08-177-46/+351
| | | | | | | | Adds four new instructions: * LOAD_METHOD_ADAPTIVE * LOAD_METHOD_CACHED * LOAD_METHOD_MODULE * LOAD_METHOD_CLASS
* bpo-42035: Enhance test_get_type_name() of _testcapi (GH-27649)Hai Shi2021-08-171-0/+14
|
* bpo-42035: Add PyType_GetQualName() to get a type's qualified name. (GH-27551)Hai Shi2021-08-1710-0/+67
|
* bpo-44903: Removed othergui.rst and list of GUI frameworks (GH-27762)Gautam Chaudhuri2021-08-174-148/+13
|
* bpo-38956: don't print BooleanOptionalAction's default twice (GH-27672)Maximilian Hils2021-08-163-8/+16
| | | | Co-authored-by: Micky Yun Chan <michan@redhat.com>
* bpo-44914: Add tests for some invariants of tp_version_tag (GH-27774)Ken Jin2021-08-162-0/+65
|
* Fix a SystemError in code.replace() (#27771)Guido van Rossum2021-08-162-3/+14
| | | | | | | While the comment said 'We don't bother resizing localspluskinds', this would cause .replace() to crash when it happened. (Also types.CodeType(), but testing that is tedious, and this tests all code paths.)
* bpo-44852: Support ignoring specific DeprecationWarnings wholesale in ↵Łukasz Langa2021-08-164-0/+70
| | | | regrtest (GH-27634)
* bpo-44900: Add five superinstructions. (GH-27741)Mark Shannon2021-08-166-20/+133
| | | | | | | | * LOAD_FAST LOAD_FAST * STORE_FAST LOAD_FAST * LOAD_FAST LOAD_CONST * LOAD_CONST LOAD_FAST * STORE_FAST STORE_FAST
* bpo-44914: Maintain invariants of type version tags. (GH-27773)Mark Shannon2021-08-162-27/+18
| | | | * Do not invalidate type versions unnecessarily.
* bpo-44895: skip test_no_hang_on_context_chain_cycle2 until the refleak is ↵Irit Katriel2021-08-161-3/+1
| | | | fixed (GH-27761)
* bpo-44911: Fixed IsolatedAsyncioTestCase from throwing an exception on ↵Bar Harel2021-08-163-1/+22
| | | | leaked tasks (GH-27765)
* bpo-16580: [doc] Add examples to int.to_bytes and int.from_bytes (GH-27760)Gautam Chaudhuri2021-08-154-0/+73
| | | | | | | | | | * added code equivs. for to_bytes and from_bytes Based on woparry's patch[1] from the relevant issue thread[2]. [1]: https://bugs.python.org/file30372/issue16580.patch [2]: https://bugs.python.org/issue16580 Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
* bpo-44907: Update error messages in tutorial examples (GH-27755)meowmeowmeowcat2021-08-131-3/+3
|
* bpo-30077: Add support for Apple aifc/sowt pseudo-compression (GH-24449)dnknth2021-08-132-4/+20
| | | Co-authored-by: Toby Thurston <thurston@eml.cc>
* bpo-36700: [doc] Update base64 RFC references to RFC 4648 (GH-27700)andrei kulakov2021-08-133-4/+16
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-26228: [doc] Adapt PTY documentation updates from GH-4167 (GH-27754)Łukasz Langa2021-08-133-7/+11
| | | Co-authored-by: Cornelius Diekmann <c.diekmann@googlemail.com>
* Added test case based on recommended test cases from RFC 4648 (GH-27747)andrei kulakov2021-08-131-0/+39
|