Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add tests for the C tokenizer and expose it as a private module (GH-27924) | Pablo Galindo Salgado | 2021-08-24 | 9 | -5/+1114 |
| | |||||
* | bpo-42064: Pass module state to `sqlite3` UDF callbacks (GH-27456) | Erlend Egeberg Aasland | 2021-08-24 | 2 | -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 Singaravelan | 2021-08-24 | 1 | -0/+5 |
| | |||||
* | bpo-34990: Treat the pyc header's mtime in compileall as an unsigned int ↵ | Ammar Askar | 2021-08-24 | 4 | -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 Moral | 2021-08-23 | 3 | -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 Roseman | 2021-08-23 | 1 | -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 Bean | 2021-08-23 | 1 | -1/+1 |
| | | | Co-authored-by: Tianqing Peng <pengtianqing@yimian.com.cn> | ||||
* | [doc] Added mailing list link for comp.lang.python (GH-27852) | Mike Smith | 2021-08-23 | 1 | -1/+2 |
| | |||||
* | bpo-42560: add warning to Tkinter docs about outdated pre-8.5 documentation ↵ | Mark Roseman | 2021-08-23 | 1 | -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 kulakov | 2021-08-23 | 1 | -1/+1 |
| | |||||
* | bpo-42560: rewrite of Tkinter docs "life preserver" (GH-27842) | Mark Roseman | 2021-08-23 | 2 | -145/+182 |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | bpo-44984: Rewrite test_null_strings in _testcapi (GH-27904) | Serhiy Storchaka | 2021-08-23 | 2 | -8/+28 |
| | | | Test also PyObject_Repr(NULL) and PyObject_Bytes(NULL). | ||||
* | bpo-38291: Update 3.10 WhatsNew with typing.{io|re} DeprecationWarning ↵ | Ken Jin | 2021-08-23 | 1 | -0/+13 |
| | | | | (GH-27872) | ||||
* | [doc] Fix typo in idle.rst (GH-27903) | Ikko Ashimine | 2021-08-23 | 1 | -1/+1 |
| | | | intially -> initially | ||||
* | Fix bytes.__bytes__ to not truncate at a zero byte (GH-27902) | Mark Dickinson | 2021-08-23 | 2 | -3/+3 |
| | |||||
* | bpo-24234: Implement bytes.__bytes__ (GH-27901) | Dong-hee Na | 2021-08-23 | 7 | -3/+63 |
| | |||||
* | bpo-24234: implement complex.__complex__ (GH-27887) | Mark Dickinson | 2021-08-23 | 6 | -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 Hettinger | 2021-08-22 | 1 | -0/+49 |
| | |||||
* | bpo-44957: Promote PEP 604 syntax in typing docs (GH-27833) | Sebastian Rittau | 2021-08-22 | 2 | -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 Roseman | 2021-08-22 | 1 | -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 Roseman | 2021-08-22 | 1 | -3/+2 |
| | | | | (GH-27835) | ||||
* | bpo-42560: rework external references in Tkinter docs (GH-27838) | Mark Roseman | 2021-08-22 | 1 | -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 kulakov | 2021-08-22 | 6 | -2/+50 |
| | | | | Also fix the traceback of warnings. | ||||
* | Remove unused UNKNOWN macros from cursor.h and prepare_protocol.h (GH-27885) | Erlend Egeberg Aasland | 2021-08-22 | 2 | -2/+0 |
| | |||||
* | bpo-44978: allow Argument Clinic to handle __complex__ special methods ↵ | Mark Dickinson | 2021-08-22 | 2 | -1/+1 |
| | | | | (GH-27886) | ||||
* | bpo-44955: Always call stopTestRun() for implicitly created TestResult ↵ | Serhiy Storchaka | 2021-08-22 | 3 | -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 Storchaka | 2021-08-22 | 1 | -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 Storchaka | 2021-08-21 | 1 | -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 Hettinger | 2021-08-21 | 1 | -1/+1 |
| | |||||
* | bpo-44965: Early exit for non-DML statements in sqlite3.Cursor.executemany() ↵ | Erlend Egeberg Aasland | 2021-08-21 | 1 | -8/+7 |
| | | | | (GH-27865) | ||||
* | bpo-44524: Do not set _name of _SpecialForm without need (GH-27861) | Serhiy Storchaka | 2021-08-21 | 2 | -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 Hils | 2021-08-20 | 1 | -0/+7 |
| | | | | (#27859) | ||||
* | bpo-44960: add regression test for geometric_mean with mixed int/floa… ↵ | Irit Katriel | 2021-08-20 | 1 | -0/+16 |
| | | | | | | (#27856) Co-authored-by: Mark Dickinson <dickinsm@gmail.com> | ||||
* | bpo-44954: Fix wrong result in float.fromhex corner case (GH-27834) | Mark Dickinson | 2021-08-20 | 3 | -2/+18 |
| | |||||
* | Fix reST markup in dataclasses.rst (GH-27843) | Jean-Abou-Samra | 2021-08-19 | 1 | -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 kulakov | 2021-08-19 | 3 | -2/+10 |
| | |||||
* | bpo-36384: [doc] Mention CVE-2021-29921 fix in 3.8.12 (GH-27824) | Łukasz Langa | 2021-08-19 | 2 | -0/+18 |
| | |||||
* | bpo-44830: [doc] Restore missing Mozilla devguide link (GH-27818) | Jack DeVries | 2021-08-19 | 1 | -0/+4 |
| | |||||
* | bpo-44079: Strip superfluous statement cache from sqlite3.Connection (GH-25998) | Erlend Egeberg Aasland | 2021-08-18 | 4 | -116/+18 |
| | |||||
* | bpo-44947: Refine the syntax error for trailing commas in import statements ↵ | Pablo Galindo Salgado | 2021-08-18 | 4 | -6/+18 |
| | | | | (GH-27814) | ||||
* | bpo-44874: deprecate Py_TRASHCAN_SAFE_BEGIN and Py_TRASHCAN_SAFE_END (GH-27693) | Irit Katriel | 2021-08-18 | 3 | -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 Karabas | 2021-08-18 | 3 | -0/+21 |
| | | | | | forms in `typing` (GH-27710) This was a Python 3.9 regression. | ||||
* | bpo-44949: Fix test_readline auto history tests (#27813) | Victor Stinner | 2021-08-18 | 2 | -2/+8 |
| | |||||
* | bpo-44852: Support filtering over warnings without a set message (GH-27793) | Łukasz Langa | 2021-08-18 | 1 | -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) | meowmeowmeowcat | 2021-08-17 | 1 | -0/+4 |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | introduce omitted index default before using it (GH-27775) | Jefferson Oliveira | 2021-08-17 | 1 | -8/+8 |
| | |||||
* | bpo-44935: enable posix_spawn() on Solaris (GH-27795) | Jakub Kulík | 2021-08-17 | 2 | -2/+5 |
| | | | Enable posix_spawn() on Solaris | ||||
* | bpo-44698: Restore complex pow behaviour for small integral exponents (GH-27772) | Mark Dickinson | 2021-08-17 | 3 | -21/+37 |
| | |||||
* | bpo-44895: Introduce PYTHONDUMPREFSFILE variable for refcount dumping (GH-27767) | Dong-hee Na | 2021-08-17 | 5 | -0/+41 |
| | |||||
* | bpo-44889: Specialize LOAD_METHOD with PEP 659 adaptive interpreter (GH-27722) | Ken Jin | 2021-08-17 | 7 | -46/+351 |
| | | | | | | | | Adds four new instructions: * LOAD_METHOD_ADAPTIVE * LOAD_METHOD_CACHED * LOAD_METHOD_MODULE * LOAD_METHOD_CLASS |