summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-93103: Parser uses PyConfig.parser_debug instead of Py_DebugFlag (#93106)Victor Stinner2022-05-247-4/+14
| | | | | | | * Replace deprecated Py_DebugFlag with PyConfig.parser_debug in the parser. * Add Parser.debug member. * Add tok_state.debug member. * Py_FrozenMain(): Replace Py_VerboseFlag with PyConfig.verbose.
* GH-89369: test_contextlib_async finalizes event loop after each test (#93074)Kumar Aditya2022-05-241-7/+4
| | | Use asyncio.run().
* GH-93112: Fix missing ResourceDenied import in test_urllib2net (#93113)Florian Bruhin2022-05-241-0/+1
| | | | | The code was moved out of test.support in 311110abcd8ab648dbf1803e36a8ba5d93fa019b (GH-20812), thus making ResourceDenied undefined.
* gh-93033: Use wmemchr in stringlib (GH-93034)goldsteinn2022-05-2411-14/+39
| | | | | Generally comparable perf for the "good" case where memchr doesn't return any collisions (false matches on lower byte) but clearly faster with collisions.
* gh-93099: Fix _pyio to use locale module properly (gh-93136)Dong-hee Na2022-05-242-8/+15
|
* Doc: No need to use rst syntax in code comments. (GH-93102)Julien Palard2022-05-231-2/+2
| | | And it raises `make suspicious` false positives.
* gh-92859: Doc: add info about logging.debug() calling basicConfig() (GH-93063)Nicolas Haller2022-05-232-4/+13
|
* gh-93065: Fix HAMT to iterate correctly over 7-level deep trees (GH-93066)Yury Selivanov2022-05-235-4/+65
| | | | | | | Also while there, clarify a few things about why we reduce the hash to 32 bits. Co-authored-by: Eli Libman <eli@hyro.ai> Co-authored-by: Yury Selivanov <yury@edgedb.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-93118: [Enum] fix error message (GH-93138)Ethan Furman2022-05-231-2/+3
| | | Include member names in error message.
* gh-83245: Raise BadZipFile instead of ValueError when reading a corrupt ZIP ↵Sam Ezeh2022-05-233-0/+15
| | | | | | file (GH-32291) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-92913: Fix typos in documentation (GH-93129)Steve Dower2022-05-231-3/+3
|
* gh-93010: InvalidHeaderError used but nonexistent (#93015)oda-gitso2022-05-233-9/+16
| | | | | * fix issue 93010 Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* gh-93005: Fixes launcher test when no Python install is available (GH-93007)Steve Dower2022-05-232-8/+8
|
* GH-93115: Fix version check in sqlite3 module constants test (#93116)Florian Bruhin2022-05-231-18/+18
|
* gh93107: [Enum] fix missing variable in global_str (GH-93107)Ethan Furman2022-05-232-0/+12
|
* gh-92536: Mark PyUnicode_READY() argument as unused (#93011)Wenzel Jakob2022-05-231-2/+2
|
* gh-93061: Mark as artificial: backwards jump after async for (GH-93062)Dennis Sweeney2022-05-233-0/+55
|
* gh-93103: Update PyUnicode_DecodeFSDefault() doc (#93105)Victor Stinner2022-05-232-60/+30
| | | | | | | Update documentation of PyUnicode_DecodeFSDefault(), PyUnicode_DecodeFSDefaultAndSize() and PyUnicode_EncodeFSDefault(): they now use the filesystem encoding and error handler of PyConfig, Py_FileSystemDefaultEncoding and Py_FileSystemDefaultEncodeErrors variables are no longer used.
* gh-93103: Deprecate global configuration variable (#93104)Victor Stinner2022-05-233-7/+123
| | | | | Deprecate global configuration variables, like Py_IgnoreEnvironmentFlag, in the documentation: the Py_InitializeFromConfig() API should be instead.
* gh-90473: WASI: skip gethostname tests (GH-93092)Christian Heimes2022-05-239-0/+30
| | | | | | - WASI's ``gethostname()`` is a stub that always fails with OSError ``ENOTSUP`` - skip mailcap ``test`` if subprocess is not available - WASI process_time clock does not work.
* gh-89158: Add some REPL secondary prompt markers (#93073)Nicolas Haller2022-05-231-3/+3
| | | | This fixes an issue on tutorial/classes.rst section 9.4 where the example "class Warehouse" was truncated when pressing the >>> button to hide the prompts and output.
* gh-91061: also accept pathlib.Path for winsound.PlaySound (#91489)Mori Bellamy2022-05-233-7/+38
| | | | | Fixes #91061 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-92994: Clarify importlib "check" example (#92995)Shantanu2022-05-231-0/+3
| | | Fixes #92994
* gh-73137: Added sub-subsection headers for flags in re (#93000)Stanley2022-05-231-30/+42
| | | Fixes #73137
* binascii docs: strict_mode parameter is keyword-only (#93055)Jelle Zijlstra2022-05-231-1/+1
| | | | | See https://github.com/python/cpython/commit/35b98e38b6edd63153fc8e092f94cb20725dacc1 Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* termios docs: fix indentation (#93080)Jelle Zijlstra2022-05-221-5/+5
|
* Clean up the sqlite3 tests (GH-93056)Serhiy Storchaka2022-05-212-33/+23
| | | | Remove helper managed_connect(). Use memory_database() or contextlib.closing() + addCleanup(unlink) instead.
* gh-91362: reword pickle docs to account for nested classes (#92429)Shantanu2022-05-211-6/+6
| | | Fixes #91362
* Improve tests for opening Sqlite by URI (GH-93047)Serhiy Storchaka2022-05-211-5/+42
| | | | * Test with with escaped non-ascii characters * Test read-only open of existing DB.
* GH-92898: Make _Py_Cast C++ version compatible with cast operator (gh-92951)serge-sans-paille2022-05-212-2/+35
|
* gh-93044: No longer convert the database argument of sqlite3.connect() to ↵Serhiy Storchaka2022-05-214-7/+19
| | | | | bytes (GH-93046) Just pass it to the factory as is.
* ci: add GitHub token permissions (#92999)Varun Sharma2022-05-214-1/+13
|
* gh-71223: Improve rendering of some references in the docs (GH-93041)Serhiy Storchaka2022-05-217-9/+16
| | | | For example, instead of "eval()uated" (link from "eval()") show "evaluated" (link from the whole word).
* gh-93019: Fix markup in zipfile.rst (#93025)Shantanu2022-05-211-1/+1
| | | Fixes #93019
* Take advantage of math.comb() in the nth_combination() recipe (#93027)Raymond Hettinger2022-05-201-6/+2
|
* Fix a directive in the `pathlib` docs (GH-93030)Brett Cannon2022-05-201-1/+1
|
* gh-72073: Add Windows case in pathlib.rename (GH-93002)Stanley2022-05-201-2/+3
| | | | | #72073 https://docs.python.org/3.12/library/pathlib.html#pathlib.Path.rename
* gh-92611: Clarify planned removal version in PEP 594-deprecated modules ↵CAM Gerlach2022-05-2022-25/+25
| | | | | | | (GH-92793) As discussed in #92611 and #92564 and as a followup to PR #92612 , this 3.11+ only PR uses the proper `deprecated-removed` role for the modules deprecated by PEP 593 (PEP-594) to clearly indicate to users that a removal version is planned and what it is, so they can prepare accordingly or voice any unanticipated impacts. Related to #92792 ; if we decide to backport that PR, the upgrade to using `deprecated-removed` on those functions can be moved to this one.
* shutil._copyfileobj_readinto: tiny speedup (#92377)Lucinda May Phipps2022-05-201-1/+2
|
* gh-91860: documentation for typing.dataclass_transform (#92768)Shantanu2022-05-203-12/+84
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-91922: Fix sqlite connection on nonstardard locales and paths (GH-92926)Serhiy Storchaka2022-05-204-64/+40
|
* Doc: add missing manpage and title references in tkinter docs (#29008)Rafael Fontenelle2022-05-201-2/+3
| | | | - add bind(3tk) manpage markup - add Tcl/Tk book reference markup
* Doc: Minor adjustment of `socket.create_server` docs (#26938)Pavel2022-05-202-1/+2
| | | | - fix spelling in create_server() docs - add a line about create_server() in the socket.py docstring
* Update globals-to-fix.tsv to follow recent changes (gh-92959)Dong-hee Na2022-05-201-3/+4
|
* gh-92817: Fix precedence of options to py.exe launcher (GH-92988)Steve Dower2022-05-193-11/+49
|
* gh-92984: Explicitly disable incremental linking for Windows Release and PGO ↵David Machaj2022-05-192-0/+2
| | | | builds (GH-92985)
* gh-92913: Clarify changes to PyInitConfig.module_search_paths[_set] fields ↵Steve Dower2022-05-195-8/+39
| | | | (GH-92980)
* GH-89914: Make the oparg of the YIELD_VALUE instruction equal the stack ↵Mark Shannon2022-05-199-26/+35
| | | | depth. (GH-92960)
* gh-92417: `importlib` docs: remove references to unsupported Python versions ↵Alex Waygood2022-05-192-10/+7
| | | | | (GH-92424) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
* bpo-28249: fix `lineno` location for empty `DocTest` instances (GH-30498)Nikita Sobolev2022-05-194-6/+83
| | | | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>