Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use last module if multi-module stringpr_27789 | Ethan Furman | 2021-08-21 | 2 | -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 Langa | 2021-08-18 | 1 | -0/+34 |
| | |||||
* | Fix enum string representation in the REPL | Pablo Galindo | 2021-08-16 | 2 | -1/+3 |
| | |||||
* | bpo-44878: Remove the switch from the main interpreter loop when using ↵ | Mark Shannon | 2021-08-11 | 2 | -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 Shannon | 2021-08-11 | 1 | -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) | 180909 | 2021-08-11 | 1 | -0/+1 |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | Add missing DISPATCH() (GH-27715) | Mark Shannon | 2021-08-11 | 1 | -0/+2 |
| | |||||
* | bpo-33930: Fix segfault with deep recursion when cleaning method objects ↵ | Pablo Galindo Salgado | 2021-08-11 | 3 | -1/+22 |
| | | | | (GH-27678) | ||||
* | bpo-44854: Add .editorconfig file to help enforce `make patchcheck` (GH-27638) | Łukasz Langa | 2021-08-10 | 1 | -0/+12 |
| | |||||
* | Classify specialization failures. Provides more useful stats, with lower ↵ | Mark Shannon | 2021-08-10 | 4 | -100/+100 |
| | | | | overhead. (GH-27701) | ||||
* | Fix stats for STORE_ATTR specialization. (GH-27708) | Mark Shannon | 2021-08-10 | 1 | -0/+2 |
| | |||||
* | bpo-25782: avoid hang in PyErr_SetObject when current exception has a cycle ↵ | Irit Katriel | 2021-08-10 | 3 | -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 Reedy | 2021-08-10 | 2 | -2/+5 |
| | | | It has not been true for several years and likely never was. | ||||
* | make lib2to3 parse async generators everywhere (GH-6588) | Zsolt Dollenstein | 2021-08-10 | 3 | -8/+17 |
| | |||||
* | bpo-14853: add back the stdin test, skip if stdin is redirected (GH-27694) | Irit Katriel | 2021-08-09 | 1 | -0/+16 |
| | |||||
* | bpo-39498 Start linking the security warnings in the stdlib modules (GH-18272) | Anthony Shaw | 2021-08-10 | 10 | -0/+45 |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | bpo-44854: Remove trailing whitespaces (GH-27689) | Serhiy Storchaka | 2021-08-09 | 13 | -15/+15 |
| | |||||
* | bpo-44872: use new trashcan macros in framobject.c (#27683) | Irit Katriel | 2021-08-09 | 2 | -2/+3 |
| | |||||
* | bpo-41402: Fix email ContentManager calling .encode() on bytes (GH-21631) | Johannes Reiff | 2021-08-09 | 3 | -3/+14 |
| | |||||
* | bpo-38840: Incorrect __all__ in multiprocessing.managers (GH-18034) | Zackery Spytz | 2021-08-09 | 2 | -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) | meowmeowmeowcat | 2021-08-09 | 1 | -3/+3 |
| | | | - Use "Low surrogate code units" instead of "Unicode Private Use Area" | ||||
* | Remove unused variable. (GH-27677) | Mark Shannon | 2021-08-09 | 1 | -3/+0 |
| | |||||
* | bpo-44702: Remove ambiguity in sentence (GH-27676) | meowmeowmeowcat | 2021-08-09 | 1 | -3/+3 |
| | | | Automerge-Triggered-By: GH:pablogsal | ||||
* | bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile ↵ | Zackery Spytz | 2021-08-09 | 3 | -3/+23 |
| | | | | | (GH-21470) Co-Authored-By: Bo Bayles <bbayles@gmail.com> | ||||
* | bpo-44826: Specialize STORE_ATTR (GH-27590) | Mark Shannon | 2021-08-09 | 9 | -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 Shannon | 2021-08-09 | 6 | -6705/+6720 |
| | | | | after CFG optimization. (GH-27656) | ||||
* | bpo-42053: Remove misleading check in os.fwalk() (GH-27669) | Serhiy Storchaka | 2021-08-08 | 1 | -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 Storchaka | 2021-08-08 | 10 | -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 Kumaran | 2021-08-07 | 1 | -4/+0 |
| | |||||
* | bpo-44856: Possible reference leak in error paths of update_bases() and ↵ | Pablo Galindo Salgado | 2021-08-07 | 2 | -22/+14 |
| | | | | __build_class__ (GH-27647) | ||||
* | bpo-42971: Add errno.EQFULL (macOS) (GH-24419) | Ronald Oussoren | 2021-08-06 | 3 | -0/+10 |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | bpo-41576: document BaseException in favor of bare except (GH-21917) | Thomas Grainger | 2021-08-06 | 2 | -8/+10 |
| | |||||
* | bpo-27752: improve documentation of csv.Dialect (GH-26795) | Jack DeVries | 2021-08-06 | 2 | -11/+24 |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | bpo-44605: Teach @total_ordering() to work with metaclasses (GH-27633) | Raymond Hettinger | 2021-08-06 | 3 | -12/+41 |
| | |||||
* | bpo-44839: Raise more specific errors in sqlite3 (GH-27613) | Serhiy Storchaka | 2021-08-06 | 3 | -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 Chung | 2021-08-06 | 5 | -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 Langa | 2021-08-06 | 3 | -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 Beek | 2021-08-06 | 3 | -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 Stinner | 2021-08-06 | 2 | -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 DeVries | 2021-08-06 | 3 | -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 Stinner | 2021-08-06 | 7 | -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 DeVries | 2021-08-05 | 1 | -1/+1 |
| | |||||
* | bpo-44838: Refine the custom syntax errors for invalid 'if' expressions ↵ | Pablo Galindo Salgado | 2021-08-05 | 4 | -554/+621 |
| | | | | (GH-27615) | ||||
* | bpo-44291: Fix reconnection in logging.handlers.SysLogHandler (GH-26490) | Kirill Pinchuk | 2021-08-05 | 2 | -25/+46 |
| | |||||
* | bpo-44822: Don't truncate `str`s with embedded NULL chars returned by ↵ | Erlend Egeberg Aasland | 2021-08-05 | 3 | -3/+41 |
| | | | | `sqlite3` UDF callbacks (GH-27588) | ||||
* | platform: Import subprocess in function. (GH-27610) | Inada Naoki | 2021-08-05 | 1 | -1/+1 |
| | |||||
* | bpo-41706: Fix special method invocation docs to mention using type() (GH-22084) | William Chargin | 2021-08-04 | 2 | -3/+6 |
| | |||||
* | bpo-42958: Improve description of shallow= in filecmp.cmp docs (GH-27166) | andrei kulakov | 2021-08-04 | 3 | -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 kulakov | 2021-08-04 | 2 | -1/+7 |
| | | | | | (GH-26899) Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | Fix typo in 'xml.dom.minidom' documentation (GH-27602) | Cristián Maureira-Fredes | 2021-08-04 | 1 | -1/+1 |
| |