summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-46244: Remove __slots__ from typing.TypeVar, .ParamSpec (#30444)Arie Bovenberg2022-01-102-6/+2
| | | | | | | | | | | * add missing __slots__ to typing._TypeVarLike * add news entry * remove slots from _TypeVarLike base classes * cleanup diff * fix broken link in blurb
* bpo-45331: [Enum] add rule to docs that mixin type must be subclassable ↵Nikita Sobolev2022-01-101-4/+7
| | | | (GH-30521)
* bpo-46327: [Enum] remove skipped tests (GH-30512)Nikita Sobolev2022-01-101-11/+0
|
* bpo-46301: [Enum] fix refleak tests (GH30510)Nikita Sobolev2022-01-101-44/+58
|
* bpo-46332: use raise..from instead of assigning __cause__ and raising (GH-30517)Irit Katriel2022-01-101-5/+2
|
* bpo-46314: Remove extra RESUME when compiling a lamdba. (GH-30513)Mark Shannon2022-01-102-144/+157
|
* bpo-46270: Describe the `in` and `not in` operators as membership tests. ↵Raymond Hettinger2022-01-101-4/+6
| | | | (GH-30504)
* bpo-23882: unittest: Drop PEP 420 support from discovery. (GH-29745)Inada Naoki2022-01-105-78/+44
|
* bpo-46272: Fix two heading comments in python.gram (GH-30499)Mark Dickinson2022-01-091-3/+3
| | | One typo fix and one heading change, both in comments. No functional changes.
* bpo-37295: Use constant-time comb() and perm() for larger n depending on k ↵Serhiy Storchaka2022-01-092-134/+190
| | | | (GH-30305)
* bpo-40280: Disable epoll_create in Emscripten config.site (GH-30494)Ethan Smith2022-01-091-1/+1
| | | Co-authored-by: nick.pope@infogrid.io
* Add a (conservative) timeout for Windows builds on GitHub Actions (GH-30301)Mark Dickinson2022-01-091-0/+2
|
* bpo-46308: Fix unportable test(1) operator in configure script (GH-30490)Thomas Klausner2022-01-092-2/+2
|
* bpo-46306: simplify `CodeType` attribute access in `doctest.py` (GH-30481)Nikita Sobolev2022-01-082-1/+3
| | | | | Assume co_firstlineno always exists on types.CodeType objects. Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* bpo-46301: [Enum] test uncomparable values in `_convert_` (GH-30472)Nikita Sobolev2022-01-081-0/+35
| | | add tests that cover different types, and same non-comparable types
* bpo-46261: Update `sqlite3.Cursor.lastrowid` docs (GH-30407)Erlend Egeberg Aasland2022-01-081-8/+9
|
* bpo-46290: Fix parameter names in dataclasses docs (GH-30450)Zsolt Dollenstein2022-01-081-12/+12
|
* bpo-46299: Improve test_descr (GH-30475)Dong-hee Na2022-01-081-26/+10
|
* bpo-46299: improve `test_descr.py` with stricter error handling (GH-30471)Nikita Sobolev2022-01-081-4/+4
|
* bpo-46235: Do all ref-counting at once during list/tuple multiplication ↵Dennis Sweeney2022-01-083-26/+49
| | | | | | | | | | (GH-30346) When multiplying lists and tuples by `n`, increment each element's refcount, by `n`, just once. Saves `n-1` increments per element, and allows for a leaner & faster copying loop. Code by sweeneyde (Dennis Sweeney).
* bpo-46237: Fix the line number of tokenizer errors inside f-strings (GH-30463)Pablo Galindo Salgado2022-01-084-5/+22
|
* bpo-46217: Revert use of Windows constant that is newer than what we support ↵Steve Dower2022-01-082-1/+3
| | | | (GH-30473)
* bpo-46297: Fix interpreter crash on startup with multiple PythonPaths set in ↵Daniel2022-01-074-14/+13
| | | | registry (GH-30466)
* bpo-46296: [Enum] add a test for missing `value` recovery (GH-30458)Nikita Sobolev2022-01-072-0/+12
| | | In `__set_name__` there is a check for the `_value_` attribute and an attempt to add it if missing; this adds a test to cover the case for simple enums with a custom `__new__` method.
* bpo-46289: Make conversion of FormattedValue not optional on ASDL (GH-30467)Batuhan Taskaya2022-01-073-9/+8
| | | Automerge-Triggered-By: GH:isidentical
* bpo-28546: [doc] Clarify setting pdb breakpoints (GH-30360)Hugo van Kemenade2022-01-071-5/+4
| | | | Co-authored-by: Ian Kelling <ian@iankelling.org>
* bpo-24650: Use full term "generator function" in yield expressions docs ↵Jacob Walls2022-01-071-2/+2
| | | | (GH-24663)
* bpo-46216: remove spurious link to os.system() from os.time() documentation ↵Irit Katriel2022-01-071-8/+8
| | | | | (GH-30326) Automerge-Triggered-By: GH:iritkatriel
* bpo-46070: Fix asyncio initialisation guard (GH-30423)Erlend Egeberg Aasland2022-01-072-6/+6
| | | | If init flag is set, exit successfully immediately. If not, only set the flag after successful initialization.
* bpo-45723: Fix detection of epoll (#30449)Christian Heimes2022-01-074-11/+12
|
* bpo-41011: venv -- add more variables to pyvenv.cfg (GH-30382)andrei kulakov2022-01-073-1/+64
|
* bpo-46251: Add 'Security Considerations' section to logging configura… ↵Vinay Sajip2022-01-061-0/+14
| | | | (GH-30411)
* bpo-46263: Fix second location that needs MALLOC_CONF on FreeBSD (GH-30440)Christian Heimes2022-01-061-1/+5
| | | Automerge-Triggered-By: GH:tiran
* bpo-46286: use the new POP_JUMP_IF_NOT_NONE opcode to simplify except* ↵Irit Katriel2022-01-061-6/+2
| | | | | (GH-30439) Automerge-Triggered-By: GH:iritkatriel
* bpo-46208: Fix normalization of relative paths in ↵neonene2022-01-064-9/+43
| | | | _Py_normpath()/os.path.normpath (GH-30362)
* bpo-45292: [PEP-654] exception groups and except* documentation (GH-30158)Irit Katriel2022-01-063-1/+208
|
* bpo-46263: Do not ever expect "use_frozen_modules" to be -1. (gh-30438)Eric Snow2022-01-062-2/+2
| | | | | The condition is no longer valid. This should resolve the buildbot failure on FreeBSD. https://bugs.python.org/issue46263
* bpo-46263: FreeBSD 14.0 jemalloc workaround for junk bytes of freed memory ↵Christian Heimes2022-01-062-2/+9
| | | | | (GH-30434) Automerge-Triggered-By: GH:tiran
* bpo-46278: fix typo introduced in GH-30427 (GH-30430)Kumar Aditya2022-01-061-2/+2
| | | Automerge-Triggered-By: GH:asvetlov
* bpo-45923: Handle call events in bytecode (GH-30364)Mark Shannon2022-01-0613-529/+678
| | | | * Add a RESUME instruction to handle "call" events.
* Reflect 'context' arg in 'AbstractEventLoop.call_*()' methods (GH-30427)Andrew Svetlov2022-01-062-4/+6
|
* bpo-46031: add POP_JUMP_IF_NOT_NONE and POP_JUMP_IF_NONE (GH-30019)penguin_wwy2022-01-069-14/+86
|
* bpo-46006: Revert "bpo-40521: Per-interpreter interned strings (GH-20085)" ↵Victor Stinner2022-01-064-30/+75
| | | | | | | | | | | (GH-30422) This reverts commit ea251806b8dffff11b30d2182af1e589caf88acf. Keep "assert(interned == NULL);" in _PyUnicode_Fini(), but only for the main interpreter. Keep _PyUnicode_ClearInterned() changes avoiding the creation of a temporary Python list object.
* bpo-46266: Add calendar day of week constants to __all__ (GH-30412)Nikita Sobolev2022-01-054-4/+18
|
* bpo-46269: [Enum] remove special-casing of `__new__` in `EnumType.__dir__` ↵Nikita Sobolev2022-01-052-4/+1
| | | | (GH-30421)
* bpo-46257: Convert statistics._ss() to a single pass algorithm (GH-30403)Raymond Hettinger2022-01-052-57/+47
|
* bpo-46236: Fix PyFunction_GetAnnotations() returned tuple. (GH-30409)Inada Naoki2022-01-052-22/+34
| | | Automerge-Triggered-By: GH:pablogsal
* bpo-43137: Revert "webbrowser: Don't run gvfs-open on GNOME" (GH-30417)Simon McVittie2022-01-051-0/+4
| | | | | | | | gvfs-open was deprecated in 2015 and removed in 2018, but its replacement, gio(1), is not available in Ubuntu 16.04, which is apparently still supported by CPython upstream even though it is considered to be EOL by Ubuntu developers. Signed-off-by: Simon McVittie <smcv@debian.org>
* bpo-45256: Don't track the exact depth of each `InterpreterFrame` (GH-30372)Brandt Bucher2022-01-054-17/+16
|
* bpo-46263: Don't use MULTIARCH on FreeBSD (#30410)Christian Heimes2022-01-053-7/+24
|