Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-105539: Explict resource management for connection objects in sqlite3 ↵ | Erlend E. Aasland | 2023-08-17 | 9 | -387/+373 | |
| | | | | | | | | tests (#108017) - Use memory_database() helper - Move test utility functions to util.py - Add convenience memory database mixin - Add check() helper for closed connection tests | |||||
* | gh-107298: Add standard exceptions and warnings in the nitpick_ignore list ↵ | Serhiy Storchaka | 2023-08-17 | 1 | -0/+71 | |
| | | | | (GH-108029) | |||||
* | gh-106581: Split `CALL_PY_EXACT_ARGS` into uops (#107760) | Guido van Rossum | 2023-08-16 | 14 | -116/+412 | |
| | | | | | | | | | | | | * Split `CALL_PY_EXACT_ARGS` into uops This is only the first step for doing `CALL` in Tier 2. The next step involves tracing into the called code object and back. After that we'll have to do the remaining `CALL` specialization. Finally we'll have to deal with `KW_NAMES`. Note: this moves setting `frame->return_offset` directly in front of `DISPATCH_INLINED()`, to make it easier to move it into `_PUSH_FRAME`. | |||||
* | gh-105481: generate op IDs from bytecode.c instead of hard coding them in ↵ | Irit Katriel | 2023-08-16 | 21 | -1461/+1533 | |
| | | | | opcode.py (#107971) | |||||
* | GH-92584: Remove references to Distutils in configure.rst (#108043) | Adam Turner | 2023-08-16 | 1 | -11/+6 | |
| | | | Remove references to Distutils in configure.rst | |||||
* | GH-92584: Remove Installing Python Modules (Distutils version) (#108020) | Adam Turner | 2023-08-16 | 5 | -1090/+3 | |
| | ||||||
* | GH-92584: Remove references to Distutils in ``PYTHONUSERBASE`` (#108040) | Adam Turner | 2023-08-16 | 2 | -4/+4 | |
| | | | Remove references to Distutils in ``PYTHONUSERBASE`` | |||||
* | GH-92584: Redirect macOS package installation to the PPUG (#108044) | Adam Turner | 2023-08-16 | 1 | -6/+2 | |
| | ||||||
* | gh-56166: Deprecate passing confusing positional arguments in re functions ↵ | Serhiy Storchaka | 2023-08-16 | 5 | -19/+153 | |
| | | | | | | | (#107778) Deprecate passing optional arguments maxsplit, count and flags in module-level functions re.split(), re.sub() and re.subn() as positional. They should only be passed by keyword. | |||||
* | gh-107211: Fix select extension build on Solaris (#108012) | Victor Stinner | 2023-08-16 | 1 | -2/+4 | |
| | | | | Export the internal _Py_open() and _Py_write() functions for Solaris: the select shared extension uses them. | |||||
* | GH-92584: Remove reference to Distutils in ``cx_Freeze``'s description (#108047) | Adam Turner | 2023-08-16 | 1 | -2/+2 | |
| | | | Remove reference to Distutils in ``cx_Freeze``'s description | |||||
* | gh-105522: [Enum] Correctly handle possible exceptions during testing ↵ | Nikita Sobolev | 2023-08-16 | 1 | -54/+96 | |
| | | | | (GH-105523) | |||||
* | gh-91051: fix type watcher test to be robust to existing watcher (#107989) | Carl Meyer | 2023-08-16 | 1 | -6/+4 | |
| | ||||||
* | Improve the feature-proposal issue form (#108033) | Alex Waygood | 2023-08-16 | 1 | -12/+10 | |
| | | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | |||||
* | Remove Sphinx problem matcher to avoid annotating unchanged files (#108005) | Hugo van Kemenade | 2023-08-16 | 2 | -44/+0 | |
| | ||||||
* | gh-107298: Fix C API Buffer documentation (#108011) | Victor Stinner | 2023-08-16 | 3 | -11/+14 | |
| | ||||||
* | GH-92584: Drop reference to Distutils in ``site.USER_BASE`` (#108031) | Adam Turner | 2023-08-16 | 1 | -1/+1 | |
| | | | Drop reference to Distutils in ``site.USER_BASE`` | |||||
* | gh-104683: Argument Clinic: Extract parse function name helper (#107964) | Erlend E. Aasland | 2023-08-16 | 2 | -33/+30 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-107909: Test explicit `object` base in PEP695 generic classes (#108001) | Nikita Sobolev | 2023-08-16 | 1 | -0/+4 | |
| | ||||||
* | gh-108000: Test that `lambda` also has `__type_params__` (#108002) | Nikita Sobolev | 2023-08-16 | 1 | -7/+10 | |
| | ||||||
* | gh-106659: Fix test_embed.test_forced_io_encoding() on Windows (#108010) | Victor Stinner | 2023-08-16 | 2 | -1/+8 | |
| | | | Use config.legacy_windows_stdio=1 to avoid _io._WindowsConsoleIO. | |||||
* | gh-106368: Argument Clinic: Test that keyword params are disallowed in ↵ | Erlend E. Aasland | 2023-08-16 | 1 | -0/+21 | |
| | | | | groups (#107985) | |||||
* | gh-105724: Add location information to `assert` errors (GH-105935) | Nikita Sobolev | 2023-08-16 | 4 | -6/+124 | |
| | ||||||
* | gh-106300: Improve errors testing in test_unittest.test_runner (GH-106737) | Nikita Sobolev | 2023-08-16 | 1 | -52/+65 | |
| | | | Use a custom exception to prevent unintentional silence of actual errors. | |||||
* | gh-107955 Remove old comment about increasing the reference count in usage ↵ | brandonardenwalli | 2023-08-16 | 1 | -2/+0 | |
| | | | | of Py_None (#107993) | |||||
* | gh-100061: Proper fix of the bug in the matching of possessive quantifiers ↵ | SKO | 2023-08-16 | 4 | -10/+17 | |
| | | | | | | | | (GH-102612) Restore the global Input Stream pointer after trying to match a sub-pattern. Co-authored-by: Ma Lin <animalize@users.noreply.github.com> | |||||
* | gh-99203: shutil.make_archive(): restore select CPython <= 3.10.5 behavior ↵ | 6t8k | 2023-08-16 | 3 | -0/+52 | |
| | | | | | | | | | | | | (GH-99802) Restore following CPython <= 3.10.5 behavior of shutil.make_archive() that went away as part of gh-93160: Do not create an empty archive if root_dir is not a directory, and, in that case, raise FileNotFoundError or NotADirectoryError regardless of format choice. Beyond the brought-back behavior, the function may now also raise these exceptions in dry_run mode. | |||||
* | More actionable error message when spawn is incorrectly used. (#102203) | Yuxin Wu | 2023-08-16 | 1 | -1/+5 | |
| | | | | Co-authored-by: Yuxin Wu <ppwwyyxx@users.noreply.github.com> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> | |||||
* | gh-106368: Argument Clinic: Add tests for cloned functions with custom C ↵ | Erlend E. Aasland | 2023-08-15 | 1 | -0/+31 | |
| | | | | base names (#107977) | |||||
* | Note that lnotab_notes.txt is only valid before 3.11 (#107961) | Martin DeMello | 2023-08-15 | 1 | -1/+4 | |
| | ||||||
* | gh-107557: Setup abstract interpretation (#107847) | Ken Jin | 2023-08-15 | 21 | -9/+1118 | |
| | | | | Co-authored-by: Guido van Rossum <gvanrossum@users.noreply.github.com> Co-authored-by: Jules <57632293+juliapoo@users.noreply.github.com> | |||||
* | gh-106242: Minor fixup to avoid compiler warnings (GH-107983) | Steve Dower | 2023-08-15 | 1 | -1/+1 | |
| | ||||||
* | gh-103082: remove assumption that INSTRUMENTED_LINE is the last instrumented ↵ | Irit Katriel | 2023-08-15 | 1 | -2/+2 | |
| | | | | opcode (#107978) | |||||
* | gh-106242: Fix path truncation in os.path.normpath (GH-106816) | Finn Womack | 2023-08-15 | 5 | -9/+30 | |
| | ||||||
* | gh-107972: Argument Clinic: Ensure a C basename is provided after 'as' (#107973) | Erlend E. Aasland | 2023-08-15 | 2 | -7/+32 | |
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | |||||
* | gh-107880: Argument Clinic: Fix regression in gh-107885 (#107974) | Erlend E. Aasland | 2023-08-15 | 2 | -17/+51 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-107963: Fix set_forkserver_preload to check the type of given list (#107965) | Dong-hee Na | 2023-08-15 | 3 | -1/+11 | |
| | | | | gh-107963: Fix set_forkserver_preload to check the type of given list | |||||
* | gh-107967: Fix infinite recursion on invalid escape sequence warning (#107968) | Lysandros Nikolaou | 2023-08-15 | 2 | -0/+13 | |
| | ||||||
* | gh-93057: Deprecate positional use of optional sqlite3.connect() params ↵ | Erlend E. Aasland | 2023-08-15 | 9 | -5/+92 | |
| | | | | (#107948) | |||||
* | gh-76913: Add "merge extras" feature to LoggerAdapter (GH-107292) | Romuald Brunet | 2023-08-15 | 4 | -4/+66 | |
| | ||||||
* | Revert "gh-104469 : Convert _testcapi/vectorcall_limited.c to use AC … ↵ | Dong-hee Na | 2023-08-14 | 2 | -68/+4 | |
| | | | | | | | (gh-107951) Revert "gh-104469 : Convert _testcapi/vectorcall_limited.c to use AC (gh-107857)" This reverts commit 2e27da18952c6561f48dab706b5911135cedd7cf. | |||||
* | Convert the GitHub issue templates into GitHub issue forms (#107920) | Alex Waygood | 2023-08-14 | 6 | -148/+182 | |
| | | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> | |||||
* | Attempt to speed up deepfreeze.py (#107887) | Guido van Rossum | 2023-08-14 | 2 | -13/+24 | |
| | | | | | | * Instead of calling get_identifiers_and_strings(), extract identifiers and strings from pycore_global_strings.h. * Avoid ast.literal_eval(), it's very slow. | |||||
* | gh-105481: reduce repetition in opcode metadata generation code (#107942) | Irit Katriel | 2023-08-14 | 2 | -76/+61 | |
| | ||||||
* | gh-107938: Synchonise the signature of of sqlite3.connect and ↵ | Erlend E. Aasland | 2023-08-14 | 3 | -18/+61 | |
| | | | | sqlite3.Connection.__init__ (#107939) | |||||
* | gh-103082: use IS_VALID_OPCODE instead of _PyOpcode_OpName to check if an ↵ | Irit Katriel | 2023-08-14 | 1 | -4/+4 | |
| | | | | opcode is defined (#107882) | |||||
* | gh-107910: Remove not needing newline in error message (GH-107928) | Joon Hwan 김준환 | 2023-08-14 | 2 | -3/+3 | |
| | ||||||
* | gh-107877: Update logging levels reference table with usage criteria. (#107894) | Vinay Sajip | 2023-08-13 | 1 | -15/+33 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | Add another example to the statistics docs (GH-107904) | Raymond Hettinger | 2023-08-13 | 2 | -0/+57 | |
| | ||||||
* | gh-107880: Teach Argument Clinic to clone __init__ and __new__ methods (#107885) | Erlend E. Aasland | 2023-08-13 | 5 | -8/+244 | |
| |