Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-103553: Improve `test_inspect`: add more assertions, remove unused (#103554) | Nikita Sobolev | 2023-04-15 | 1 | -15/+9 | |
| | ||||||
* | GH-103517: Improve tests for `pathlib.Path.walk()` (GH-103518) | Barney Gale | 2023-04-15 | 1 | -32/+45 | |
| | ||||||
* | gh-102114: Make dis print more concise tracebacks for syntax errors in str ↵ | chgnrdv | 2023-04-15 | 3 | -3/+11 | |
| | | | | inputs (#102115) | |||||
* | GH-78079: Fix UNC device path root normalization in pathlib (GH-102003) | Barney Gale | 2023-04-14 | 4 | -3/+43 | |
| | | | | | | | We no longer add a root to device paths such as `//./PhysicalDrive0`, `//?/BootPartition` and `//./c:` while normalizing. We also avoid adding a root to incomplete UNC share paths, like `//`, `//a` and `//a/`. Co-authored-by: Eryk Sun <eryksun@gmail.com> | |||||
* | gh-101517: Add regression test for a lineno bug in try/except* impacting pdb ↵ | Tian Gao | 2023-04-14 | 1 | -0/+20 | |
| | | | | (#103547) | |||||
* | gh-103527: Add make deps for _codecs_* and _multibytecodec (#103528) | Erlend E. Aasland | 2023-04-14 | 1 | -0/+7 | |
| | ||||||
* | gh-103532: Fix reST syntax in NEWS entry (GH-103544) | Zachary Ware | 2023-04-14 | 1 | -1/+1 | |
| | ||||||
* | gh-103532: Add NEWS entry (#103542) | Zachary Ware | 2023-04-14 | 1 | -0/+4 | |
| | ||||||
* | gh-103532: Remove TKINTER_PROTECT_LOADTK code (GH-103535) | Christopher Chavez | 2023-04-14 | 3 | -79/+0 | |
| | | | | This was only needed for Tk 8.4.13 and older, but Tkinter already requires at least 8.5.12. | |||||
* | gh-103180: Add CI timeouts to all GitHub Actions jobs (#103437) | Nikita Sobolev | 2023-04-14 | 8 | -3/+17 | |
| | ||||||
* | Remove double space in import error message (#103458) | Ned Batchelder | 2023-04-14 | 1 | -1/+1 | |
| | ||||||
* | ipaddress: Remove non-existent ip_str param from docstring (#103461) | Sergii Dymchenko | 2023-04-14 | 1 | -3/+0 | |
| | ||||||
* | Fix syntax typo in isolating extensions doc (#103516) | AN Long | 2023-04-14 | 1 | -3/+3 | |
| | ||||||
* | gh-103406: Modernize pos-only arguments usage in `test_signature` (#103407) | Nikita Sobolev | 2023-04-14 | 1 | -20/+11 | |
| | ||||||
* | Proofread howto/perf_profiling.rst (#103530) | Boris Verkhovskiy | 2023-04-14 | 1 | -10/+10 | |
| | ||||||
* | Fix unused functions warnings in instrumentation.c (GH-103515) | Benjamin Peterson | 2023-04-13 | 1 | -0/+4 | |
| | ||||||
* | gh-103479: [Enum] require __new__ to be considered a data type (GH-103495) | Ethan Furman | 2023-04-13 | 3 | -10/+14 | |
| | | | a mixin must either have a __new__ method, or be a dataclass, to be interpreted as a data-type | |||||
* | gh-103365: [Enum] STRICT boundary corrections (GH-103494) | Ethan Furman | 2023-04-13 | 4 | -38/+82 | |
| | | | | | | STRICT boundary: - fix bitwise operations - make default for Flag | |||||
* | GH-103488: Use return-offset, not yield-offset. (GH-103502) | Mark Shannon | 2023-04-13 | 6 | -414/+455 | |
| | | | | * Use return-offset, not yield-offset, so that instruction pointer is correct when sending to a generator or coroutine. | |||||
* | gh-103088: Fix test_venv error message to avoid bytes/str warning (GH-103500) | Stanislav Syekirin | 2023-04-13 | 1 | -2/+3 | |
| | ||||||
* | GH-103082: Turn on branch events for FOR_ITER instructions. (#103507) | Mark Shannon | 2023-04-13 | 2 | -0/+73 | |
| | | | Turn on branch events for FOR_ITER instructions. | |||||
* | gh-102978: Fix mock.patch function signatures for class and staticmethod ↵ | Tomas R | 2023-04-13 | 5 | -0/+58 | |
| | | | | | | | decorators (#103228) Fixes unittest.mock.patch not enforcing function signatures for methods decorated with @classmethod or @staticmethod when patch is called with autospec=True. | |||||
* | gh-103462: Ensure SelectorSocketTransport.writelines registers a writer when ↵ | Ali-Akber Saifee | 2023-04-13 | 3 | -0/+49 | |
| | | | | data is still pending (#103463) | |||||
* | gh-95299: Rework test_cppext.py to not invoke setup.py directly (#103316) | Pradyun Gedam | 2023-04-13 | 4 | -16/+20 | |
| | | | | | | | | | | | | | | | | | * gh-95299: Rework test_cppext.py to not invoke setup.py directly * Add tests/cppextdata data to `TESTSUBDIRS` * Revert "Add tests/cppextdata data to `TESTSUBDIRS`" This reverts commit 635492e53954fb0fc2a2875c8961bde99266c48d. * Revert "gh-95299: Rework test_cppext.py to not invoke setup.py directly" This reverts commit 41c5a667b5de7070bbde5780f1c124f96863c91d. * Build and install the extension in a temporary directory instead * Pull in wheels for setuptools and wheel for testing extension builds | |||||
* | gh-67230: document new csv quoting modes in whatsnew (gh-103491) | Skip Montanaro | 2023-04-13 | 1 | -0/+7 | |
| | ||||||
* | gh-67230: add quoting rules to csv module (GH-29469) | Skip Montanaro | 2023-04-12 | 5 | -3/+43 | |
| | | | | | | Add two quoting styles for csv dialects. They will help to work with certain databases in particular. Automerge-Triggered-By: GH:merwok | |||||
* | gh-103088: Fix virtual environment activate script not working in Cygwin ↵ | Stanislav Syekirin | 2023-04-12 | 3 | -0/+19 | |
| | | | | (GH-103470) | |||||
* | gh-103326: Remove `Python/importlib.h` (GH-103331) | Nikita Sobolev | 2023-04-12 | 6 | -1793/+2 | |
| | | | | Co-authored-by: Brett Cannon <brett@python.org> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | |||||
* | gh-103092: Isolate `_collections` (#103093) | Erlend E. Aasland | 2023-04-12 | 5 | -283/+287 | |
| | | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> | |||||
* | GH-103082: Implementation of PEP 669: Low Impact Monitoring for CPython ↵ | Mark Shannon | 2023-04-12 | 44 | -1617/+6021 | |
| | | | | | | | | | | (GH-103083) * The majority of the monitoring code is in instrumentation.c * The new instrumentation bytecodes are in bytecodes.c * legacy_tracing.c adapts the new API to the old sys.setrace and sys.setprofile APIs | |||||
* | gh-103092: Isolate msvcrt (#103248) | AN Long | 2023-04-12 | 2 | -28/+26 | |
| | ||||||
* | gh-103417: use time.monotonic in the example for sched.scheduler (#103418) | Nick Burns | 2023-04-12 | 1 | -1/+1 | |
| | ||||||
* | GH-83893: Cross reference env. vars and -X command line options (GH-103414) | Furkan Onder | 2023-04-12 | 1 | -6/+12 | |
| | | | Co-authored-by: Erlend E. Aasland | |||||
* | gh-103357: Add logging.Formatter defaults support to logging.config ↵ | Bar Harel | 2023-04-12 | 4 | -5/+137 | |
| | | | | fileConfig and dictConfig (GH-103359) | |||||
* | gh-103237: Polish pdb docs (#103238) | Tian Gao | 2023-04-12 | 1 | -38/+100 | |
| | ||||||
* | gh-103143: Polish pdb help messages and doc strings (GH-103144) | Tian Gao | 2023-04-11 | 3 | -10/+62 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Made all the command part of the docstring match the official documentation * Always have a space between the command and the description in docstring * Added a helper function to format the help message Before: ``` (Pdb) h a a(rgs) Print the argument list of the current function. (Pdb) h commands commands [bpnumber] (com) ... (com) end (Pdb) ... (Pdb) h interact interact Start an interactive interpreter whose global namespace contains all the (global and local) names found in the current scope. ``` After ``` (Pdb) h a Usage: a(rgs) Print the argument list of the current function. (Pdb) h commands Usage: (Pdb) commands [bpnumber] (com) ... (com) end (Pdb) ... (Pdb) h interact Usage: interact Start an interactive interpreter whose global namespace contains all the (global and local) names found in the current scope. ``` Automerge-Triggered-By: GH:brandtbucher | |||||
* | Remove redundant words from interpreter_definition.md. (GH-103455) | Benjamin Peterson | 2023-04-11 | 1 | -3/+3 | |
| | ||||||
* | gh-87092: fix refleak in peepholer test harness (#103448) | Irit Katriel | 2023-04-11 | 1 | -4/+0 | |
| | ||||||
* | gh-103088: Sanitize venv paths when using MSYS or Cygwin Bash (GH-103325) | Stanislav Syekirin | 2023-04-11 | 3 | -3/+11 | |
| | ||||||
* | GH-103220: Fix `ntpath.join()` of partial UNC drive with trailing slash ↵ | Barney Gale | 2023-04-11 | 3 | -1/+8 | |
| | | | | (GH-103221) | |||||
* | gh-87864: Use correct function definition syntax in the docs (#103312) | Nikita Sobolev | 2023-04-11 | 4 | -7/+7 | |
| | ||||||
* | gh-77757: replace exception wrapping by PEP-678 notes in typeobject's ↵ | Irit Katriel | 2023-04-11 | 8 | -41/+55 | |
| | | | | __set_name__ (#103402) | |||||
* | gh-103373: `__mro_entries__` docs: improve cross references (#103398) | Alex Waygood | 2023-04-11 | 2 | -7/+12 | |
| | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | |||||
* | gh-91276: remove unused _PyOpcode_RelativeJump (#103156) | Irit Katriel | 2023-04-11 | 4 | -42/+12 | |
| | ||||||
* | gh-87092: move assembler related code from compile.c to assemble.c (#103277) | Irit Katriel | 2023-04-11 | 10 | -749/+851 | |
| | ||||||
* | gh-103176: sys._current_exceptions() returns mapping to exception instances ↵ | Irit Katriel | 2023-04-11 | 5 | -10/+23 | |
| | | | | instead of exc_info tuples (#103177) | |||||
* | gh-102828: set stacklevel on deprecation warning (#103422) | Irit Katriel | 2023-04-11 | 1 | -1/+1 | |
| | ||||||
* | gh-99553: add tests for ExceptionGroup wrapping (#99615) | Zac Hatfield-Dodds | 2023-04-11 | 1 | -0/+14 | |
| | ||||||
* | Docs: don't render files in includes/, they're for embedding only (#103313) | Hugo van Kemenade | 2023-04-11 | 1 | -1/+3 | |
| | ||||||
* | Doc: Avoid error lexing multiprocessing docs code block on Pygments 2.15.0 ↵ | C.A.M. Gerlach | 2023-04-11 | 1 | -1/+3 | |
| | | | | (#103421) |