Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-93103: Parser uses PyConfig.parser_debug instead of Py_DebugFlag (#93106) | Victor Stinner | 2022-05-24 | 7 | -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 Aditya | 2022-05-24 | 1 | -7/+4 | |
| | | | Use asyncio.run(). | |||||
* | GH-93112: Fix missing ResourceDenied import in test_urllib2net (#93113) | Florian Bruhin | 2022-05-24 | 1 | -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) | goldsteinn | 2022-05-24 | 11 | -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 Na | 2022-05-24 | 2 | -8/+15 | |
| | ||||||
* | Doc: No need to use rst syntax in code comments. (GH-93102) | Julien Palard | 2022-05-23 | 1 | -2/+2 | |
| | | | And it raises `make suspicious` false positives. | |||||
* | gh-92859: Doc: add info about logging.debug() calling basicConfig() (GH-93063) | Nicolas Haller | 2022-05-23 | 2 | -4/+13 | |
| | ||||||
* | gh-93065: Fix HAMT to iterate correctly over 7-level deep trees (GH-93066) | Yury Selivanov | 2022-05-23 | 5 | -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 Furman | 2022-05-23 | 1 | -2/+3 | |
| | | | Include member names in error message. | |||||
* | gh-83245: Raise BadZipFile instead of ValueError when reading a corrupt ZIP ↵ | Sam Ezeh | 2022-05-23 | 3 | -0/+15 | |
| | | | | | | file (GH-32291) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | |||||
* | gh-92913: Fix typos in documentation (GH-93129) | Steve Dower | 2022-05-23 | 1 | -3/+3 | |
| | ||||||
* | gh-93010: InvalidHeaderError used but nonexistent (#93015) | oda-gitso | 2022-05-23 | 3 | -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 Dower | 2022-05-23 | 2 | -8/+8 | |
| | ||||||
* | GH-93115: Fix version check in sqlite3 module constants test (#93116) | Florian Bruhin | 2022-05-23 | 1 | -18/+18 | |
| | ||||||
* | gh93107: [Enum] fix missing variable in global_str (GH-93107) | Ethan Furman | 2022-05-23 | 2 | -0/+12 | |
| | ||||||
* | gh-92536: Mark PyUnicode_READY() argument as unused (#93011) | Wenzel Jakob | 2022-05-23 | 1 | -2/+2 | |
| | ||||||
* | gh-93061: Mark as artificial: backwards jump after async for (GH-93062) | Dennis Sweeney | 2022-05-23 | 3 | -0/+55 | |
| | ||||||
* | gh-93103: Update PyUnicode_DecodeFSDefault() doc (#93105) | Victor Stinner | 2022-05-23 | 2 | -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 Stinner | 2022-05-23 | 3 | -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 Heimes | 2022-05-23 | 9 | -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 Haller | 2022-05-23 | 1 | -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 Bellamy | 2022-05-23 | 3 | -7/+38 | |
| | | | | | Fixes #91061 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | |||||
* | gh-92994: Clarify importlib "check" example (#92995) | Shantanu | 2022-05-23 | 1 | -0/+3 | |
| | | | Fixes #92994 | |||||
* | gh-73137: Added sub-subsection headers for flags in re (#93000) | Stanley | 2022-05-23 | 1 | -30/+42 | |
| | | | Fixes #73137 | |||||
* | binascii docs: strict_mode parameter is keyword-only (#93055) | Jelle Zijlstra | 2022-05-23 | 1 | -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 Zijlstra | 2022-05-22 | 1 | -5/+5 | |
| | ||||||
* | Clean up the sqlite3 tests (GH-93056) | Serhiy Storchaka | 2022-05-21 | 2 | -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) | Shantanu | 2022-05-21 | 1 | -6/+6 | |
| | | | Fixes #91362 | |||||
* | Improve tests for opening Sqlite by URI (GH-93047) | Serhiy Storchaka | 2022-05-21 | 1 | -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-paille | 2022-05-21 | 2 | -2/+35 | |
| | ||||||
* | gh-93044: No longer convert the database argument of sqlite3.connect() to ↵ | Serhiy Storchaka | 2022-05-21 | 4 | -7/+19 | |
| | | | | | bytes (GH-93046) Just pass it to the factory as is. | |||||
* | ci: add GitHub token permissions (#92999) | Varun Sharma | 2022-05-21 | 4 | -1/+13 | |
| | ||||||
* | gh-71223: Improve rendering of some references in the docs (GH-93041) | Serhiy Storchaka | 2022-05-21 | 7 | -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) | Shantanu | 2022-05-21 | 1 | -1/+1 | |
| | | | Fixes #93019 | |||||
* | Take advantage of math.comb() in the nth_combination() recipe (#93027) | Raymond Hettinger | 2022-05-20 | 1 | -6/+2 | |
| | ||||||
* | Fix a directive in the `pathlib` docs (GH-93030) | Brett Cannon | 2022-05-20 | 1 | -1/+1 | |
| | ||||||
* | gh-72073: Add Windows case in pathlib.rename (GH-93002) | Stanley | 2022-05-20 | 1 | -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 Gerlach | 2022-05-20 | 22 | -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 Phipps | 2022-05-20 | 1 | -1/+2 | |
| | ||||||
* | gh-91860: documentation for typing.dataclass_transform (#92768) | Shantanu | 2022-05-20 | 3 | -12/+84 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-91922: Fix sqlite connection on nonstardard locales and paths (GH-92926) | Serhiy Storchaka | 2022-05-20 | 4 | -64/+40 | |
| | ||||||
* | Doc: add missing manpage and title references in tkinter docs (#29008) | Rafael Fontenelle | 2022-05-20 | 1 | -2/+3 | |
| | | | | - add bind(3tk) manpage markup - add Tcl/Tk book reference markup | |||||
* | Doc: Minor adjustment of `socket.create_server` docs (#26938) | Pavel | 2022-05-20 | 2 | -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 Na | 2022-05-20 | 1 | -3/+4 | |
| | ||||||
* | gh-92817: Fix precedence of options to py.exe launcher (GH-92988) | Steve Dower | 2022-05-19 | 3 | -11/+49 | |
| | ||||||
* | gh-92984: Explicitly disable incremental linking for Windows Release and PGO ↵ | David Machaj | 2022-05-19 | 2 | -0/+2 | |
| | | | | builds (GH-92985) | |||||
* | gh-92913: Clarify changes to PyInitConfig.module_search_paths[_set] fields ↵ | Steve Dower | 2022-05-19 | 5 | -8/+39 | |
| | | | | (GH-92980) | |||||
* | GH-89914: Make the oparg of the YIELD_VALUE instruction equal the stack ↵ | Mark Shannon | 2022-05-19 | 9 | -26/+35 | |
| | | | | depth. (GH-92960) | |||||
* | gh-92417: `importlib` docs: remove references to unsupported Python versions ↵ | Alex Waygood | 2022-05-19 | 2 | -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 Sobolev | 2022-05-19 | 4 | -6/+83 | |
| | | | | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> |