Pablo Galindo Salgado
622176513e
gh-132950: Check for Py_SUPPORTS_REMOTE_DEBUG in sys.is_remote_debug_enabled ( #132959 )
2025-04-25 16:38:48 +00:00
Victor Stinner
ac5424d6a9
gh-107954: Add audit event to PyConfig_Set() ( #132958 )
2025-04-25 18:30:39 +02:00
Victor Stinner
070d866567
gh-107954: Allow setting cpu_count in PyConfig_Set() ( #132954 )
...
* gh-107954: Allow setting cpu_count in PyConfig_Set()
* Update the doc
2025-04-25 18:29:55 +02:00
Victor Stinner
17718b0503
gh-91048: Fix _testexternalinspection.c on FreeBSD ( #132945 )
2025-04-25 14:57:01 +00:00
Victor Stinner
670b6cc096
gh-132912: Use SHORT_TIMEOUT in test_remote_pdb ( #132939 )
...
Replace hardcoded timeout of 5 seconds with SHORT_TIMEOUT.
2025-04-25 14:00:26 +00:00
Pablo Galindo Salgado
6cbeb6ab91
gh-132912: Account for race in test_keyboard_interrupt in test_remote_pdb ( #132929 )
2025-04-25 14:46:44 +01:00
Christian Veenhuis
52454c5d59
gh-132527: Added missing w
typecode to array() error message ( #132529 )
...
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
2025-04-25 16:31:05 +03:00
Victor Stinner
eb2e430b88
gh-132912: Set 15 min timeout on GHA Hypothesis CI ( #132914 )
2025-04-25 13:29:16 +00:00
Pablo Galindo Salgado
e8cf3a1a64
gh-91048: Refactor _testexternalinspection and add Windows support ( #132852 )
2025-04-25 14:12:16 +01:00
Stan Ulbrych
f6fb498c97
gh-132798: Schedule removal of PyUnicode_AsDecoded/Encoded
functions for 3.15 ( #132799 )
...
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-04-25 15:07:41 +02:00
Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి)
8783cec9b6
gh-129027: Raise DeprecationWarning for sys._clear_type_cache ( #129043 )
...
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-04-25 15:01:48 +03:00
Victor Stinner
b402a4889b
gh-132912: Skip flaky test in test_remote_pdb ( #132924 )
2025-04-25 11:46:43 +00:00
Ronald Oussoren
25e49841e3
gh-113539: Enable using `$BROWSER
` to reorder default seach order in webbrowser.py ( #113561 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-04-25 14:36:18 +03:00
Victor Stinner
1a70f66ea8
gh-132921: Fix setuptools._distutils.dep_util deprecation ( #132923 )
...
Replace setuptools._distutils.dep_util with setuptools.modified in
peg_generator compile_c_extension().
2025-04-25 11:31:19 +00:00
Victor Stinner
79ba56433e
gh-132912: Kill the process on error in test_remote_pdb ( #132920 )
...
If a test fails (such as an assertion error), kill the child process.
2025-04-25 13:14:59 +02:00
Bénédikt Tran
3fa024dec3
gh-132909: handle overflow for 'K'
format in do_mkvalue
( #132911 )
2025-04-25 11:02:57 +00:00
Victor Stinner
de6482eda3
gh-132415: Use shutil.which() in missing_compiler_executable() ( #132906 )
...
Replace deprecated distutils.spawn.find_executable() with
shutil.which() in missing_compiler_executable() of test.support.
2025-04-25 11:50:55 +02:00
Bénédikt Tran
6a9bfee4fa
gh-131423: Update OpenSSL data to 3.4.1 on Linux ( #131618 )
...
OpenSSL 3.4.1 mnemonics are not compatible with OpenSSL 3.4.0 ones since
they were renumbered [1, 2]. Consequently, `_ssl_data_34.h` is renamed to
`_ssl_data_340.h` and `_ssl_data_34.h` now contains OpenSSL 3.4.1 mnemonics.
We also refine the mnemonics that are selected, discarding those that are
mnemonic-like but should not be used as such. More precisely, we remove
the ERR_LIB_MASK and ERR_LIB_OFFSET entries from OpenSSL 1.1.1 data.
[1]: https://github.com/openssl/openssl/issues/26316
[2]: https://github.com/openssl/openssl/issues/26388
2025-04-25 10:26:58 +02:00
Victor Stinner
9cba14881b
gh-127906: Add missing sys import to test_cppext ( #132902 )
2025-04-25 10:19:26 +02:00
Bénédikt Tran
9888f175de
gh-131652: remove duplicated bits in Lib/test/clinic.test.c
( #131653 )
2025-04-25 10:19:12 +02:00
Sergey B Kirpichev
ecd03739f8
gh-132868: use _Alignof()
C11 operator in the struct
module ( #132872 )
2025-04-25 09:57:22 +02:00
Victor Stinner
c292f7f563
gh-127604: Only define dump_pointer() if CAN_C_BACKTRACE ( #132897 )
2025-04-25 09:28:34 +02:00
Ethan Furman
22bc953aa9
gh-132684: [Enum] only call _missing_ in __contains__ for Flags (GH-132790)
...
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-04-24 23:13:54 -07:00
Raymond Hettinger
63da5cc150
gh-132893: More accurate CDF computation (gh-132895)
2025-04-25 00:34:55 -05:00
Ruben Vorderman
b1fc8b69ec
gh-98347: Add links to python-isal in the documentation ( #98637 )
...
Clearly note that this is primarily intended for users for who zlib/gzip is a bottleneck.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-04-25 01:53:23 +00:00
Steele Farnsworth
99b71efe8e
gh-129858: Special syntax error for elif
block after else
( #129902 )
2025-04-25 01:25:48 +00:00
Tomas R.
c3a7118065
gh-69605: Add module autocomplete to PyREPL ( #129329 )
2025-04-25 02:24:26 +01:00
Pablo Galindo Salgado
22c9886c8e
gh-131591: Implement PEP 768 support for FAT mac binaries and 32 bit binaries ( #132892 )
...
Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
2025-04-25 01:58:19 +01:00
Matt Wozniski
797b29b1b5
gh-131591: Allow pdb to attach to a running process ( #132451 )
...
Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
2025-04-25 01:43:23 +01:00
Nadeshiko Manju
3a39e33ee4
gh-131591: Reset RemoteDebuggerSuupport state after fork ( #132793 )
...
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2025-04-25 01:40:01 +01:00
Eric Snow
e54e828852
gh-132776: Cleanup for XIBufferViewType (gh-132821)
...
* add notes
* rename XIBufferViewObject to xibufferview
* move memoryview XIData code to memoryobject.c
2025-04-24 18:25:29 -06:00
Adam Turner
c9f3f5b4ed
gh-132415: Update vendored setuptools in `Lib/test/wheeldata
` ( #132887 )
2025-04-25 00:46:20 +01:00
Tomas R.
08e3389e8c
GH-131798: Split up and optimize CALL_TUPLE_1 in the JIT (GH-132851)
2025-04-24 15:55:03 -07:00
Brett Cannon
15ff60aff0
Differentiate bitwise OR from the word "or" ( #132890 )
2025-04-24 23:05:02 +01:00
RUANG (James Roy)
8e18a9dce2
gh-127385: Add F_DUPFD_QUERY to fcntl (GH-127386)
2025-04-25 00:06:42 +03:00
Tian Gao
eef49c3595
gh-93696: Fixed the breakpoint display error for frozen modules ( #132862 )
2025-04-24 16:07:27 -04:00
Tomas R.
0a387b311e
GH-131798: Split up and optimize CALL_STR_1 in the JIT (GH-132849)
2025-04-24 12:54:46 -07:00
Aneesh Durg
c7a7aa9a57
gh-132737: Support profiling modules that require __main___ ( #132738 )
2025-04-24 14:41:01 -04:00
Jelle Zijlstra
e1c09fff05
gh-132882: Fix copying of unions with members that do not support __or__ ( #132883 )
2025-04-24 16:49:09 +00:00
Serhiy Storchaka
9f5994b94c
gh-132742: Refactor fcntl.fcntl() and fcntl.ioctl() (GH-132768)
...
* Support arbitrary bytes-like objects, not only bytes, in fcntl().
* The fcntl() buffer argument is now null-terminated.
* Automatically retry an ioctl() system calls failing with EINTR.
* Release the GIL for an ioctl() system call even for large bytes-like object.
* Do not silence arbitrary errors whet try to get a buffer.
* Optimize argument parsing, check the argument type before trying to get
a buffer or convert it to integer.
* Fix some error messages.
2025-04-24 19:17:11 +03:00
Serhiy Storchaka
8c975b0fdd
Use os.openpty() instead of pty.openpty() in test_ioctl (GH-132880)
...
pty.openpty() does not work on Android, and it is easier to check
availability of os.openpty.
2025-04-24 16:07:00 +00:00
Sergey B Kirpichev
bab59a904c
gh-125206: don't use CMPLX in libffi complex configure test ( #132865 )
...
See https://sourceware.org/bugzilla/show_bug.cgi?id=26287
This amends aac89b5
.
2025-04-24 17:45:29 +02:00
alexey semenyuk
d7365e6050
gh-132162: Add tests for Py_UniversalNewlineFgets() ( #132164 )
2025-04-24 17:43:48 +02:00
Adam Turner
06a26fda60
gh-118761: Optimise import time for `shlex
` ( #132036 )
2025-04-24 16:10:46 +01:00
Kuba_Z2
984a314b9f
Fix a grammar error in the Py_ALWAYS_INLINE
doc ( #129304 )
2025-04-24 17:20:48 +03:00
Stan Ulbrych
4924bcf0e4
gh-89157: Make C and Python implementation of datetime.date.fromisoformat
consistent ( #131007 )
2025-04-24 17:16:07 +03:00
Stan Ulbrych
92985e321a
gh-130195: Fix typo in warning message ( #130254 )
...
Co-authored-by: Éric <merwok@netwok.org>
2025-04-24 17:06:12 +03:00
Inada Naoki
b1f2304b20
doc: update co_flags reference ( #132300 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-04-24 14:05:56 +00:00
Sergey B Kirpichev
8047e50cb7
gh-128185: Align Decimal docs with spec (case irrelevant for nan/inf) ( #128323 )
2025-04-24 17:02:49 +03:00
Jordi Burguet-Castell
1583f9cdd4
gh-122399: change webbrowser.rst to better describe the contents of controller object ( #122407 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-04-24 16:56:52 +03:00