summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add tests for the C tokenizer and expose it as a private module (GH-27924)Pablo Galindo Salgado2021-08-249-5/+1114
|
* bpo-42064: Pass module state to `sqlite3` UDF callbacks (GH-27456)Erlend Egeberg Aasland2021-08-242-31/+64
| | | | - Establish common callback context struct - Convert UDF callbacks to fetch module state from callback context
* bpo-43826: Fix resource warning due to unclosed objects. (GH-25381)Karthikeyan Singaravelan2021-08-241-0/+5
|
* bpo-34990: Treat the pyc header's mtime in compileall as an unsigned int ↵Ammar Askar2021-08-244-11/+35
| | | | | | (GH-19708) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
* bpo-44690: Adopt binacii.a2b_base64's strict mode in base64.b64decode (GH-27272)Idan Moral2021-08-233-3/+7
| | | | | | | * Use binascii.a2b_base64 to validate b64decode input. This change leads to exception messages changes (mostly). * Added more information to docstring of b64decode * Added a reference to binascii.a2b_base64 in the docs
* bpo-42560: simplify/merge architecture info in Tkinter docs (GH-27839)Mark Roseman2021-08-231-39/+9
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
* [doc] Fix typo c-api/exceptions.rst (GH-27847)Sunny Bean2021-08-231-1/+1
| | | Co-authored-by: Tianqing Peng <pengtianqing@yimian.com.cn>
* [doc] Added mailing list link for comp.lang.python (GH-27852)Mike Smith2021-08-231-1/+2
|
* bpo-42560: add warning to Tkinter docs about outdated pre-8.5 documentation ↵Mark Roseman2021-08-231-0/+7
| | | | | | online (GH-27836) Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
* bpo-44980: fix test_constructor to return None value (GH-27898)andrei kulakov2021-08-231-1/+1
|
* bpo-42560: rewrite of Tkinter docs "life preserver" (GH-27842)Mark Roseman2021-08-232-145/+182
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-44984: Rewrite test_null_strings in _testcapi (GH-27904)Serhiy Storchaka2021-08-232-8/+28
| | | Test also PyObject_Repr(NULL) and PyObject_Bytes(NULL).
* bpo-38291: Update 3.10 WhatsNew with typing.{io|re} DeprecationWarning ↵Ken Jin2021-08-231-0/+13
| | | | (GH-27872)
* [doc] Fix typo in idle.rst (GH-27903)Ikko Ashimine2021-08-231-1/+1
| | | intially -> initially
* Fix bytes.__bytes__ to not truncate at a zero byte (GH-27902)Mark Dickinson2021-08-232-3/+3
|
* bpo-24234: Implement bytes.__bytes__ (GH-27901)Dong-hee Na2021-08-237-3/+63
|
* bpo-24234: implement complex.__complex__ (GH-27887)Mark Dickinson2021-08-236-3/+57
| | | Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
* 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