summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-77630: Change Charset to charset (GH-92439)slateny2022-05-082-12/+12
|
* Add __class_getitem__ to csv.DictReader and csv.DictWriter (#92393)Marc Mueller2022-05-084-1/+12
|
* bpo-44712: Replace "type(literal)" with corresponding builtin types (GH-27294)Serhiy Storchaka2022-05-0819-39/+41
| | | | I suppose it is a remnants of very old code written when str, int, list, dict, etc were functions and not classes.
* gh-89474: Improve Semaphore/BoundedSemaphore.release() for multiple thread ↵Dong-hee Na2022-05-081-5/+3
| | | | waiting (GH-92447)
* gh-92417: `stdtypes` docs: delete discussion of Python 2 differences (GH-92423)Alex Waygood2022-05-081-10/+0
| | | | | | Given that 2.7 has now been end-of-life for two and a half years, I don't think we need such a detailed explanation here anymore of the differences between Python 2 and Python 3.
* gh-92261: Disallow iteration of Union (and other special forms) (GH-92262)Matthew Rahtz2022-05-084-5/+72
|
* GH-92431: Fix footnotes in Doc/c-api/exceptions.rst (GH-92432)Hugo van Kemenade2022-05-081-11/+11
| | | | | * Remove redundant footnote ref: the footnote has been removed * Fix footnote ref to match footnote * Convert footnotes into reST footnotes: will error if missing
* gh-92417: `doctest` docs: remove references to Python <3.6 (GH-92420)Alex Waygood2022-05-081-9/+0
|
* gh-92417: `json` docs: `dict` is ordered on all supported Python versions ↵Alex Waygood2022-05-081-7/+0
| | | | (GH-92422)
* gh-92417: `asyncio` docs: `asyncio.run()` is available on all supported ↵Alex Waygood2022-05-081-1/+0
| | | | Python versions (GH-92419)
* gh-92417: `typing` docs: `from __future__ import annotations` can be used in ↵Alex Waygood2022-05-081-1/+1
| | | | all supported Python versions (GH-92418)
* gh-92448: Update the documentation builder to render the GitHub issue. ↵Dong-hee Na2022-05-089-14/+15
| | | | (GH-92449)
* Update CPyhton configuration for 3.12 (#92451)Dong-hee Na2022-05-083-14/+20
| | | | | | | * Update CPyhton configuration for 3.12 * Fix PC/pyconfig.h * Add expect failure
* Add the 3.11 branch to the CI filesPablo Galindo2022-05-085-2/+8
|
* Update the SOURCE_URI in pyspecific.py to point to the new branchPablo Galindo2022-05-081-1/+1
|
* Merge remote-tracking branch 'upstream/main'Pablo Galindo2022-05-082-0/+58
|\
| * gh-88279: Fix compiler warning for using deprecated PySys_SetArgvEx (#92428)Serhiy Storchaka2022-05-071-0/+3
| |
| * gh-92308: Add Pending Removal section to 3.11 What's New (#92309)Erlend Egeberg Aasland2022-05-071-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gh-92308: Add Pending Removal section to 3.11 What's New * Use compact list; drop attributions * Add short text, and also missing PyUnicode_InternImmortal * Fix formatting * markup fix * Update Doc/whatsnew/3.11.rst Co-authored-by: Victor Stinner <vstinner@python.org> * Apply suggestions from code review Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* | Python 3.12.0a0Pablo Galindo2022-05-087-19/+135
| |
* | Update the SOURCE_URI in pyspecific.py to point to the new branchv3.11.0b1Pablo Galindo2022-05-063-6/+6
| |
* | Python 3.11.0b1Pablo Galindo2022-05-06212-440/+2171
|/
* gh-90997: Move `CACHE` handling into `_unpack_opargs` (#92409)Brandt Bucher2022-05-062-7/+11
| | | | | | | * Move CACHE handling into _unpack_opargs * Remove auto-added import * blurb add
* gh-92203: Add closure support to exec(). (#92204)larryhastings2022-05-065-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 Stinner2022-05-061-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 Bucher2022-05-064-26/+126
|
* gh-92368: Fix missing possessive apostrophe (#92397)gophra2022-05-061-1/+1
| | | * Fix missing possessive apostrophe
* gh-91321: Fix _PyObject_EXTRA_INIT for C++ (#92396)Victor Stinner2022-05-061-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 Storchaka2022-05-061-1/+1
|
* gh-91827: Add method info_pathlevel() in tkinter (GH-91829)Serhiy Storchaka2022-05-068-23/+75
|
* Add source for character mappings (#92014)slateny2022-05-061-0/+1
|
* gh-92332: Docs-only deprecation of `typing.Text` (GH-92351)Alex Waygood2022-05-063-0/+15
| | | Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* gh-84461: Skip network require tests on Emscripten (GH-92383)Christian Heimes2022-05-063-3/+4
|
* Enum docs: Remove unnecessary apostrophes (#92382)Alex Waygood2022-05-061-2/+2
| | | Replace "it's" with "its".
* Document the lifetime of `PyUnicode_AsUTF8String` (#92325)Matt Wozniski2022-05-061-1/+2
| | | The current wording implied this, but didn't state it explicitly.
* GH-89519: Deprecate classmethod descriptor chaining (#92379)Raymond Hettinger2022-05-064-1/+20
|
* Don't apply 'stale' label to issues (#91501)Hugo van Kemenade2022-05-061-1/+2
|
* gh-78157: [Enum] nested classes will not be members in 3.13 (GH-92366)Ethan Furman2022-05-065-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. Smith2022-05-064-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 Naoki2022-05-063-3/+9
|
* bpo-46907: Update macOS installer to SQLite 3.38.4. (GH-32148)Mariusz Felisiak2022-05-062-4/+4
|
* NEWS: Reorder items by section (GH-92373)Inada Naoki2022-05-066-214/+214
| | | They caused duplicated sections.
* Issues/88027: A potential double free in list_sort_impl (#92367)Tim Peters2022-05-061-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 Izbyshev2022-05-063-9/+29
|
* gh-92356: Fix regression in ctypes function call overhead (#92357)Michael Droettboom2022-05-062-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 Shi2022-05-061-2/+4
|
* gh-88279: Deprecate PySys_SetArgvEx() (#92363)Victor Stinner2022-05-066-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 Stinner2022-05-062-0/+12
| | | | Mention also -P and PYTHONSAFEPATH in the Security Considerations page.
* gh-57684: Update tests for PYTHONSAFEPATH=1 (#92358)Victor Stinner2022-05-068-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 Ganssle2022-05-066-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 Stinner2022-05-0520-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.