Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-116622: Rename build variable MODULE_LDFLAGS back to LIBPYTHON (#122764) | Malcolm Smith | 2024-08-08 | 7 | -12/+20 | |
| | | | (LIBPYTHON was renamed MODULE_LDFLAGS in commit 7f5e3f04f.) | |||||
* | GH-118943: Remove regen-jit from the regen-all make target (GH-122602) | Miro Hrončok | 2024-08-08 | 2 | -1/+2 | |
| | | | Co-authored-by: Éric <merwok@netwok.org> | |||||
* | gh-112301: Update documentation for configure options (``--disable-safety`` ↵ | Nate Ohlson | 2024-08-08 | 1 | -4/+17 | |
| | | | | | and ``--enable-slower-safety``) (#122758) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | |||||
* | gh-122835: Fix module name in ``test_typing`` (#122836) | Kirill Podoprigora | 2024-08-08 | 1 | -1/+1 | |
| | ||||||
* | gh-122697: Fix free-threading memory leaks at shutdown (#122703) | Sam Gross | 2024-08-08 | 5 | -4/+27 | |
| | | | | | | | | | | | | | | | We were not properly accounting for interpreter memory leaks at shutdown and had two sources of leaks: * Objects that use deferred reference counting and were reachable via static types outlive the final GC. We now disable deferred reference counting on all objects if we are calling the GC due to interpreter shutdown. * `_PyMem_FreeDelayed` did not properly check for interpreter shutdown so we had some memory blocks that were enqueued to be freed, but never actually freed. * `_PyType_FinalizeIdPool` wasn't called at interpreter shutdown. | |||||
* | gh-122562: fix dump_symtable for ste_free and ste_child_free removal (#122825) | Irit Katriel | 2024-08-08 | 1 | -1/+1 | |
| | ||||||
* | gh-111495: Add more tests on PyEval C APIs (#122789) | Victor Stinner | 2024-08-08 | 9 | -65/+205 | |
| | | | | * Add Lib/test/test_capi/test_eval.py * Add Modules/_testlimitedcapi/eval.c | |||||
* | GH-120024: Tidy up case generator code a bit. (GH-122780) | Mark Shannon | 2024-08-08 | 11 | -103/+175 | |
| | ||||||
* | gh-122744: test_venv: ignore pip's complaint about missing ssl (GH-122776) | Petr Viktorin | 2024-08-08 | 1 | -0/+8 | |
| | ||||||
* | InternalDocs: Fix typo in link to instruction_sequence.c inside compiler ↵ | Francisco Kurucz | 2024-08-08 | 1 | -1/+1 | |
| | | | | docs (#122809) | |||||
* | gh-122255: Add black box tests in test_warnings (GH-122227) | Serhiy Storchaka | 2024-08-08 | 1 | -0/+91 | |
| | | | | They are similar to white box tests for gh-86298 in test_importlib. | |||||
* | gh-116263: Do not rollover empty files in RotatingFileHandler (GH-122788) | Serhiy Storchaka | 2024-08-08 | 3 | -5/+58 | |
| | ||||||
* | gh-120782: Update datetime test for static type immutability (#122800) | neonene | 2024-08-08 | 1 | -7/+22 | |
| | ||||||
* | gh-122247: Move instruction instrumentation sanity check after tracing check ↵ | Tian Gao | 2024-08-08 | 2 | -1/+16 | |
| | | | | (#122251) | |||||
* | gh-105201: Add PyIter_NextItem() (#122331) | Erlend E. Aasland | 2024-08-07 | 12 | -40/+156 | |
| | | | | | | | | | Return -1 and set an exception on error; return 0 if the iterator is exhausted, and return 1 if the next item was fetched successfully. Prefer this API to PyIter_Next(), which requires the caller to use PyErr_Occurred() to differentiate between iterator exhaustion and errors. Co-authered-by: Irit Katriel <iritkatriel@yahoo.com> | |||||
* | gh-118814: Fix the TypeVar constructor when name is passed by keyword ↵ | Serhiy Storchaka | 2024-08-07 | 6 | -7/+165 | |
| | | | | | | | | (GH-122664) Fix _PyArg_UnpackKeywordsWithVararg for the case when argument for positional-or-keyword parameter is passed by keyword. There was only one such case in the stdlib -- the TypeVar constructor. | |||||
* | gh-122478: Remove internal frames from tracebacks in REPL (GH-122528) | Serhiy Storchaka | 2024-08-07 | 3 | -54/+161 | |
| | | | | | | | | Frames of methods in code and codeop modules was show with non-default sys.excepthook. Save correct tracebacks in sys.last_traceback and update __traceback__ attribute of sys.last_value and sys.last_exc. | |||||
* | gh-118761: Improve import time of `pprint` (#122725) | Hugo van Kemenade | 2024-08-07 | 2 | -4/+23 | |
| | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | |||||
* | Remove dead code in the RE parser (GH-122796) | Serhiy Storchaka | 2024-08-07 | 1 | -16/+0 | |
| | ||||||
* | gh-122798: Make tests for warnings in the re module more strict (GH-122799) | Serhiy Storchaka | 2024-08-07 | 1 | -11/+40 | |
| | | | | * Test warning messages. * Test stack level for re.compile() and re.findall(). | |||||
* | gh-118926: Spill deferred references to stack in cases generator (#122748) | Sam Gross | 2024-08-07 | 9 | -60/+173 | |
| | | | | | | | This automatically spills the results from `_PyStackRef_FromPyObjectNew` to the in-memory stack so that the deferred references are visible to the GC before we make any possibly escaping call. Co-authored-by: Ken Jin <kenjin@python.org> | |||||
* | Docs: Change `remove` to `removes` for consistency (#121072) | smij720 | 2024-08-07 | 1 | -2/+3 | |
| | ||||||
* | Bump types-setuptools to 71.1.0.20240726 in /Tools (#122551) | dependabot[bot] | 2024-08-07 | 1 | -1/+1 | |
| | ||||||
* | gh-100256: Skip inaccessible registry keys in the WinAPI mimetype ↵ | Lucas Esposito | 2024-08-07 | 3 | -1/+3 | |
| | | | | implementation (GH-122047) | |||||
* | Doc: cmdline.rst: Include -P and -R in usage (#122590) | Wim Jeantine-Glenn | 2024-08-07 | 1 | -1/+1 | |
| | | | | * ``-P``: safe path (https://docs.python.org/3/using/cmdline.html#cmdoption-P) * ``-R``: hash randomization (https://docs.python.org/3/using/cmdline.html#cmdoption-R) | |||||
* | gh-122759: Remove `assert` from `RERAISE` error handling (#122760) | sobolevn | 2024-08-07 | 2 | -2/+0 | |
| | ||||||
* | gh-122511: Improve documentation for object identity of mutable/immutable ↵ | Bénédikt Tran | 2024-08-07 | 1 | -6/+10 | |
| | | | | | types (#122512) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | |||||
* | gh-117139: Fix an incorrect borrow in bytecodes.c (#122318) | Sam Gross | 2024-08-07 | 3 | -11/+14 | |
| | | | `_PyDict_SetItem_Take2` steals both the key (i.e., `sub`) and the value. | |||||
* | gh-121151: argparse: Fix wrapping of long usage text of arguments inside a ↵ | Ali Hamdan | 2024-08-07 | 3 | -7/+36 | |
| | | | | mutually exclusive groups (GH-121159) | |||||
* | gh-79846: Make ssl.create_default_context() ignore invalid certificates ↵ | pukkandan | 2024-08-07 | 2 | -5/+6 | |
| | | | | | | | (GH-91740) An error in one certificate should not cause the whole thing to fail. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | |||||
* | Fix typos in comments and docstring (#122720) | Xie Yanbo | 2024-08-07 | 9 | -11/+11 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | GH-73991: Rework `pathlib.Path.rmtree()` into `delete()` (#122368) | Barney Gale | 2024-08-07 | 7 | -150/+140 | |
| | | | | | | Rename `pathlib.Path.rmtree()` to `delete()`, and add support for deleting non-directories. This simplifies the interface for users, and nicely complements the upcoming `move()` and `copy()` methods (which will also accept any type of file.) | |||||
* | gh-122571: Remove duplicate definition of PY_BUILTIN_HASHLIB_HASHES in ↵ | Jonathan Protzenko | 2024-08-06 | 2 | -6/+3 | |
| | | | | | | configure.ac (#122572) The redefinition in confdefs.h can cause issues with the AX_CHECK_COMPILE_FLAG macro. | |||||
* | gh-122728: Fix SystemError in PyEval_GetLocals() (#122735) | Victor Stinner | 2024-08-06 | 4 | -1/+23 | |
| | | | | | | | Fix PyEval_GetLocals() to avoid SystemError ("bad argument to internal function"). Don't redefine the 'ret' variable in the if block. Add an unit test on PyEval_GetLocals(). | |||||
* | gh-122744: Bump bundled pip to 24.2 (#122745) | Pradyun Gedam | 2024-08-06 | 3 | -1/+2 | |
| | | | Co-authored-by: Pradyun Gedam <pradyunsg@users.noreply.github.com> | |||||
* | gh-122417: Implement per-thread heap type refcounts (#122418) | Sam Gross | 2024-08-06 | 18 | -69/+427 | |
| | | | | | | | The free-threaded build partially stores heap type reference counts in distributed manner in per-thread arrays. This avoids reference count contention when creating or destroying instances. Co-authored-by: Ken Jin <kenjin@python.org> | |||||
* | gh-121103: Update site module docs for free-threaded installs (#122737) | Sam Gross | 2024-08-06 | 1 | -4/+13 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | Fix duplicated words 'begins with a' in pathlib docstring (#122732) | Виталий Дмитриев | 2024-08-06 | 1 | -1/+1 | |
| | ||||||
* | gh-112301: Add macOS warning tracking tooling (#122211) | Nate Ohlson | 2024-08-06 | 5 | -55/+117 | |
| | | | | Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | |||||
* | gh-120104: IDLE: Fix padding in config and search dialogs (#120107) | Serhiy Storchaka | 2024-08-06 | 3 | -2/+3 | |
| | ||||||
* | GH-120024: Move three more escaping calls out of conditional statements ↵ | Mark Shannon | 2024-08-06 | 3 | -10/+32 | |
| | | | | (GH-122734) | |||||
* | gh-122058: `Lib/inspect`: Update docstrings for `isfunction`, `isgenerator`, ↵ | Kirill Podoprigora | 2024-08-06 | 3 | -10/+50 | |
| | | | | | | `isframe`, `iscode`. (#122059) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Victor Stinner <vstinner@python.org> | |||||
* | gh-122681: merge m_atan2() and c_atan2() helper functions (#122682) | Sergey B Kirpichev | 2024-08-06 | 3 | -69/+41 | |
| | ||||||
* | gh-122686: bump hypothesis from 6.104.2 to 6.108.10 in Tools (#122729) | Sergey B Kirpichev | 2024-08-06 | 1 | -4/+1 | |
| | | | This drops attrs pinning. | |||||
* | GH-120024: Refactor code generators to uses classes for emitting code. ↵ | Mark Shannon | 2024-08-06 | 4 | -274/+272 | |
| | | | | (GH-122730) | |||||
* | gh-122581: Avoid data races when collecting parser statistics (#122694) | Lysandros Nikolaou | 2024-08-06 | 2 | -0/+36 | |
| | ||||||
* | GH-120024: Refactor code a bit so that escaping calls can be wrapped in ↵ | Mark Shannon | 2024-08-06 | 3 | -42/+78 | |
| | | | | spill code in code generator (GH-122693) | |||||
* | Fix syntax in generate_re_casefix.py (#122699) | Jelle Zijlstra | 2024-08-06 | 2 | -3/+3 | |
| | | | This was broken in gh-97963. | |||||
* | gh-122595: Add more error checks in the compiler (GH-122596) | Serhiy Storchaka | 2024-08-06 | 2 | -52/+145 | |
| | ||||||
* | gh-122704: Fix reference leak in Modules/_pickle.c (GH-122705) | Kirill Podoprigora | 2024-08-06 | 1 | -0/+4 | |
| |