Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | bpo-42035: Enhance test_get_type_name() of _testcapi (GH-27649) | Hai Shi | 2021-08-17 | 1 | -0/+14 |
| | |||||
* | bpo-42035: Add PyType_GetQualName() to get a type's qualified name. (GH-27551) | Hai Shi | 2021-08-17 | 10 | -0/+67 |
| | |||||
* | bpo-44903: Removed othergui.rst and list of GUI frameworks (GH-27762) | Gautam Chaudhuri | 2021-08-17 | 4 | -148/+13 |
| | |||||
* | bpo-38956: don't print BooleanOptionalAction's default twice (GH-27672) | Maximilian Hils | 2021-08-16 | 3 | -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 Jin | 2021-08-16 | 2 | -0/+65 |
| | |||||
* | Fix a SystemError in code.replace() (#27771) | Guido van Rossum | 2021-08-16 | 2 | -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 Langa | 2021-08-16 | 4 | -0/+70 |
| | | | | regrtest (GH-27634) | ||||
* | bpo-44900: Add five superinstructions. (GH-27741) | Mark Shannon | 2021-08-16 | 6 | -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 Shannon | 2021-08-16 | 2 | -27/+18 |
| | | | | * Do not invalidate type versions unnecessarily. | ||||
* | bpo-44895: skip test_no_hang_on_context_chain_cycle2 until the refleak is ↵ | Irit Katriel | 2021-08-16 | 1 | -3/+1 |
| | | | | fixed (GH-27761) | ||||
* | bpo-44911: Fixed IsolatedAsyncioTestCase from throwing an exception on ↵ | Bar Harel | 2021-08-16 | 3 | -1/+22 |
| | | | | leaked tasks (GH-27765) | ||||
* | bpo-16580: [doc] Add examples to int.to_bytes and int.from_bytes (GH-27760) | Gautam Chaudhuri | 2021-08-15 | 4 | -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) | meowmeowmeowcat | 2021-08-13 | 1 | -3/+3 |
| | |||||
* | bpo-30077: Add support for Apple aifc/sowt pseudo-compression (GH-24449) | dnknth | 2021-08-13 | 2 | -4/+20 |
| | | | Co-authored-by: Toby Thurston <thurston@eml.cc> | ||||
* | bpo-36700: [doc] Update base64 RFC references to RFC 4648 (GH-27700) | andrei kulakov | 2021-08-13 | 3 | -4/+16 |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | bpo-26228: [doc] Adapt PTY documentation updates from GH-4167 (GH-27754) | Łukasz Langa | 2021-08-13 | 3 | -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 kulakov | 2021-08-13 | 1 | -0/+39 |
| |