Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use sphinxext-opengraph to generate OpenGraph metadata (#99931) | Hugo van Kemenade | 2022-12-05 | 4 | -4/+33 |
| | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
* | gh-100001: Omit control characters in http.server stderr logs. (#100002) | Gregory P. Smith | 2022-12-05 | 4 | -2/+43 |
| | | | Replace control characters in http.server.BaseHTTPRequestHandler.log_message with an escaped \xHH sequence to avoid causing problems for the terminal the output is printed to. | ||||
* | gh-99741: Implement Multi-Phase Init for the _xxsubinterpreters Module ↵ | Eric Snow | 2022-12-05 | 6 | -190/+384 |
| | | | | | | | (gh-99742) _xxsubinterpreters is an internal module used for testing. https://github.com/python/cpython/issues/99741 | ||||
* | dataclasses.rst: Prevent horizontal scrolling (gh-100025) | Ram Rachum | 2022-12-05 | 1 | -1/+2 |
| | |||||
* | bpo-44817: Ignore additional errors in ntpath.realpath (GH-27574) | Michael Förderer | 2022-12-05 | 2 | -1/+6 |
| | |||||
* | gh-98680: Add PyBUF_* constants to the Limited API listing (GH-100018) | Petr Viktorin | 2022-12-05 | 2 | -0/+47 |
| | | | | | | ``PyBUF_*`` constants are marked as part of Limited API of Python 3.11+. These were available in 3.11.0 with `Py_LIMITED_API` defined for 3.11, and are necessary to use the buffer API. Omitting them in `stable_abi.toml` was a mistake. | ||||
* | gh-60203: Revert changes in cycle.__setstate__ (#99982) | Serhiy Storchaka | 2022-12-05 | 2 | -2/+39 |
| | | | | In case if only True/False be supported as boolean arguments in future, we should continue to support 1/0 here. | ||||
* | gh-99892: test_unicodedata: skip test on download failure (#100011) | Victor Stinner | 2022-12-05 | 2 | -3/+6 |
| | | | | Skip test_normalization() of test_unicodedata if it fails to download NormalizationTest.txt file from pythontest.net. | ||||
* | gh-100008: Document Python build requirements (#100009) | Victor Stinner | 2022-12-05 | 2 | -1/+47 |
| | | | | Document also configure --without-freelists option added to Python 3.11. | ||||
* | gh-100005: Skip test_script_as_dev_fd() on FreeBSD (#100006) | Victor Stinner | 2022-12-05 | 2 | -1/+4 |
| | | | | On FreeBSD, skip test_script_as_dev_fd() of test_cmd_line_script if fdescfs is not mounted (at /dev/fd). | ||||
* | gh-93464: [Enum] Add versionchanged tag (#99997) | Ethan Furman | 2022-12-05 | 1 | -0/+5 |
| | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
* | no-issue: Fix typo in pycore_object.h (gh-99994) | Ikko Ashimine | 2022-12-05 | 1 | -1/+1 |
| | |||||
* | gh-98248: Normalizing the error messages in function struct.pack (GH-98252) | Felix Ye | 2022-12-04 | 3 | -72/+179 |
| | | | | Provide consistent and informative error messages in function struct.pack when its integral arguments are not in range. | ||||
* | [Enum] Fix typos in the documentation (GH-99960) | Géry Ogam | 2022-12-04 | 1 | -26/+26 |
| | |||||
* | gh-98458: unittest: bugfix for infinite loop while handling chained ↵ | AlexTate | 2022-12-04 | 3 | -1/+60 |
| | | | | | | | exceptions that contain cycles (#98459) * Bugfix addressing infinite loop while handling self-referencing chained exception in TestResult._clean_tracebacks() * Bugfix extended to properly handle exception cycles in _clean_tracebacks. The "seen" set follows the approach used in the TracebackException class (thank you @iritkatriel for pointing it out) * adds a test for a single chained exception that holds a self-loop in its __cause__ and __context__ attributes | ||||
* | GH-91054: Reset static events counts in code watchers tests (#99978) | Itamar Ostricher | 2022-12-04 | 2 | -3/+12 |
| | |||||
* | gh-60203: Always pass True/False as boolean arguments in tests (GH-99983) | Serhiy Storchaka | 2022-12-04 | 5 | -8/+9 |
| | | | Unless we explicitly test non-bool values. | ||||
* | gh-85747: "Preface" section of asyncio-eventloop.rst: Switch to active voice ↵ | Brian Skinn | 2022-12-04 | 1 | -7/+10 |
| | | | | and suggest other edits (#99784) | ||||
* | bpo-15999: Accept arbitrary values for boolean parameters. (#15609) | Serhiy Storchaka | 2022-12-03 | 52 | -302/+297 |
| | | | builtins and extension module functions and methods that expect boolean values for parameters now accept any Python object rather than just a bool or int type. This is more consistent with how native Python code itself behaves. | ||||
* | gh-99934: test_marshal.py: add more elements in test_deterministic_sets ↵ | Alexander Kanavin | 2022-12-03 | 2 | -1/+2 |
| | | | | | | (GH-99935) Existing elements do produce different output on x86_64, but they do not on x86. Let's make the data longer to ensure it differs. | ||||
* | GH-66285: remove redundant `time.sleep` from `test_fork_signal_handling` ↵ | Kumar Aditya | 2022-12-03 | 1 | -1/+0 |
| | | | | (GH-99963) | ||||
* | GH-98831: Support cache effects in super- and macro instructions (#99601) | Guido van Rossum | 2022-12-03 | 4 | -272/+482 |
| | |||||
* | gh-99741: Clean Up the _xxsubinterpreters Module (gh-99940) | Eric Snow | 2022-12-02 | 4 | -310/+652 |
| | | | | | This cleanup up resolves a few subtle bugs and makes the implementation for multi-phase init much cleaner. https://github.com/python/cpython/issues/99741 | ||||
* | gh-99955: standardize return values of functions in assembler and optimizer. ↵ | Irit Katriel | 2022-12-02 | 1 | -42/+54 |
| | | | | (#99956) | ||||
* | gh-99741: Fix the Cross-Interpreter Data API (gh-99939) | Eric Snow | 2022-12-02 | 3 | -25/+88 |
| | | | | | There were some minor issues that showed up while I was working on porting _xxsubinterpreters to multi-phase init. This fixes them. https://github.com/python/cpython/issues/99741 | ||||
* | GH-91054: Add code object watchers API (GH-99859) | Itamar Ostricher | 2022-12-02 | 11 | -0/+364 |
| | | | | | | * Add API to allow extensions to set callback function on creation and destruction of PyCodeObject Co-authored-by: Ye11ow-Flash <janshah@cs.stonybrook.edu> | ||||
* | gh-99894: Ensure the local names don't collide with the test file in ↵ | Pablo Galindo Salgado | 2022-12-01 | 1 | -6/+6 |
| | | | | | traceback suggestion error checking (#99895) Co-authored-by: Victor Stinner <vstinner@python.org> | ||||
* | gh-99612: Fix PyUnicode_DecodeUTF8Stateful() for ASCII-only data (GH-99613) | Serhiy Storchaka | 2022-12-01 | 4 | -0/+95 |
| | | | | Previously *consumed was not set in this case. | ||||
* | Doc: Add summary line to isolation_level & autocommit sqlite3.connect params ↵ | C.A.M. Gerlach | 2022-12-01 | 1 | -0/+2 |
| | | | | | | | (#99917) Add summary lines to isolation_level and autocommit connect() params Co-authored-by: Géry Ogam <gery.ogam@gmail.com> | ||||
* | GH-98906 ```re``` module: ```search() vs. match()``` section should mention ↵ | ram vikram singh | 2022-11-30 | 1 | -6/+12 |
| | | | | | ```fullmatch()``` (GH-98916) Mention fullmatch along with search and match. | ||||
* | gh-89189: More compact range iterator (GH-27986) | Serhiy Storchaka | 2022-11-30 | 7 | -50/+88 |
| | |||||
* | bpo-47220: Document the optional callback parameter of weakref.WeakMethod ↵ | Géry Ogam | 2022-11-30 | 2 | -2/+6 |
| | | | | (GH-25491) | ||||
* | GH-99905: Fix output of misses in summarize_stats.py execution counts (GH-99906) | Michael Droettboom | 2022-11-30 | 1 | -3/+3 |
| | | | This was an indentation error introduced in 2844aa6a | ||||
* | gh-99845: PEP 670: Convert PyObject macros to functions (#99850) | Victor Stinner | 2022-11-30 | 1 | -5/+8 |
| | | | | | | | | | Convert macros to static inline functions to avoid macro pitfalls, like duplication of side effects: * _PyObject_SIZE() * _PyObject_VAR_SIZE() The result type is size_t (unsigned). | ||||
* | gh-99845: Use size_t type in __sizeof__() methods (#99846) | Victor Stinner | 2022-11-30 | 15 | -108/+85 |
| | | | | | | | | The implementation of __sizeof__() methods using _PyObject_SIZE() now use an unsigned type (size_t) to compute the size, rather than a signed type (Py_ssize_t). Cast explicitly signed (Py_ssize_t) values to unsigned type (Py_ssize_t). | ||||
* | GH-99877) | Irit Katriel | 2022-11-30 | 1 | -23/+41 |
| | |||||
* | Fix typo in exception message in `multiprocessing.pool` (#99900) | Arne de Laat | 2022-11-30 | 1 | -1/+1 |
| | |||||
* | gh-87092: move all localsplus preparation into separate function called from ↵ | Irit Katriel | 2022-11-30 | 1 | -30/+41 |
| | | | | assembler stage (GH-99869) | ||||
* | gh-99891: Fix infinite recursion in the tokenizer when showing warnings ↵ | Pablo Galindo Salgado | 2022-11-30 | 4 | -0/+24 |
| | | | | | (GH-99893) Automerge-Triggered-By: GH:pablogsal | ||||
* | gh-99824: Document that sqlite3.connect implicitly open a transaction if ↵ | Géry Ogam | 2022-11-30 | 1 | -3/+3 |
| | | | | | autocommit=False (#99825) Authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
* | GH-81057: remove static state from suggestions.c (#99411) | Kumar Aditya | 2022-11-30 | 1 | -8/+19 |
| | |||||
* | Improve zip64 limit error message (#95892) | dmjohnsson23 | 2022-11-30 | 1 | -2/+2 |
| | |||||
* | gh-98253: Break potential reference cycles in external code worsened by ↵ | Wenzel Jakob | 2022-11-30 | 2 | -3/+21 |
| | | | | typing.py lru_cache (#98591) | ||||
* | gh-99127: Allow some features of syslog to the main interpreter only (gh-99128) | Dong-hee Na | 2022-11-29 | 5 | -2/+122 |
| | |||||
* | gh-82836: fix private network check (#97733) | Pete Wicken | 2022-11-29 | 3 | -4/+50 |
| | | | Fixes private checks for network objects. The previous method would incorrectly return True for a private check in cases such as "0.0.0.0/0". | ||||
* | Docs: improve accuracy of socketserver reference (#24767) | Géry Ogam | 2022-11-29 | 1 | -7/+3 |
| | |||||
* | whatsnew-3.10: Mention PEP 647 in the Release highlights section. (#99853) | Yilei "Dolee" Yang | 2022-11-29 | 1 | -1/+2 |
| | | | | | Mention PEP 647 in the Release highlights section. Also re-ordered the list so it matches the order in the details sections below. | ||||
* | gh-90717: Update the documentation for the altchars paremeter in base64 ↵ | Sam Ezeh | 2022-11-29 | 1 | -8/+11 |
| | | | | library (GH-94187) | ||||
* | gh-99845: Clean up _PyObject_VAR_SIZE() usage (#99847) | Victor Stinner | 2022-11-29 | 3 | -14/+14 |
| | | | | | | * code_sizeof() now uses an unsigned type (size_t) to compute the result. * Fix _PyObject_ComputedDictPointer(): cast _PyObject_VAR_SIZE() to Py_ssize_t, rather than long: it's a different type on 64-bit Windows. * Clarify that _PyObject_VAR_SIZE() uses an unsigned type (size_t). | ||||
* | gh-99845: Change _PyDict_KeysSize() return type to size_t (#99848) | Victor Stinner | 2022-11-29 | 3 | -35/+31 |
| | | | | | | | | * Change _PyDict_KeysSize() and shared_keys_usable_size() return type from signed (Py_ssize_t) to unsigned (size_t) type. * new_values() argument type is now unsigned (size_t). * init_inline_values() now uses size_t rather than int for the 'i' iterator variable. * type.__sizeof__() implementation now uses unsigned (size_t) type. |