Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-105407: Remove unused imports in the stdlib (#105411) | Victor Stinner | 2023-06-06 | 5 | -6/+0 |
| | |||||
* | gh-105407: Remove unused imports in Tools/c-analyzer/ (#105410) | Victor Stinner | 2023-06-06 | 6 | -6/+2 |
| | |||||
* | gh-105407: Remove unused imports in tools (#105409) | Victor Stinner | 2023-06-06 | 2 | -3/+0 |
| | |||||
* | gh-105407: Remove unused imports in tests (#105408) | Victor Stinner | 2023-06-06 | 23 | -35/+2 |
| | |||||
* | gh-82180: Update math.factorial(float) doc for Python 3.10 (#105385) | Victor Stinner | 2023-06-06 | 1 | -2/+2 |
| | |||||
* | gh-105373: Fix decimal documentation formatting (#105395) | Victor Stinner | 2023-06-06 | 1 | -1/+1 |
| | | | The deprecation is on decimal.HAVE_THREADS, not on the whole module. | ||||
* | sliding_window() recipe: Raise ValueError for non-positive window sizes. ↵ | Raymond Hettinger | 2023-06-06 | 1 | -3/+27 |
| | | | | Add more tests. (GH-105403) | ||||
* | gh-105376: Remove logging.Logger.warn() method (#105377) | Victor Stinner | 2023-06-06 | 4 | -9/+14 |
| | |||||
* | gh-104783: locale.getlocale() calls sys.getfilesystemencoding() (#105401) | Victor Stinner | 2023-06-06 | 1 | -2/+1 |
| | | | | locale.getlocale() always calls sys.getfilesystemencoding(), instead of calling it only once. | ||||
* | gh-94172: Update keyfile removal documentation (#105392) | Victor Stinner | 2023-06-06 | 5 | -51/+7 |
| | | | | Remove the "deprecated:: 3.6" markup, since the parameters (like keyfile and certfile) got removed in Python 3.12. | ||||
* | gh-92658: Fix typo in docs and tests for `HV_GUID_PARENT` (GH-105267) | Nikita Sobolev | 2023-06-06 | 2 | -2/+2 |
| | |||||
* | gh-104783: locale.getencoding() fallback uses FS encoding (#105381) | Victor Stinner | 2023-06-06 | 2 | -9/+16 |
| | | | | | The locale.getencoding() function now uses sys.getfilesystemencoding() if _locale.getencoding() is missing, instead of calling locale.getdefaultlocale(). | ||||
* | gh-102304: Document Py_INCREF() change in What's New in Python 3.12 (#105389) | Victor Stinner | 2023-06-06 | 2 | -9/+9 |
| | | | Not in Python 3.13. | ||||
* | gh-105156: Update Unicode C API: remove deprecation (#105379) | Victor Stinner | 2023-06-06 | 1 | -9/+0 |
| | | | | | | _PyUnicode_ToLowercase(), _PyUnicode_ToUppercase(), _PyUnicode_ToTitlecase() are no longer deprecated in the documentation. It's no longer needed since they now use Py_UCS4 type, rather than the deprecated Py_UNICODE type. | ||||
* | gh-104783: Remove locale.resetlocale() function (#104784) | Victor Stinner | 2023-06-06 | 5 | -42/+8 |
| | |||||
* | gh-105268: Add _Py_FROM_GC() function to pycore_gc.h (#105362) | Victor Stinner | 2023-06-06 | 3 | -17/+26 |
| | | | | | | | | | | * gcmodule.c reuses _Py_AS_GC(op) for AS_GC() * Move gcmodule.c FROM_GC() implementation to a new _Py_FROM_GC() static inline function in pycore_gc.h. * _PyObject_IS_GC(): only get the type once * gc_is_finalized(à) and PyObject_GC_IsFinalized() use _PyGC_FINALIZED(), instead of _PyGCHead_FINALIZED(). * Remove _Py_CAST() in pycore_gc.h: this header file is not built with C++. | ||||
* | build(deps): bump requests from 2.29.0 to 2.31.0 in /Doc (#105368) | dependabot[bot] | 2023-06-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Bumps [requests](https://github.com/psf/requests) from 2.29.0 to 2.31.0. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](https://github.com/psf/requests/compare/v2.29.0...v2.31.0) --- updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | ||||
* | gh-105259: Ensure we don't show newline characters for trailing NEWLINE ↵ | Pablo Galindo Salgado | 2023-06-06 | 5 | -5/+17 |
| | | | | tokens (#105364) | ||||
* | gh-102304: Fix up Simple ABI doc (GH-105351) | Victor Stinner | 2023-06-06 | 2 | -9/+4 |
| | |||||
* | gh-104411: Update test_getint for Tcl 9.0 (GH-104412) | Christopher Chavez | 2023-06-06 | 1 | -1/+4 |
| | |||||
* | gh-105268: Remove _PyGC_FINALIZED() macro (#105350) | Victor Stinner | 2023-06-06 | 3 | -8/+10 |
| | | | | | Remove the old private, undocumented and untested _PyGC_FINALIZED() macro which was kept for backward compatibility with Python 3.8 and older. | ||||
* | Add myself as codeowner for Limited API/Stable ABI, remove from *import* ↵ | Petr Viktorin | 2023-06-06 | 1 | -1/+7 |
| | | | | | (GH-105349) This should set up more relevant notifications for me. | ||||
* | gh-90005: Don't link with libbsd if not needed (#105236) | Erlend E. Aasland | 2023-06-06 | 3 | -5/+9 |
| | | | | The regression was introduced with commit 5b946cada. Restore pre gh-29696 behaviour. | ||||
* | gh-105292: Add option to make ↵ | Irit Katriel | 2023-06-06 | 5 | -13/+48 |
| | | | | | | | traceback.TracebackException.format_exception_only recurse into exception groups (#105294) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | gh-102304: Fix Py_INCREF() stable ABI in debug mode (#104763) | Victor Stinner | 2023-06-06 | 5 | -27/+17 |
| | | | | | | | | | | | When Python is built in debug mode (if the Py_REF_DEBUG macro is defined), the Py_INCREF() and Py_DECREF() function are now always implemented as opaque functions to avoid leaking implementation details like the "_Py_RefTotal" variable or the _Py_DecRefTotal_DO_NOT_USE_THIS() function. * Remove _Py_IncRefTotal_DO_NOT_USE_THIS() and _Py_DecRefTotal_DO_NOT_USE_THIS() from the stable ABI. * Remove _Py_NegativeRefcount() from limited C API. | ||||
* | gh-102304: doc: Add links to Stable ABI and Limited C API (#105345) | Victor Stinner | 2023-06-06 | 17 | -42/+58 |
| | | | | | | | | | * Add "limited-c-api" and "stable-api" references. * Rename "stable-abi-list" reference to "limited-api-list". * Makefile: Document files regenerated by "make regen-limited-abi" * Remove first empty line in generated files: - Lib/test/test_stable_abi_ctypes.py - PC/python3dll.c | ||||
* | gh-104399: Use newer libtommath APIs when necessary (GH-104407) | Christopher Chavez | 2023-06-06 | 2 | -2/+25 |
| | |||||
* | Display the sanitizer config in the regrtest header. (#105301) | Gregory P. Smith | 2023-06-06 | 2 | -1/+21 |
| | | | | | | | Display the sanitizers present in libregrtest. Having this in the CI output for tests with the relevant environment variable displayed will help make it easier to do what we need to create an equivalent local test run. | ||||
* | gh-105324: Fix tokenize module main function for stdin (#105325) | Pablo Galindo Salgado | 2023-06-05 | 2 | -2/+3 |
| | |||||
* | Remove dead code in codeop.py (#105263) | Tian Gao | 2023-06-05 | 1 | -10/+0 |
| | |||||
* | gh-89412: Add missing attributes (added in 3.10) to traceback module docs ↵ | Jakub Kuczys | 2023-06-05 | 3 | -2/+18 |
| | | | | (#105046) | ||||
* | What's New in 3.12: List 'Improved Modules' alphabetically (#105315) | Hugo van Kemenade | 2023-06-05 | 1 | -107/+107 |
| | |||||
* | gh-105286: Improve `typing.py` docstrings (#105287) | Alex Waygood | 2023-06-05 | 1 | -217/+253 |
| | | | | Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Nikita Sobolev <mail@sobolevn.me> | ||||
* | gh-105280: Ensure `isinstance([], collections.abc.Mapping)` always evaluates ↵ | Alex Waygood | 2023-06-05 | 3 | -8/+38 |
| | | | | to `False` (#105281) | ||||
* | gh-103906: Remove immortal refcounting in compile/marshal.c (gh-103922) | Dong-hee Na | 2023-06-05 | 3 | -8/+8 |
| | |||||
* | gh-105237: Allow calling `issubclass(X, typing.Protocol)` again (#105239) | Alex Waygood | 2023-06-05 | 3 | -0/+65 |
| | |||||
* | gh-105164: Detect annotations inside match blocks (#105177) | Jelle Zijlstra | 2023-06-05 | 3 | -0/+123 |
| | |||||
* | GH-105229: Replace some superinstructions with single instruction ↵ | Mark Shannon | 2023-06-05 | 17 | -686/+731 |
| | | | | equivalent. (GH-105230) | ||||
* | GH-104584: Allow optimizers to opt out of optimizing. (GH-105244) | Mark Shannon | 2023-06-05 | 2 | -12/+20 |
| | |||||
* | gh-103558: Add coverage tests for argparse (#103570) | Tian Gao | 2023-06-05 | 3 | -7/+92 |
| | | | | | Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: hauntsaninja <hauntsaninja@gmail.com> | ||||
* | gh-98963: Restore the ability to have a dict-less property. (#105262) | Gregory P. Smith | 2023-06-05 | 3 | -13/+97 |
| | | | | | Ignore doc string assignment failures in `property` as has been the behavior of all past Python releases. | ||||
* | gh-80480: array: Add 'w' typecode. (#105242) | Inada Naoki | 2023-06-04 | 7 | -58/+158 |
| | |||||
* | gh-104882: Docs: fix description of relationship between ↵ | Joe Geisbauer | 2023-06-04 | 1 | -1/+1 |
| | | | | `socket.getblocking()` and `socket.gettimeout()` (#105026) | ||||
* | Fix typo in Python 3.12 What's New (#105278) | Shantanu | 2023-06-04 | 1 | -2/+2 |
| | |||||
* | gh-104690 Disallow thread creation and fork at interpreter finalization ↵ | chgnrdv | 2023-06-04 | 8 | -30/+97 |
| | | | | | | | | | | | | | | | | | (#104826) Disallow thread creation and fork at interpreter finalization. in the following functions, check if interpreter is finalizing and raise `RuntimeError` with appropriate message: * `_thread.start_new_thread` and thus `threading` * `posix.fork` * `posix.fork1` * `posix.forkpty` * `_posixsubprocess.fork_exec` when a `preexec_fn=` is supplied. --------- Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Gregory P. Smith <greg@krypto.org> | ||||
* | gh-89415: Mention new `IP_*` constants in `socket` module in the docs (#105266) | Nikita Sobolev | 2023-06-03 | 1 | -1/+2 |
| | |||||
* | gh-103277: remove unused macros (#105247) | Irit Katriel | 2023-06-03 | 1 | -19/+0 |
| | |||||
* | gh-101524: Only Use Public C-API in the _xxsubinterpreters Module (gh-105258) | Eric Snow | 2023-06-02 | 11 | -36/+38 |
| | | | The _xxsubinterpreters module was meant to only use public API. Some internal C-API usage snuck in over the last few years (e.g. gh-28969). This fixes that. | ||||
* | gh-105080: Fixed inconsistent signature on derived classes (#105217) | Tian Gao | 2023-06-02 | 3 | -11/+31 |
| | |||||
* | GH-102404, GH-100956: Document how to do a WASI build (GH-105251) | Brett Cannon | 2023-06-02 | 3 | -174/+192 |
| | | | Also includes a reference shell script to implements what is documented. |