summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-43916: Use test.support.check_disallow_instantiation() in test_tcl ↵Erlend Egeberg Aasland2021-05-271-3/+3
| | | | (GH-26412)
* bpo-42972: Fully support GC protocol for _operator heap types (GH-26371)Erlend Egeberg Aasland2021-05-271-5/+33
|
* bpo-42972: Fully implement GC protocol for re types (GH-26368)Erlend Egeberg Aasland2021-05-271-19/+81
|
* bpo-43667: Add news fragment for Solaris changes (GH-26405)Jakub Kulík2021-05-271-0/+2
|
* bpo-43693: Add _PyCode_New(). (gh-26375)Eric Snow2021-05-2712-4613/+4701
| | | | | This is an internal-only API that helps us manage the many values used to create a code object. https://bugs.python.org/issue43693
* bpo-42972: Fully support GC for mmap heap types (GH-26373)Erlend Egeberg Aasland2021-05-271-3/+10
|
* bpo-42972: Fully support GC protocol for _queue.SimpleQueue (GH-26372)Erlend Egeberg Aasland2021-05-271-1/+10
|
* bpo-41611: IDLE: fix freezing on completion on macOS (GH-26400)Tal Einat2021-05-272-1/+8
|
* bpo-43988: Document test.support.check_disallow_instantiation() (GH-26394)Erlend Egeberg Aasland2021-05-272-2/+10
|
* bpo-42972: Fully implement GC protocol for ssl heap types (GH-26370)Erlend Egeberg Aasland2021-05-271-28/+45
|
* bpo-42972: Fully support GC for hashlib heap types (GH-26374)Erlend Egeberg Aasland2021-05-274-16/+69
|
* bpo-42972: Fully support GC for pyexpat, unicodedata, and dbm/gdbm heap ↵Erlend Egeberg Aasland2021-05-275-35/+69
| | | | | | | types (GH-26376) * bpo-42972: pyexpat * bpo-42972: unicodedata * bpo-42972: dbm/gdbm
* bpo-43988: Use check disallow instantiation helper (GH-26392)Erlend Egeberg Aasland2021-05-2714-51/+37
|
* bpo-42161: mathmodule.c: move _PyLong_GetOne() loop invariant (GH-26391)Victor Stinner2021-05-261-8/+12
| | | | | | | | | Move _PyLong_GetZero() and _PyLong_GetOne() loop invariants outside loops in functions: * math.comb() * math.gcd() * math.lcm() * math.perm()
* bpo-42392: [docs] Add deprecated-removed loop labels for asyncio (GH-26357)Ken Jin2021-05-267-0/+153
| | | | * Add deprecated-removed loop labels for all reelvant functions/classes in asyncio
* bpo-38693: Prefer f-strings in importlib.resources (importlib_resources ↵Jason R. Coombs2021-05-266-12/+10
| | | | | 5.0.6). (GH-26387) Automerge-Triggered-By: GH:jaraco
* bpo-43693: Clean up the PyCodeObject fields. (GH-26364)Eric Snow2021-05-267-81/+146
| | | | | | | | | | * Move up the comment about fields using in hashing/comparision. * Group the fields more clearly. * Add co_ncellvars and co_nfreevars. * Raise ValueError if nlocals != len(varnames), rather than aborting.
* bpo-38693: importlib.metadata f-strings (GH-26383)Jason R. Coombs2021-05-262-5/+5
| | | Automerge-Triggered-By: GH:jaraco
* bpo-44241: Incorporate changes from importlib_metadata 4.1. (#26382)Jason R. Coombs2021-05-264-8/+30
|
* bpo-43879: Add native_thread_id field to PyThreadState (GH-25458)Gabriele N. Tornetta2021-05-264-0/+17
|
* bpo-43988: Add test.support.check_disallow_instantiation() (GH-25757)Erlend Egeberg Aasland2021-05-262-3/+14
|
* bpo-41147: [doc] contextlib.redirect_stdout() provides the new stream as ↵Peter Law2021-05-261-3/+4
| | | | context var (GH-21199)
* bpo-44222: Improve _removeHandlerRef() for a very long _handlerList (GH-26325)Yonatan Goldschmidt2021-05-251-2/+3
| | | | | | The list lookups become a big burden for very long lists. This patch changes the "happy flow" path of 2 lookups into 1 lookup. Automerge-Triggered-By: GH:vsajip
* Correct minor spelling typos (GH-26339)Jero Bado2021-05-251-2/+2
| | | | surroundeded to surrounded extensins to extensions
* Fix typo in NEWS. (GH-26346)Mariusz Felisiak2021-05-251-1/+1
|
* Point to recent link to PyFLTK (GH-26315)Mark2021-05-251-1/+1
|
* bpo-44232: Fix type_new() error reporting (GH-26359)Victor Stinner2021-05-253-0/+26
| | | | | | Fix a regression in type() when a metaclass raises an exception. The C function type_new() must properly report the exception when a metaclass constructor raises an exception and the winner class is not the metaclass.
* bpo-42972: Fully implement GC protocol for arraymodule types (GH-26114)Erlend Egeberg Aasland2021-05-251-2/+11
|
* bpo-42972: Fully implement GC protocol for sqlite3 heap types (GH-26104)Erlend Egeberg Aasland2021-05-256-72/+190
|
* bpo-20408: Fix memoryview() signature in docs (GH-24431)Mariusz Felisiak2021-05-252-9/+8
|
* bpo-44231: Don't export internal _PyTuple_FromArray() symbol (GH-26352)Erlend Egeberg Aasland2021-05-251-1/+1
|
* bpo-44156: Make cached string constants in compile.c subinterpreter ↵Ken Jin2021-05-252-52/+45
| | | | compatible (GH-26161)
* bpo-43795: Remove Py_FrozenMain from the Limited API & Stable ABI (GH-26241)Petr Viktorin2021-05-257-7/+9
| | | | | | | | | | | Py_FrozenMain was added to the Limited C API in [bpo-42591]() (3.10.0a4); but to fix that issue it would be enough to add it to the regular C API. The function is undocumented, tests were added very recently ([bpo-44131]()), and most importantly, it is not present in all builds of Python, as the linker sometimes omits it as unused. It should be added back when these issues are fixed. Note that this does not affect Python's regular C API.
* bpo-43109: configure doc: LTO requires "ar" on macOS (GH-26349)Victor Stinner2021-05-251-2/+2
|
* bpo-44151: Various grammar, word order, and markup fixes (GH-26344)Raymond Hettinger2021-05-252-18/+18
|
* bpo-43109: Fix --with-lto configure option on macOS (GH-26341)Ned Deily2021-05-253-6/+14
| | | | Allow --with-lto configure option to work with Apple-supplied Xcode or Command Line Tools which do not provide llvm-ar.
* bpo-44151: linear_regression() minor API improvements (GH-26199)Zack Kneupper2021-05-253-26/+26
|
* bpo-38908: [docs] Add changes to 3.10 whatsnew and fix some minor ↵Ken Jin2021-05-242-4/+12
| | | | | inaccuracies in news (GH-26096) The fix only applies to ``isinstance``. ``issubclass`` isn't affected (because it was always working to begin with). So I also fixed the news to reflect that.
* bpo-41282: Fix broken `make install` (GH-26329)Petr Viktorin2021-05-243-6/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | A previous commit broke a check in sysconfig when building cpython itself. This caused builds of the standard library modules to search a wrong location (the installed location rather than the source directory) for header files with the net effect that a ``make install`` incorrectly caused all extension modules to be rebuilt again and with incorrect include file paths. When building Python, we need two distinct "include" directories: - source .h files - install target for .h files Note that this doesn't matter except when building Python from source. Historically: - source .h files were in the distutils scheme under 'include' - the install directory was in the distutils.command.install scheme under 'headers' GH-24549 merged these; sysconfig is now the single source of truth and distutils is derived from it. This commit introduces a "secret" scheme path, 'headers', which contains the install target. It is only present when building Python. The distutils code uses it if present, and falls back to 'include'. Co-authored-by: Ned Deily <nad@python.org>
* bpo-44195: Use 'TraversableResources' in the docs to match the ↵Jason R. Coombs2021-05-242-2/+4
| | | | implementation. (GH-26317)
* bpo-44032: Delay deletion of stack chunks until thread state is deleted. ↵Mark Shannon2021-05-241-7/+7
| | | | (GH-26285)
* Fix typo in whatsnew/3.10.rst (GH-26310)Tushar Sadhwani2021-05-231-1/+1
|
* bpo-43207: InspectLoader.is_package is not an abstract method (GH-24517)Junnosuke Kuroda2021-05-231-1/+1
| | | | | Making the description of `InspectLoader.is_package` aligned with the current implementation. Automerge-Triggered-By: GH:jaraco
* bpo-44210: make importlib.metadata._meta.PackageMetadata public (GH-26299)Filipe Laíns2021-05-232-0/+3
| | | | | Signed-off-by: Filipe Laíns <lains@riseup.net> Automerge-Triggered-By: GH:jaraco
* bpo-28307: Tests and fixes for optimization of C-style formatting (GH-26318)Serhiy Storchaka2021-05-232-8/+95
| | | | | | Fix errors: * "%10.s" should be equal to "%10.0s", not "%10s". * Tuples with starred expressions caused a SyntaxError.
* bpo-44201: Avoid side effects of "invalid_*" rules in the REPL (GH-26298)Pablo Galindo2021-05-225-0/+26
| | | | | | | | | | | | When the parser does a second pass to check for errors, these rules can have some small side-effects as they may advance the parser more than the point reached in the first pass. This can cause the tokenizer to ask for extra tokens in interactive mode causing the tokenizer to show the prompt instead of failing instantly. To avoid this, add a new mode to the tokenizer that is activated in the second pass and deactivates asking for new tokens when the interactive line is finished. As the parsing should have reached the last line in the first pass, the second pass should not need to ask for more tokens.
* bpo-30757: Improve "How to make stand-alone binaries" FAQ (GH-26309)Erlend Egeberg Aasland2021-05-222-10/+12
| | | | Co-authored-by: denfromufa <denfromufa@users.noreply.github.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* bpo-33809: add the TracebackException.print() method (GH-24231)Irit Katriel2021-05-224-4/+34
|
* bpo-20684: Remove unused inspect._signature_get_bound_param (GH-21100)Anthony Sottile2021-05-223-30/+2
|
* Remove effbot urls (GH-26308)E-Paine2021-05-228-29/+5
|