summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* use last module if multi-module stringpr_27789Ethan Furman2021-08-212-41/+58
| | | | | when an enum's `__module__` contains several module names, only use the last one
* Add more tests for global int flag reprsŁukasz Langa2021-08-181-0/+34
|
* Fix enum string representation in the REPLPablo Galindo2021-08-162-1/+3
|
* bpo-44878: Remove the switch from the main interpreter loop when using ↵Mark Shannon2021-08-112-177/+208
| | | | | | | | computed gotos. (GH-27726) * Refactor dispatch logic to make flow of control clearer. Moves lltrace and dxprofile instrumentation into DISPATCH macro. * Remove switch in interpreter loop when using computed gotos. There is no need for two nearly-duplicate dispatch tables.
* bpo-44878: _PyEval_EvalFrameDefault readability improvements (GH-27725)Mark Shannon2021-08-111-51/+49
| | | | | * Move a few variable declarations to point of definition. * Factor out tracing of function entry into helper function.
* Add .DS_Store on ignore (GH-27711)1809092021-08-111-0/+1
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* Add missing DISPATCH() (GH-27715)Mark Shannon2021-08-111-0/+2
|
* bpo-33930: Fix segfault with deep recursion when cleaning method objects ↵Pablo Galindo Salgado2021-08-113-1/+22
| | | | (GH-27678)
* bpo-44854: Add .editorconfig file to help enforce `make patchcheck` (GH-27638)Łukasz Langa2021-08-101-0/+12
|
* Classify specialization failures. Provides more useful stats, with lower ↵Mark Shannon2021-08-104-100/+100
| | | | overhead. (GH-27701)
* Fix stats for STORE_ATTR specialization. (GH-27708)Mark Shannon2021-08-101-0/+2
|
* bpo-25782: avoid hang in PyErr_SetObject when current exception has a cycle ↵Irit Katriel2021-08-103-1/+158
| | | | | in its context chain (GH-27626) Co-authored-by: Dennis Sweeney 36520290+sweeneyde@users.noreply.github.com
* bpo-33479: Remove unqualified tkinter threadsafe claim. (GH-6990)Terry Jan Reedy2021-08-102-2/+5
| | | It has not been true for several years and likely never was.
* make lib2to3 parse async generators everywhere (GH-6588)Zsolt Dollenstein2021-08-103-8/+17
|
* bpo-14853: add back the stdin test, skip if stdin is redirected (GH-27694)Irit Katriel2021-08-091-0/+16
|
* bpo-39498 Start linking the security warnings in the stdlib modules (GH-18272)Anthony Shaw2021-08-1010-0/+45
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-44854: Remove trailing whitespaces (GH-27689)Serhiy Storchaka2021-08-0913-15/+15
|
* bpo-44872: use new trashcan macros in framobject.c (#27683)Irit Katriel2021-08-092-2/+3
|
* bpo-41402: Fix email ContentManager calling .encode() on bytes (GH-21631)Johannes Reiff2021-08-093-3/+14
|
* bpo-38840: Incorrect __all__ in multiprocessing.managers (GH-18034)Zackery Spytz2021-08-092-3/+5
| | | | | | | This was causing test___all__ to fail on platforms lacking a shared memory implementation. Co-Authored-By: Xavier de Gaye <xdegaye@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-44522: Fix inaccurate information in open() function (GH-27650)meowmeowmeowcat2021-08-091-3/+3
| | | - Use "Low surrogate code units" instead of "Unicode Private Use Area"
* Remove unused variable. (GH-27677)Mark Shannon2021-08-091-3/+0
|
* bpo-44702: Remove ambiguity in sentence (GH-27676)meowmeowmeowcat2021-08-091-3/+3
| | | Automerge-Triggered-By: GH:pablogsal
* bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile ↵Zackery Spytz2021-08-093-3/+23
| | | | | (GH-21470) Co-Authored-By: Bo Bayles <bbayles@gmail.com>
* bpo-44826: Specialize STORE_ATTR (GH-27590)Mark Shannon2021-08-099-83/+335
| | | | | | | * Generalize cache names for LOAD_ATTR to allow store and delete specializations. * Factor out specialization of attribute dictionary access. * Specialize STORE_ATTR.
* bpo-44840: Compiler: Move duplication of exit blocks with no line numbers to ↵Mark Shannon2021-08-096-6705/+6720
| | | | after CFG optimization. (GH-27656)
* bpo-42053: Remove misleading check in os.fwalk() (GH-27669)Serhiy Storchaka2021-08-081-2/+1
| | | | os.fwalk() does not support integer as the first argument, and never supported.
* bpo-44859: Improve error handling in sqlite3 and and raise more accurate ↵Serhiy Storchaka2021-08-0810-52/+226
| | | | | | | | | | | | | | | | | | | | exceptions. (GH-27654) * MemoryError is now raised instead of sqlite3.Warning when memory is not enough for encoding a statement to UTF-8 in Connection.__call__() and Cursor.execute(). * UnicodEncodeError is now raised instead of sqlite3.Warning when the statement contains surrogate characters in Connection.__call__() and Cursor.execute(). * TypeError is now raised instead of ValueError for non-string script argument in Cursor.executescript(). * ValueError is now raised for script containing the null character instead of truncating it in Cursor.executescript(). * Correctly handle exceptions raised when getting boolean value of the result of the progress handler. * Add many tests covering different corner cases. Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-44830 - Remove the broken Broken Mozilla devguide link. (GH-27664)Senthil Kumaran2021-08-071-4/+0
|
* bpo-44856: Possible reference leak in error paths of update_bases() and ↵Pablo Galindo Salgado2021-08-072-22/+14
| | | | __build_class__ (GH-27647)
* bpo-42971: Add errno.EQFULL (macOS) (GH-24419)Ronald Oussoren2021-08-063-0/+10
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-41576: document BaseException in favor of bare except (GH-21917)Thomas Grainger2021-08-062-8/+10
|
* bpo-27752: improve documentation of csv.Dialect (GH-26795)Jack DeVries2021-08-062-11/+24
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-44605: Teach @total_ordering() to work with metaclasses (GH-27633)Raymond Hettinger2021-08-063-12/+41
|
* bpo-44839: Raise more specific errors in sqlite3 (GH-27613)Serhiy Storchaka2021-08-063-37/+79
| | | | | | MemoryError raised in user-defined functions will now preserve its type. OverflowError will now be converted to DataError. Previously both were converted to OperationalError.
* Upgrade bundled pip and setuptools (#27625)Tzu-ping Chung2021-08-065-2/+3
| | | | pip is now 21.2.3 setuptools is now 57.4.0
* bpo-44756: [docs] revert automated virtual environment creation on `make ↵Łukasz Langa2021-08-063-5/+16
| | | | | html` (GH-27635) It turned out to be disruptive for downstream distributors.
* bpo-44524: Fix an issue wherein `_GenericAlias._name` was not properly set ↵Bas van Beek2021-08-063-61/+191
| | | | | | for specialforms (GH-27614) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-44849: Fix os.set_inheritable() on FreeBSD 14 with O_PATH (GH-27623)Victor Stinner2021-08-062-3/+8
| | | | | Fix the os.set_inheritable() function on FreeBSD 14 for file descriptor opened with the O_PATH flag: ignore the EBADF error on ioctl(), fallback on the fcntl() implementation.
* bpo-40928: notify users running test_decimal on macOS of malloc warnings ↵Jack DeVries2021-08-063-1/+26
| | | | | | | | (GH-26783) * When trying to allocate very large regions on macOS, malloc does not fail silently. It sends a noisy error out to STDERR * This provides a helper function to warn the user, and provides the warning for test_decimal, which consistently generates these warnings on macOS. Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-44584: Deprecate PYTHONTHREADDEBUG env var (GH-27065)Victor Stinner2021-08-067-1/+49
| | | | | The threading debug (PYTHONTHREADDEBUG environment variable) is deprecated in Python 3.10 and will be removed in Python 3.12. This feature requires a debug build of Python.
* bpo-44679: [doc] fix typo in unittest.mock.rst (GH-27618)Jack DeVries2021-08-051-1/+1
|
* bpo-44838: Refine the custom syntax errors for invalid 'if' expressions ↵Pablo Galindo Salgado2021-08-054-554/+621
| | | | (GH-27615)
* bpo-44291: Fix reconnection in logging.handlers.SysLogHandler (GH-26490)Kirill Pinchuk2021-08-052-25/+46
|
* bpo-44822: Don't truncate `str`s with embedded NULL chars returned by ↵Erlend Egeberg Aasland2021-08-053-3/+41
| | | | `sqlite3` UDF callbacks (GH-27588)
* platform: Import subprocess in function. (GH-27610)Inada Naoki2021-08-051-1/+1
|
* bpo-41706: Fix special method invocation docs to mention using type() (GH-22084)William Chargin2021-08-042-3/+6
|
* bpo-42958: Improve description of shallow= in filecmp.cmp docs (GH-27166)andrei kulakov2021-08-043-4/+10
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Alexander Vandenbulcke <alexander.vandenbulcke95@gmail.com>
* [doc] bpo-43066: zipfile - add note on leading slash in the filename arg ↵andrei kulakov2021-08-042-1/+7
| | | | | (GH-26899) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* Fix typo in 'xml.dom.minidom' documentation (GH-27602)Cristián Maureira-Fredes2021-08-041-1/+1
|