Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update the SOURCE_URI in pyspecific.py to point to the new branchv3.11.0b1 | Pablo Galindo | 2022-05-06 | 3 | -6/+6 |
| | |||||
* | Python 3.11.0b1 | Pablo Galindo | 2022-05-06 | 212 | -440/+2171 |
| | |||||
* | gh-90997: Move `CACHE` handling into `_unpack_opargs` (#92409) | Brandt Bucher | 2022-05-06 | 2 | -7/+11 |
| | | | | | | | * Move CACHE handling into _unpack_opargs * Remove auto-added import * blurb add | ||||
* | gh-92203: Add closure support to exec(). (#92204) | larryhastings | 2022-05-06 | 5 | -21/+171 |
| | | | Add a closure keyword-only parameter to exec(). It can only be specified when exec-ing a code object that uses free variables. When specified, it must be a tuple, with exactly the number of cell variables referenced by the code object. closure has a default value of None, and it must be None if the code object doesn't refer to any free variables. | ||||
* | gh-90978: test_ssl of test_asyncio uses LONG_TIMEOUT (#92402) | Victor Stinner | 2022-05-06 | 1 | -3/+3 |
| | | | | | | On slow buildbot workers, some test_ssl tests fail randomly because of short timeout (30 seconds). Use support.LONG_TIMEOUT instead which is longer and also adjusted (by regrtest --timeout option) on buildbot workers known to be slow. | ||||
* | gh-90997: Show cached inline values in `dis` output (#92360) | Brandt Bucher | 2022-05-06 | 4 | -26/+126 |
| | |||||
* | gh-92368: Fix missing possessive apostrophe (#92397) | gophra | 2022-05-06 | 1 | -1/+1 |
| | | | * Fix missing possessive apostrophe | ||||
* | gh-91321: Fix _PyObject_EXTRA_INIT for C++ (#92396) | Victor Stinner | 2022-05-06 | 1 | -1/+1 |
| | | | | | | | | In C++, the _PyObject_EXTRA_INIT macro now uses nullptr, rather than 0, to initialize the _ob_next and _ob_prev members of the PyObject structure. Fix test_cppext failure when Python is built with ./configure --with-trace-refs. | ||||
* | Fix What's New: use :gh: instead of :issue: (#92395) | Serhiy Storchaka | 2022-05-06 | 1 | -1/+1 |
| | |||||
* | gh-91827: Add method info_pathlevel() in tkinter (GH-91829) | Serhiy Storchaka | 2022-05-06 | 8 | -23/+75 |
| | |||||
* | Add source for character mappings (#92014) | slateny | 2022-05-06 | 1 | -0/+1 |
| | |||||
* | gh-92332: Docs-only deprecation of `typing.Text` (GH-92351) | Alex Waygood | 2022-05-06 | 3 | -0/+15 |
| | | | Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> | ||||
* | gh-84461: Skip network require tests on Emscripten (GH-92383) | Christian Heimes | 2022-05-06 | 3 | -3/+4 |
| | |||||
* | Enum docs: Remove unnecessary apostrophes (#92382) | Alex Waygood | 2022-05-06 | 1 | -2/+2 |
| | | | Replace "it's" with "its". | ||||
* | Document the lifetime of `PyUnicode_AsUTF8String` (#92325) | Matt Wozniski | 2022-05-06 | 1 | -1/+2 |
| | | | The current wording implied this, but didn't state it explicitly. | ||||
* | GH-89519: Deprecate classmethod descriptor chaining (#92379) | Raymond Hettinger | 2022-05-06 | 4 | -1/+20 |
| | |||||
* | Don't apply 'stale' label to issues (#91501) | Hugo van Kemenade | 2022-05-06 | 1 | -1/+2 |
| | |||||
* | gh-78157: [Enum] nested classes will not be members in 3.13 (GH-92366) | Ethan Furman | 2022-05-06 | 5 | -4/+219 |
| | | | | | | | - add member() and nonmember() functions - add deprecation warning for internal classes in enums not becoming members in 3.13 Co-authored-by: edwardcwang | ||||
* | gh-90622: Prevent max_tasks_per_child use with a fork mp_context. (#91587) | Gregory P. Smith | 2022-05-06 | 4 | -11/+43 |
| | | | | | Prevent `max_tasks_per_child` use with a "fork" mp_context to avoid deadlocks. Also defaults to "spawn" when no mp_context is supplied for safe convenience. | ||||
* | gh-87901: Add encoding to os.popen (GH-92374) | Inada Naoki | 2022-05-06 | 3 | -3/+9 |
| | |||||
* | bpo-46907: Update macOS installer to SQLite 3.38.4. (GH-32148) | Mariusz Felisiak | 2022-05-06 | 2 | -4/+4 |
| | |||||
* | NEWS: Reorder items by section (GH-92373) | Inada Naoki | 2022-05-06 | 6 | -214/+214 |
| | | | They caused duplicated sections. | ||||
* | Issues/88027: A potential double free in list_sort_impl (#92367) | Tim Peters | 2022-05-06 | 1 | -1/+3 |
| | | | merge_freemem(): set keys to NULL do it's harmless to call this again. | ||||
* | gh-92112: Fix crash triggered by an evil custom `mro()` (#92113) | Alexey Izbyshev | 2022-05-06 | 3 | -9/+29 |
| | |||||
* | gh-92356: Fix regression in ctypes function call overhead (#92357) | Michael Droettboom | 2022-05-06 | 2 | -0/+2 |
| | | | | | | 38f331d introduced a delayed initialization routine to set up ctypes formattable (`_ctypes_init_fielddesc`), but inadvertently removed setting the `initialization` flag to 1 to avoid initting each time. | ||||
* | update argparse's doc of append action. (#92344) | Hai Shi | 2022-05-06 | 1 | -2/+4 |
| | |||||
* | gh-88279: Deprecate PySys_SetArgvEx() (#92363) | Victor Stinner | 2022-05-06 | 6 | -9/+32 |
| | | | | | | | Deprecate the following C functions: * PySys_SetArgv() * PySys_SetArgvEx() * PySys_SetPath() | ||||
* | gh-57684: Document safe path in What's New in Python 3.11 (#92362) | Victor Stinner | 2022-05-06 | 2 | -0/+12 |
| | | | | Mention also -P and PYTHONSAFEPATH in the Security Considerations page. | ||||
* | gh-57684: Update tests for PYTHONSAFEPATH=1 (#92358) | Victor Stinner | 2022-05-06 | 8 | -15/+33 |
| | | | | | Fix tests failing with the PYTHONSAFEPATH=1 env var. Enhance also -P help in Python usage (python --help). | ||||
* | gh-80010: Expand fromisoformat to include most of ISO-8601 (#92177) | Paul Ganssle | 2022-05-06 | 6 | -178/+778 |
| | | | This expands `fromisoformat` to cover most of the common uses of ISO 8601. We may expand the scope more in the future. | ||||
* | gh-57684: Add -P cmdline option and PYTHONSAFEPATH env var (#31542) | Victor Stinner | 2022-05-05 | 20 | -35/+174 |
| | | | | | | | | | | | | Add the -P command line option and the PYTHONSAFEPATH environment variable to not prepend a potentially unsafe path to sys.path. * Add sys.flags.safe_path flag. * Add PyConfig.safe_path member. * Programs/_bootstrap_python.c uses config.safe_path=0. * Update subprocess._optim_args_from_interpreter_flags() to handle the -P command line option. * Modules/getpath.py sets safe_path to 1 if a "._pth" file is present. | ||||
* | gh-82616: Add process_group support to subprocess.Popen (#23930) | Gregory P. Smith | 2022-05-05 | 9 | -28/+73 |
| | | | | | | | | One more thing that can help prevent people from using `preexec_fn`. Also adds conditional skips to two tests exposing ASAN flakiness on the Ubuntu 20.04 Address Sanitizer Github CI system. When that build is run on more modern systems the "problem" does not show up. It seems ASAN implementation related. Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | gh-70363: Emscripten cannot fstat renamed spool file (GH-92354) | Christian Heimes | 2022-05-05 | 1 | -0/+3 |
| | |||||
* | gh-91996: Add an HTTPMethod StrEnum to http (GH-91997) | cibofo | 2022-05-05 | 4 | -6/+80 |
| | | | | | | | * Add HTTPMethod enum to http Create a StrEnum for the 9 common HTTP methods. Co-authored-by: Ethan Furman <ethan@stoneleaf.us> | ||||
* | gh-92135: test_cppext requires subprocess (GH-92349) | Christian Heimes | 2022-05-05 | 1 | -0/+1 |
| | |||||
* | gh-64783: Don't check value of SIG_DFL and SIG_IGN (#92350) | Christian Heimes | 2022-05-05 | 1 | -0/+3 |
| | |||||
* | gh-92345: Import rlcompleter before sys.path is extended (#92346) | Christian Heimes | 2022-05-05 | 3 | -3/+15 |
| | | | | | | | | | | ``pymain_run_python()`` now imports ``readline`` and ``rlcompleter`` before sys.path is extended to include the current working directory of an interactive interpreter. Non-interactive interpreters are not affected. Also move imports of ``re`` and ``keyword`` module to top level so they are materialized early, too. The ``keyword`` module is trivial and the ``re`` is already imported via ``inspect`` -> ``linecache``. | ||||
* | gh-87390: Fix starred tuple equality and pickling (GH-92337) | Serhiy Storchaka | 2022-05-05 | 4 | -0/+31 |
| | |||||
* | minor hashlib doc example cleanup. (#92340) | Gregory P. Smith | 2022-05-05 | 1 | -8/+6 |
| | | | Closes #85465 | ||||
* | gh-92301: subprocess: Prefer close_range() to procfs-based fd closing (#92303) | Alexey Izbyshev | 2022-05-05 | 2 | -18/+72 |
| | | | | | | | | #92301: subprocess: Prefer `close_range()` to procfs-based fd closing. `close_range()` is much faster for large number of file descriptors, e.g. 4 times faster for 1000 descriptors in a Linux 5.16-based environment. We prefer close_range() only if it's known to be async-signal-safe. | ||||
* | gh-92118: Add test for traceback when exception is modified by ↵ | Irit Katriel | 2022-05-05 | 2 | -0/+43 |
| | | | | (Async)ExitStack.__exit__ (GH-92339) | ||||
* | bpo-41818: Add os.login_tty() for *nix. (#29658) | Soumendra Ganguly | 2022-05-05 | 7 | -14/+184 |
| | | | | | | * Add `os.login_tty(fd)` for Unix. Reviewed-by: Christian Heimes <christian@python.org> Signed-off-by: Gregory P. Smith [Google LLC] <greg@krypto.org> | ||||
* | bpo-43827: Make arguments to abc.ABCMeta.__new__ pos-only (#25385) | Vlad Hoi | 2022-05-05 | 4 | -1/+16 |
| | | | To avoid conflicts with `__init__subclass__`. | ||||
* | bpo-43857: Improve the AttributeError message when deleting a missing ↵ | Géry Ogam | 2022-05-05 | 4 | -5/+62 |
| | | | | | attribute (#25424) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | gh-92047: Py_GetVersion multi-digit minor version (GH-92047) (#92048) | Robert Howlett | 2022-05-05 | 1 | -1/+1 |
| | |||||
* | gh-89653: PEP 670: Convert PyCFunction macros to functions (#92302) | Victor Stinner | 2022-05-05 | 1 | -24/+56 |
| | | | | | | | | | | Convert the following macros to static inline functions: * PyCFunction_GET_CLASS() * PyCFunction_GET_FLAGS() * PyCFunction_GET_FUNCTION() * PyCFunction_GET_SELF() Limited C API version 3.11 no longer casts arguments. | ||||
* | Clean-up and simplify median_grouped(). Vastly improve its docstring. (#92324) | Raymond Hettinger | 2022-05-05 | 2 | -96/+54 |
| | |||||
* | Allow translating argument error messages (#17169) | DjMorgul | 2022-05-05 | 1 | -1/+1 |
| | |||||
* | bpo-46764: Fix wrapping bound method with @classmethod (#31367) | Michael J. Sullivan | 2022-05-05 | 3 | -8/+11 |
| | |||||
* | gh-92223: Remove pre-Python 3.7 alternative in asyncio docs (#92224) | Sebastian Rittau | 2022-05-05 | 1 | -16/+1 |
| |