summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-93433: Fix dis doc example output (GH-93434)Ken Jin2022-06-031-10/+18
|
* gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993)Petr Viktorin2022-06-034-4/+46
|
* remove redundant argument to log_helper (GH-93440)Pieter Eendebak2022-06-031-5/+5
|
* gh-92932: dis._unpack_opargs should handle EXTENDED_ARG_QUICK (gh-92945)Dong-hee Na2022-06-033-1/+25
|
* gh-91320: Fix more old-style cast warnings in C++ (#93285)Victor Stinner2022-06-023-4/+4
| | | | Use _PyObject_CAST() in the public C API to fix C++ compiler warnings: "use of old-style cast" (clang -Wold-style-cast).
* gh-90473: Skip and document more failing tests on WASI (GH-93436)Christian Heimes2022-06-029-6/+42
| | | | | | | - Mark more ``umask()`` cases - ``dup()`` is not supported - ``/dev/null`` is not available - document missing features - mark more modules as not available
* gh-93356: Lay out exception handling code at end of code unit (GH-92769)Irit Katriel2022-06-023-85/+263
|
* gh-84461: Skip new async logging tests on Emscripten (GH-93427)Christian Heimes2022-06-021-0/+3
|
* gh-93418: Fix an assert when an f-string expression is followed by an '=', ↵Eric V. Smith2022-06-013-1/+6
| | | | but no closing brace. (gh-93419)
* gh-92597: Improve error message for AST nodes with invalid ranges (GH-93398)Pablo Galindo Salgado2022-06-011-3/+3
|
* gh-90300: split --help output into separate options (#30331)Éric2022-06-016-80/+210
| | | | | | Make --help output shorter and add new help options. --help-env, --help-xoptions and --help-all command-line options are added to complement --help.
* [doc] Improve discoverability of links between logging documents. (GH-93405)Vinay Sajip2022-06-012-1/+30
|
* Remove the execution bit to some socket-related files. (#93368)Ezio Melotti2022-06-013-0/+0
|
* gh-93372: Fix typo in os.rename documentation (GH-93401)Wei-Ting Yang2022-06-011-1/+1
|
* 📝 Make sure the phrase "constant-time compare" actually appears in the ↵Noah Kantrowitz2022-06-011-1/+1
| | | | | docs (GH-93396) This is purely for SEO as this is the actual generic name for this kind of method and it currently does not appear in a Google search for "python constant time compare". Not creating an issue or setting this up for backports as its trivial (I think) and not a functional change.
* gh-92597: Ensure that AST nodes without explicit end positions can be ↵Pablo Galindo Salgado2022-05-314-13/+35
| | | | compiled (GH-93359)
* gh-93391: fix typo in `array` docs (GH-93392)ynfle2022-05-311-1/+1
| | | | | Fixes #93391 Automerge-Triggered-By: GH:rhettinger
* [doc] logging.rst - Change link to point directly to the Google Group. ↵Moshe Kaplan2022-05-311-1/+1
| | | | (GH-93390)
* gh-93143: Avoid NULL check in LOAD_FAST based on analysis in the compiler ↵Dennis Sweeney2022-05-3111-52/+371
| | | | (GH-93144)
* gh-69093: Fix Setup.local.in rule for _sqlite3 (GH-93380)Christian Heimes2022-05-312-1/+2
|
* gh-93283: Improve error message for f-string with invalid conversion ↵Serhiy Storchaka2022-05-313-23/+52
| | | | character (GH-93349)
* Remove VOC reference (93333)Carl Bordum Hansen2022-05-311-2/+1
| | | | VOC has been archived by the BeeWare project, and they are instead embedding CPython, rather than transpiling to Java bytecode.
* GH-93354: Use exponential backoff to avoid excessive specialization ↵Mark Shannon2022-05-314-46/+93
| | | | attempts. (GH-93355)
* GH-93312: Add os.PIDFD_NONBLOCK flag (#93313)Kumar Aditya2022-05-314-4/+26
|
* gh-93345: Fix a crash in substitution of nested TypeVar after TypeVarTuple ↵Serhiy Storchaka2022-05-313-2/+10
| | | | | | (GH-93346) For example: tuple[*Ts, list[T]][int, str, bool]
* gh-93351: Ensure the position information in AST nodes created by the parser ↵Pablo Galindo Salgado2022-05-302-0/+53
| | | | is always consistent (GH-93352)
* bpo-42272: fix misleading warning filter message/module docs (#23172)Kevin Locke2022-05-302-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-42272: improve message/module warning filter docs "The Warnings Filter" section of the warnings module documentation describes the message and module filters as "a string containing a regular expression". While that is true when they are arguments to the filterwarnings function, it is not true when they appear in -W or $PYTHONWARNINGS where they are matched literally (after stripping any starting/ending whitespace). Update the documentation to note when they are matched literally. Also clarify that module matches the "fully-qualified module name", rather than "module name" which is ambiguous. skip news (since this is a doc fix) Signed-off-by: Kevin Locke <kevin@kevinlocke.name> * bpo-42272: remove bad submodule warning filter doc The `error:::mymodule[.*]` example in the "Describing Warning Filters" section of the warnings module documentation does not behave as the comment describes. Since the module portion of the filter string is interpreted literally, it would match a module with a fully-qualified name that is literally `mymodule[.*]`. Unfortunately, there is not a way to match '"module" and any subpackages of "mymodule"' as documented, since the module part of a filter string is matched literally. Instead, update the filter and comment to match only "mymodule". skip news (since this is a doc fix) Signed-off-by: Kevin Locke <kevin@kevinlocke.name> * bpo-42272: add warning filter doc changes to NEWS Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
* Fix typo in Lib/idlelib/idle_test/test_parenmatch.py (GH-93332)luzpaz2022-05-301-2/+2
| | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-93244: Document Py_PRINT_RAW in PyObject_Print() comment (93245)Will Hawkins2022-05-291-3/+3
|
* gh-93008: refactor compiler functions that add instructions to take only a ↵Irit Katriel2022-05-291-60/+61
| | | | basicblock* (not the whole compiler) (GH-93009)
* bpo-41287: Handle `doc` argument of `property.__init__` in subclasses (#23205)Sergei Izmailov2022-05-293-18/+131
| | | | | Fixes #85459 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-92240 : Include release dates for "What's New In Python 3.X" (#92937)georgically2022-05-299-8/+13
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Revert "gh-84508: Add mapping files for Korean and Japanese. (gh-93309)" ↵Dong-hee Na2022-05-294-38406/+0
| | | | | (#93320) This reverts commit dec1e9346d82fa4a4761389c81d36ef9d01f332b.
* gh-92727: Add example of named group in doc for re.Match.__getitem__ (#92730)Baptiste Mispelon2022-05-281-0/+8
|
* gh-92839: fixed typo in _bisectmodule.c (line 131) (#92849)oda-gitso2022-05-283-2/+9
|
* gh-84508: Add mapping files for Korean and Japanese. (gh-93309)Dong-hee Na2022-05-284-0/+38406
|
* bpo-40514: Drop EXPERIMENTAL_ISOLATED_SUBINTERPRETERS (gh-93185)Eric Snow2022-05-2718-233/+9
| | | | | | | This was added for bpo-40514 (gh-84694) to test out a per-interpreter GIL. However, it has since proven unnecessary to keep the experiment in the repo. (It can be done as a branch in a fork like normal.) So here we are removing: * the configure option * the macro * the code enabled by the macro
* gh-93297: Make asyncio task groups prevent child tasks from being GCed (#93299)Yury Selivanov2022-05-272-13/+7
|
* gh-93250: [Enum] Change IntEnum boundary to KEEP for backwards compatibility ↵Ethan Furman2022-05-272-3/+11
| | | | | (GH-93302) In previous versions of Python if an IntEnum member was combined with another integer type value using a bit-wise operation, the resulting value would still be the IntEnum type. This change restores that behavior.
* gh-91243: Document Required and NotRequired (#93173)David Foster2022-05-271-7/+58
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* bpo-46951: Order contents of zipapps (GH-31713)hfinucane2022-05-273-1/+18
| | | So that builds are more reproducible.
* GH-90230: Add stats to breakdown the origin of calls to `PyEval_EvalFrame` ↵Mark Shannon2022-05-2713-11/+63
| | | | (GH-93284)
* gh-77024: test.support: Improve documentation (#92513)Jelle Zijlstra2022-05-271-42/+68
| | | | | | | | | | This is a rework of #5774 on current main. I was a bit more conservative in making changes than the original PR. See @csabella's comments on issue #77024 and the discussion on #5774 for explanations of several of the changes. Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-82616: Add Py_IS_TYPE_SIGNED() macro (#93178)Victor Stinner2022-05-274-7/+25
| | | | | | _posixsubprocess: add a static assertion to ensure that the pid_t type is signed. Replace _Py_IntegralTypeSigned() with _Py_IS_TYPE_SIGNED().
* GH-93207: Remove HAVE_STDARG_PROTOTYPES configure check for stdarg.h (#93215)Kumar Aditya2022-05-2719-171/+9
|
* gh-93223: More aggressive Jump-To-Jump elimination (GH-93229)Dennis Sweeney2022-05-274-98/+105
|
* gh-60074: add new stable API function PyType_FromMetaclass (GH-93012)Wenzel Jakob2022-05-2712-14/+150
| | | | | | | | Added a new stable API function ``PyType_FromMetaclass``, which mirrors the behavior of ``PyType_FromModuleAndSpec`` except that it takes an additional metaclass argument. This is, e.g., useful for language binding tools that need to store additional information in the type object.
* gh-92898: Enhance _testcppext test on cast to PyObject* (#93111)Victor Stinner2022-05-263-36/+56
| | | | * Add StrongRef class. * Rename and reformat functions of the _Py_CAST() implementation.
* gh-91924: Optimize unicode_check_encoding_errors() (#93200)Victor Stinner2022-05-261-2/+16
| | | | | | Avoid _PyCodec_Lookup() and PyCodec_LookupError() for most common built-in encodings and error handlers to avoid creating a temporary Unicode string object, whereas these encodings and error handlers are known to be valid.
* gh-91513: Tidied up a test and did minor refactoring around test filename ↵Vinay Sajip2022-05-261-23/+25
| | | | gener… (GH-93265)