summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-43106: Add os.O_EVTONLY/O_FSYNC/O_SYMLINK/O_NOFOLLOW_ANY (GH-24428)Dong-hee Na2021-02-034-1/+28
|
* bpo-43121: Fix incorrect SyntaxError message for missing comma (GH-24436)Pablo Galindo2021-02-034-8/+29
|
* Fix typo (GH-23019)Harry2021-02-031-1/+1
| | | Fixed possible typo in comment
* build(deps): bump actions/upload-artifact from v2.2.1 to v2.2.2 (GH-24411)dependabot[bot]2021-02-031-1/+1
| | | | | | | | | Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.1 to v2.2.2. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2.2.1...e448a9b857ee2131e752b06002bf0e093c65e571) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Post 3.10.0a5Pablo Galindo2021-02-031-1/+1
|
* Merge tag 'v3.10.0a5'Pablo Galindo2021-02-0371-147/+716
|\ | | | | | | Python 3.10.0a5
| * Fix Sphynx syntax in the memory.rst documentv3.10.0a5Pablo Galindo2021-02-024-12/+46
| |
| * Python 3.10.0a5Pablo Galindo2021-02-0267-135/+670
| |
* | bpo-43082: Remove redundant 'the' in Descriptor howto (GH-24394)diegoe2021-02-031-1/+1
| |
* | Add link to Microsoft docs for limitations in Windows Store package (GH-24422)Steve Dower2021-02-031-0/+5
| |
* | bpo-8264: Document hasattr and getattr behavior for private attributes ↵Ken Jin2021-02-022-0/+16
|/ | | | | | | | (GH-23513) Clarify ``getattr`` and ``setattr`` requirements for accessing name-mangled attributes Co-Authored-By: Catalin Iacob <iacobcatalin@gmail.com>
* bpo-43108: Fix a reference leak in the curses module (GH-24420)Pablo Galindo2021-02-022-1/+4
|
* bpo-41149: Fix a bug in threading that causes fals-y threads callables to ↵BarneyStratford2021-02-023-1/+22
| | | | fail to start. (GH-21201)
* bpo-42997: Improve error message for missing : before suites (GH-24292)Pablo Galindo2021-02-0211-428/+1219
| | | | | | | | * Add to the peg generator a new directive ('&&') that allows to expect a token and hard fail the parsing if the token is not found. This allows to quickly emmit syntax errors for missing tokens. * Use the new grammar element to hard-fail if the ':' is missing before suites.
* Only eliminate jumps to successor block if jump is unconditional. (GH-24417)Mark Shannon2021-02-022-17/+20
| | | | * Prevents elimination of the sole test of a value in statements like: if x or True: ...
* bpo-41748: Handles unquoted attributes with commas (#24072)Karl Dubost2021-02-013-37/+59
| | | | | | | | | | | | | | | | | | * bpo-41748: Adds tests for unquoted attributes with comma * bpo-41748: Handles unquoted attributes with comma * bpo-41748: Addresses review comments * bpo-41748: Addresses review comments * Adds more test cases * Simplifies the regex for handling spaces * bpo-41748: Moves attributes tests under the right class * bpo-41748: Addresses review about duplicate attributes * bpo-41748: Adds NEWS.d entry for this patch
* bpo-38307: Add end_lineno attribute to pyclbr Objects (GH-24348)Aviral Srivastava2021-02-015-35/+56
| | | | | | | | For back-compatibility, make the new constructor parameter for public classes Function and Class keyword-only with a default of None. Co-authored-by: Aviral Srivastava <aviralsrivastava@Avirals-MacBook-Air.local Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-42834: Fix _json internal caches for subinterpreters (GH-24121)Ken Jin2021-02-012-38/+40
| | | | Make internal caches of the _json extension module compatible with subinterpreters.
* Fix typo in Lib/trace.py (GH-24309)Yonatan Goldschmidt2021-02-011-1/+1
|
* bpo-42990: Further refactoring of PyEval_ functions. (GH-24368)Mark Shannon2021-02-019-245/+247
| | | | | | | | | | * Further refactoring of PyEval_EvalCode and friends. Break into make-frame, and eval-frame parts. * Simplify function vector call using new _PyEval_Vector. * Remove unused internal functions: _PyEval_EvalCodeWithName and _PyEval_EvalCode. * Don't use legacy function PyEval_EvalCodeEx.
* bpo-42504: Ensure that get_config_var('MACOSX_DEPLOYMENT_TARGET') is a ↵Ronald Oussoren2021-02-016-6/+21
| | | | | string (GH-24341) * bpo-42504: Ensure that get_config_var('MACOSX_DEPLOYMENT_TARGET') is a string
* bpo-42927: Update the What's new entry for LOAD_ATTR optimizations (GH-24383)Pablo Galindo2021-01-311-4/+4
|
* bpo-43017: Improve error message for unparenthesised tuples in ↵Pablo Galindo2021-01-315-251/+343
| | | | comprehensions (GH24314)
* bpo-42986: Fix parser crash when reporting syntax errors in f-string with ↵Pablo Galindo2021-01-313-1/+6
| | | | newlines (GH-24279)
* bpo-43016: Fix test_curses on platform without cursesw (GH-24405)Serhiy Storchaka2021-01-311-5/+23
|
* bpo-41604: Don't decrement the reference count of the previous user_ptr when ↵Anonymous Maarten2021-01-312-1/+5
| | | | set_panel_usertpr fails (GH-21933)
* bpo-43083: Fix error handling in _sqlite3 (GH-24395)Serhiy Storchaka2021-01-312-7/+19
|
* bpo-43016: Rewrite tests for curses (GH-24312)Serhiy Storchaka2021-01-311-215/+787
|
* bpo-43030: Fixed a compiler warning in Py_UNICODE_ISSPACE with signed ↵Serhiy Storchaka2021-01-312-1/+3
| | | | wchar_t (GH-24350)
* Doc: errors tutorial improvements (GH-16269)Adorilson Bezerra2021-01-311-21/+21
| | | | | | | | | | | Improvements: - Improvements in how try clause works section This suggestion is because the execution continues after *except*, not after *try* but before *except*. I guess this form more clear. - Surrounding some keywords with \*...\* For uniformity the highlighted terms - Adjust the number of chars per line to 80
* bpo-43059: Remove reference to legacy external sqlite3 repository (GH-24364)L2021-01-311-4/+0
|
* bpo-43077: Update bundled pip to 21.0.1 and setuptools to 52.0.0 (GH-24386)Paul Moore2021-01-306-3/+4
| | | Update bundled pip to 21.0.1 and setuptools to 52.0.0
* bpo-40455: Fix gcc10+ warning about writing into a section of offset 0 ↵Pablo Galindo2021-01-302-5/+4
| | | | (GH-24384)
* bpo-43047: logging.config formatters documentation update (GH-24358)Ian Wienand2021-01-301-19/+23
| | | | | | | | | | | | | | | | | | | | | | | | The documentation for some parts of the logging.config formatters has fallen behind the code. For example, the dictionary-schema section does not list the "class" attribute, however it is discussed in the file/ini discussion; and neither references the style argument which has been added. This modifies the dictionary-schema formatters documentation to list the keys available and overall makes it clearer these are passed to create a logging.Formatter object. The logging.Formatter documentation describes the default values of format/datefmt and the various formatting options. Since we have now more clearly described how the configuration is created via this type of object, we remove the discussion in this document to avoid duplication and rely on users reading the referenced logging.Formatter documenation directly for such details. Instead of duplicating the discussion for the two config types, the file/ini section is modified to link back to the dictionary-schema discussion, making it clear the same arguments are accepted. Automerge-Triggered-By: GH:vsajip
* bpo-42927: Inline cache for attributes defined with '__slots__' (#24216)Guido van Rossum2021-01-302-64/+118
|
* bpo-38631: Replace compiler fatal errors with exceptions (GH-24369)Victor Stinner2021-01-302-34/+54
| | | | | | | | * Replace Py_FatalError() calls with regular SystemError exceptions. * compiler_exit_scope() calls _PyErr_WriteUnraisableMsg() to log the PySequence_DelItem() failure. * compiler_unit_check() uses _PyMem_IsPtrFreed(). * compiler_make_closure(): remove "(reftype == FREE)" comment since reftype can also be LOCAL or GLOBAL_EXPLICIT.
* Fix a reference leak in the compiler for compiler_lambda() (GH-24382)Pablo Galindo2021-01-291-1/+3
|
* bpo-42323: Fix math.nextafter() on AIX (GH-24381)Victor Stinner2021-01-291-2/+2
| | | math_nextafter_impl() must return a Python object, not a C double.
* bpo-41282: Add deprecation warning and docs for distutils (PEP 632) (GH-24355)Steve Dower2021-01-296-0/+42
|
* Fixing typos in turtle.rst (GH-24376)Jules Lasne2021-01-291-6/+6
| | | Automerge-Triggered-By: GH:JulienPalard
* bpo-43008: Add 'Patch by Ken Hilton' (GH-24370)Terry Jan Reedy2021-01-292-1/+2
|
* Fixed typo in turtle.rst (GH-24371)Jules Lasne2021-01-291-1/+1
| | | | | Found it while translating it to french 🤷 Automerge-Triggered-By: GH:JulienPalard
* bpo-42979: Use _Py_CheckSlotResult() to check slots result (GH-24356)Victor Stinner2021-01-294-198/+304
| | | | | | | | | | | | | | | When Python is built in debug mode (with C assertions), calling a type slot like sq_length (__len__() in Python) now fails with a fatal error if the slot succeeded with an exception set, or failed with no exception set. The error message contains the slot, the type name, and the current exception (if an exception is set). * Check the result of all slots using _Py_CheckSlotResult(). * No longer pass op_name to ternary_op() in release mode. * Replace operator with dunder Python method name in error messages. For example, replace "*" with "__mul__". * Fix compiler_exit_scope() when an exception is set. * Fix bytearray.extend() when an exception is set: don't call bytearray_setslice() with an exception set.
* bpo-42990: Introduce 'frame constructor' struct to simplify API for ↵Mark Shannon2021-01-298-156/+144
| | | | | | | PyEval_CodeEval and friends (GH-24298) * Introduce 'frame constructor' to simplify API for frame creation * Embed struct using a macro to conform to PEP 7
* bpo-23544: Disable IDLE Stack Viewer when running user code (GH-17163)Zackery Spytz2021-01-286-5/+37
| | | | | Starting stack viewer when user code is running, including when Debugger is active, hangs or crashes IDLE. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-42955: Remove sub-packages from sys.stdlib_module_names (GH-24353)Victor Stinner2021-01-273-34/+11
|
* bpo-42979: Enhance abstract.c assertions checking slot result (GH-24352)Victor Stinner2021-01-276-51/+126
| | | | | | | | * bpo-42979: Enhance abstract.c assertions checking slot result Add _Py_CheckSlotResult() function which fails with a fatal error if a slot function succeeded with an exception set or failed with no exception set: write the slot name, the type name and the current exception (if an exception is set).
* bpo-42979: _zoneinfo exec function checks for PyDateTime_IMPORT failure ↵Hai Shi2021-01-271-0/+3
| | | | | (GH-24333) Importing datetime can fail.
* bpo-43031: Set a timeout when running tests in PGO build (GH-24339)Victor Stinner2021-01-273-2/+4
| | | | Pass --timeout=$(TESTTIMEOUT) option to the default profile task "./python -m test --pgo" command.
* bpo-43033: Fix the handling of PyObject_SetAttrString() in _zoneinfo.c ↵Zackery Spytz2021-01-271-1/+5
| | | | (GH-24345)