Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | GH-122482: Make About IDLE direct discussion to DPO (#122483) | Terry Jan Reedy | 2024-07-30 | 3 | -7/+13 |
| | | | | | | | Currently, idle-dev@python.org and idle-dev mailing list serve to collect spam (90+%). Change About IDLE to direct discussions to discuss.python.org. Users are already doing so. | ||||
* | gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233) | Petr Viktorin | 2024-07-30 | 10 | -4/+160 |
| | | | | | | | | | | | | | | | | | | | | | | | | | ## Encode header parts that contain newlines Per RFC 2047: > [...] these encoding schemes allow the > encoding of arbitrary octet values, mail readers that implement this > decoding should also ensure that display of the decoded data on the > recipient's terminal will not cause unwanted side-effects It seems that the "quoted-word" scheme is a valid way to include a newline character in a header value, just like we already allow undecodable bytes or control characters. They do need to be properly quoted when serialized to text, though. ## Verify that email headers are well-formed This should fail for custom fold() implementations that aren't careful about newlines. Co-authored-by: Bas Bloemsaat <bas@bloemsaat.org> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | gh-120906: Support arbitrary hashable keys in FrameLocalsProxy (GH-122309) | Petr Viktorin | 2024-07-30 | 3 | -60/+208 |
| | | | Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com> | ||||
* | gh-112301: Add argument aliases and tee compiler output for check warnings ↵ | Nate Ohlson | 2024-07-30 | 2 | -2/+5 |
| | | | | | (GH-122465) Also remove superfluous shebang from the warning check script | ||||
* | Remove outdated note about instance methods from datamodel.rst (#122471) | Thomas Grainger | 2024-07-30 | 1 | -8/+1 |
| | |||||
* | gh-122188: Move magic number to its own file (#122243) | Michael Droettboom | 2024-07-30 | 7 | -295/+307 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gh-122188: Move magic number to its own file * Add versionadded directive * Do work in C * Integrate launcher.c * Make _pyc_magic_number private * Remove metadata * Move sys.implementation -> _imp * Modernize comment * Move _RAW_MAGIC_NUMBER to the C side as well * _pyc_magic_number -> pyc_magic_number * Remove unused import * Update docs * Apply suggestions from code review Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com> * Fix typo in tests --------- Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com> | ||||
* | gh-117657: Avoid race in `PAUSE_ADAPTIVE_COUNTER` in free-threaded build ↵ | Sam Gross | 2024-07-30 | 2 | -2/+2 |
| | | | | | | | (#122190) The adaptive counter doesn't do anything currently in the free-threaded build and TSan reports a data race due to concurrent modifications to the counter. | ||||
* | gh-116402: Avoid readline in test_builtin TTY input tests (GH-122447) | Łukasz Langa | 2024-07-30 | 1 | -15/+24 |
| | |||||
* | gh-121946: Temporarily switch to llvm-17 in TSan CI again (GH-122466) | Sam Gross | 2024-07-30 | 1 | -5/+5 |
| | | | The Ubuntu package for llvm-18 is broken | ||||
* | gh-119896: Fix CTRL-Z behavior in the new REPL on Windows (GH-122217) | Dino Viehland | 2024-07-30 | 4 | -4/+14 |
| | |||||
* | gh-121474: Add threading.Barrier parties arg sanity check. (GH-121480) | Clinton | 2024-07-30 | 3 | -0/+8 |
| | |||||
* | gh-122400: Handle ValueError in filecmp (GH-122401) | Bénédikt Tran | 2024-07-30 | 3 | -4/+42 |
| | |||||
* | gh-105733: Soft-deprecate ctypes.ARRAY, rather than hard-deprecating it. ↵ | Petr Viktorin | 2024-07-30 | 5 | -17/+14 |
| | | | | | | | (GH-122281) Soft-deprecate ctypes.ARRAY, rather than hard-deprecating it. Partially reverts 2211454fe210637ed7fabda12690dac6cc9a8149 | ||||
* | GH-121970: Extract ``audit_events`` into a new extension (#122325) | Adam Turner | 2024-07-30 | 3 | -207/+263 |
| | |||||
* | gh-122420: Fix accounting for immortal interned strings in refleak.py ↵ | Sam Gross | 2024-07-29 | 1 | -1/+1 |
| | | | | | | (GH-122421) The `_PyUnicode_Intern*` functions already adjust the total refcount, so we don't want to readjust it in refleak.py. | ||||
* | GH-118093: Improve handling of short and mid-loop traces (GH-122252) | Brandt Bucher | 2024-07-29 | 2 | -35/+34 |
| | |||||
* | gh-122133: Authenticate socket connection for `socket.socketpair()` fallback ↵ | Seth Michael Larson | 2024-07-29 | 3 | -3/+147 |
| | | | | | | | (GH-122134) * Authenticate socket connection for `socket.socketpair()` fallback when the platform does not have a native `socketpair` C API. We authenticate in-process using `getsocketname` and `getpeername` (thanks to Nathaniel J Smith for that suggestion). Co-authored-by: Gregory P. Smith <greg@krypto.org> | ||||
* | GH-122085: Use include files for C API deprecations (#109843) | Adam Turner | 2024-07-29 | 7 | -181/+121 |
| | |||||
* | gh-121996: Fix --disable-safety and --enable-slower-safety options (gh-122414) | Donghee Na | 2024-07-29 | 2 | -11/+19 |
| | |||||
* | GH-116090: Fire RAISE events from _FOR_ITER_TIER_TWO (GH-122413) | Brandt Bucher | 2024-07-29 | 6 | -12/+14 |
| | |||||
* | gh-122311: Fix a refleak in pickle (GH-122411) | Serhiy Storchaka | 2024-07-29 | 1 | -0/+1 |
| | |||||
* | gh-117482: Fix the Slot Wrapper Inheritance Tests (gh-122248) | Eric Snow | 2024-07-29 | 4 | -48/+143 |
| | | | The tests were only checking cases where the slot wrapper was present in the initial case. They were missing when the slot wrapper was added in the additional initializations. This fixes that. | ||||
* | gh-122234: Add DECREFs to error paths (#122406) | Petr Viktorin | 2024-07-29 | 1 | -0/+4 |
| | | | Co-Authored-By: Kirill Podoprigora <kirill.bast9@mail.ru> | ||||
* | gh-122292: Split up ``Lib/test/test_ast.py`` into a couple of files (#122293) | Kirill Podoprigora | 2024-07-29 | 5 | -612/+629 |
| | |||||
* | gh-122311: Add more tests for error messages in pickle (GH-122373) | Serhiy Storchaka | 2024-07-29 | 1 | -50/+185 |
| | |||||
* | gh-122311: Fix some error messages in pickle (GH-122386) | Serhiy Storchaka | 2024-07-29 | 4 | -7/+11 |
| | |||||
* | gh-122234: fix accuracy issues for sum() (#122236) | Sergey B Kirpichev | 2024-07-29 | 3 | -11/+22 |
| | | | | | | | | * Use compensated summation for complex sums with floating-point items. This amends #121176. * sum() specializations for floats and complexes now use PyLong_AsDouble() instead of PyLong_AsLongAndOverflow() and compensated summation as well. | ||||
* | gh-122311: Add more tests for pickle (GH-122376) | Serhiy Storchaka | 2024-07-28 | 2 | -128/+660 |
| | |||||
* | gh-120593: Make _PyLong_CompactValue() parameter const again (#122367) | Victor Stinner | 2024-07-28 | 1 | -4/+4 |
| | | | | | Change _PyLong_IsCompact() and _PyLong_CompactValue() parameter type from 'PyObject*' to 'const PyObject*'. Avoid the Py_TYPE() macro which does not support const parameter. | ||||
* | gh-122085: Create dedicated page for deprecations (#122352) | Hugo van Kemenade | 2024-07-28 | 3 | -0/+13 |
| | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | ||||
* | gh-119180: Add myself as CODEOWNER for annotationlib (#122366) | Jelle Zijlstra | 2024-07-28 | 1 | -0/+1 |
| | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | ||||
* | gh-122361: Use proper `PyUnicodeWriter_*` API in `constevaluator_call` (#122362) | sobolevn | 2024-07-27 | 1 | -15/+17 |
| | |||||
* | gh-119180: Add evaluate functions for type params and type aliases (#122212) | Jelle Zijlstra | 2024-07-27 | 11 | -159/+385 |
| | |||||
* | GH-121462: pathlib docs: improve table of corresponding os/os.path functions ↵ | Barney Gale | 2024-07-27 | 1 | -36/+51 |
| | | | | | | | | | | | | | | | | | | | (#121465) Re-order table of corresponding functions with the following priorities: 1. Pure functionality is at the top 2. `os.path` functions are shown before `os` functions 3. Similar functionality is kept together 4. Functionality follows docs order where possible Add a few missed correspondences: - `os.path.isjunction` and `Path.is_junction` - `os.path.ismount` and `Path.is_mount` - `os.lstat()` and `Path.lstat()` - `os.lchmod()` and `Path.lchmod()` Also add footnotes describing a few differences. | ||||
* | gh-119180: Use type descriptors to access annotations (PEP 749) (#122074) | Jelle Zijlstra | 2024-07-27 | 3 | -5/+117 |
| | |||||
* | gh-122085: Use include files for `whatsnew/3.14.rst` deprecations (#122242) | Hugo van Kemenade | 2024-07-27 | 4 | -13/+32 |
| | |||||
* | gh-122044: Don't error during gitignore filtering with no files (#122045) | Seth Michael Larson | 2024-07-27 | 1 | -0/+4 |
| | |||||
* | gh-122170: Handle ValueError raised by os.stat() in linecache (GH-122176) | Bénédikt Tran | 2024-07-27 | 3 | -2/+37 |
| | |||||
* | gh-112301: Compiler warning management tooling (#121730) | Nate Ohlson | 2024-07-27 | 5 | -2/+205 |
| | | | | | Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | ||||
* | gh-122291: Intern latin-1 one-byte strings at startup (GH-122303) | Petr Viktorin | 2024-07-27 | 2 | -62/+40 |
| | |||||
* | gh-122332: Fix missing `NULL` check in `asyncio.Task.get_coro` (#122338) | Peter Bierma | 2024-07-27 | 3 | -1/+19 |
| | |||||
* | gh-121832: Revert test skip introduced by #122150. (#122340) | Russell Keith-Magee | 2024-07-27 | 1 | -1/+0 |
| | | | Revert test skip introduced by #122150. | ||||
* | gh-120831: Correct default minimum iOS version. (#122339) | Russell Keith-Magee | 2024-07-27 | 1 | -1/+1 |
| | | | Correct default minimum iOS version. | ||||
* | Fix underline for 'pty' in What's New in Python 3.14 (#122337) | Adam Turner | 2024-07-27 | 1 | -1/+1 |
| | |||||
* | Document ``mimetypes.MimeTypes.add_type()`` (#122301) | Subrahmanya Gaonkar | 2024-07-26 | 1 | -0/+10 |
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | ||||
* | Remove reference to docs mailing list for bug reports (#122323) | Carol Willing | 2024-07-26 | 1 | -7/+2 |
| | |||||
* | gh-122245: Add test case of generic type with __debug__ (#122322) | Irit Katriel | 2024-07-26 | 2 | -2/+6 |
| | |||||
* | Manually override bytecode definition in optimizer, to avoid build error ↵ | Mark Shannon | 2024-07-26 | 2 | -4/+17 |
| | | | | (GH-122316) | ||||
* | gh-122201: Lock mutex when setting handling_thread to NULL (#122204) | Sam Gross | 2024-07-26 | 2 | -4/+15 |
| | | | | | In the free-threaded build, we need to lock pending->mutex when clearing the handling_thread in order not to race with a concurrent make_pending_calls in the same interpreter. | ||||
* | GH-122294: Burn in the addresses of side exits (GH-122295) | Brandt Bucher | 2024-07-26 | 6 | -19/+24 |
| |