Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-46347: Fix memory leak in PyEval_EvalCodeEx. (#30546) | Yury Selivanov | 2022-01-11 | 2 | -7/+1 |
| | | | First introduced in 0332e569c12d3dc97171546c6dc10e42c27de34b | ||||
* | bpo-46307: Add string.Template.get_identifiers() method (GH-30493) | Ben Kehoe | 2022-01-11 | 4 | -0/+100 |
| | | | | | Add `string.Template.get_identifiers()` method that returns the identifiers within the template. By default, raises an error if it encounters an invalid identifier (like `substitute()`). The keyword-only argument `raise_on_invalid` can be set to `False` to ignore invalid identifiers (like `safe_substitute()`). Automerge-Triggered-By: GH:warsaw | ||||
* | bpo-45953: Statically allocate and initialize global bytes objects. (gh-30096) | Eric Snow | 2022-01-11 | 5 | -96/+294 |
| | | | | | The empty bytes object (b'') and the 256 one-character bytes objects were allocated at runtime init. Now we statically allocate and initialize them. https://bugs.python.org/issue45953 | ||||
* | [doc] Add license_url for python-docs-theme 2022.1. (GH-30527) | Julien Palard | 2022-01-11 | 2 | -2/+3 |
| | |||||
* | bpo-46339: Fix crash in the parser when computing error text for multi-line ↵ | Pablo Galindo Salgado | 2022-01-11 | 3 | -2/+18 |
| | | | | | f-strings (GH-30529) Automerge-Triggered-By: GH:pablogsal | ||||
* | closes bpo-46253: Change Py_UNICODE to Py_UCS4 in the C API docs to match ↵ | Julian Gilbey | 2022-01-11 | 1 | -17/+17 |
| | | | | the current source code (GH-30387) | ||||
* | Remove unused `Any` from `Concatenate` example in typing docs (GH-30516) | Michael Oliver | 2022-01-11 | 1 | -1/+1 |
| | |||||
* | News item for issue 46314. (GH-30515) | Mark Shannon | 2022-01-11 | 1 | -0/+2 |
| | |||||
* | bpo-46331: Do not set line number of instruction storing doc-string. (GH-30518) | Mark Shannon | 2022-01-11 | 3 | -0/+22 |
| | |||||
* | bpo-46303: Move fileutils.h private functions to internal C API (GH-30484) | Victor Stinner | 2022-01-11 | 13 | -258/+289 |
| | | | | | | | | | | Move almost all private functions of Include/cpython/fileutils.h to the internal C API Include/internal/pycore_fileutils.h. Only keep _Py_fopen_obj() in Include/cpython/fileutils.h, since it's used by _testcapi which must not use the internal C API. Move EncodeLocaleEx() and DecodeLocaleEx() functions from _testcapi to _testinternalcapi, since the C API moved to the internal C API. | ||||
* | bpo-46310: simplify `for` loop in `asyncio/windows_events` (GH-30334) | Nikita Sobolev | 2022-01-11 | 1 | -1/+1 |
| | |||||
* | bpo-46205: exit if no workers are alive in runtest_mp (GH-30470) | Sam Gross | 2022-01-11 | 2 | -8/+11 |
| | |||||
* | bpo-46244: Remove __slots__ from typing.TypeVar, .ParamSpec (#30444) | Arie Bovenberg | 2022-01-10 | 2 | -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 Sobolev | 2022-01-10 | 1 | -4/+7 |
| | | | | (GH-30521) | ||||
* | bpo-46327: [Enum] remove skipped tests (GH-30512) | Nikita Sobolev | 2022-01-10 | 1 | -11/+0 |
| | |||||
* | bpo-46301: [Enum] fix refleak tests (GH30510) | Nikita Sobolev | 2022-01-10 | 1 | -44/+58 |
| | |||||
* | bpo-46332: use raise..from instead of assigning __cause__ and raising (GH-30517) | Irit Katriel | 2022-01-10 | 1 | -5/+2 |
| | |||||
* | bpo-46314: Remove extra RESUME when compiling a lamdba. (GH-30513) | Mark Shannon | 2022-01-10 | 2 | -144/+157 |
| | |||||
* | bpo-46270: Describe the `in` and `not in` operators as membership tests. ↵ | Raymond Hettinger | 2022-01-10 | 1 | -4/+6 |
| | | | | (GH-30504) | ||||
* | bpo-23882: unittest: Drop PEP 420 support from discovery. (GH-29745) | Inada Naoki | 2022-01-10 | 5 | -78/+44 |
| | |||||
* | bpo-46272: Fix two heading comments in python.gram (GH-30499) | Mark Dickinson | 2022-01-09 | 1 | -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 Storchaka | 2022-01-09 | 2 | -134/+190 |
| | | | | (GH-30305) | ||||
* | bpo-40280: Disable epoll_create in Emscripten config.site (GH-30494) | Ethan Smith | 2022-01-09 | 1 | -1/+1 |
| | | | Co-authored-by: nick.pope@infogrid.io | ||||
* | Add a (conservative) timeout for Windows builds on GitHub Actions (GH-30301) | Mark Dickinson | 2022-01-09 | 1 | -0/+2 |
| | |||||
* | bpo-46308: Fix unportable test(1) operator in configure script (GH-30490) | Thomas Klausner | 2022-01-09 | 2 | -2/+2 |
| | |||||
* | bpo-46306: simplify `CodeType` attribute access in `doctest.py` (GH-30481) | Nikita Sobolev | 2022-01-08 | 2 | -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 Sobolev | 2022-01-08 | 1 | -0/+35 |
| | | | add tests that cover different types, and same non-comparable types | ||||
* | bpo-46261: Update `sqlite3.Cursor.lastrowid` docs (GH-30407) | Erlend Egeberg Aasland | 2022-01-08 | 1 | -8/+9 |
| | |||||
* | bpo-46290: Fix parameter names in dataclasses docs (GH-30450) | Zsolt Dollenstein | 2022-01-08 | 1 | -12/+12 |
| | |||||
* | bpo-46299: Improve test_descr (GH-30475) | Dong-hee Na | 2022-01-08 | 1 | -26/+10 |
| | |||||
* | bpo-46299: improve `test_descr.py` with stricter error handling (GH-30471) | Nikita Sobolev | 2022-01-08 | 1 | -4/+4 |
| | |||||
* | bpo-46235: Do all ref-counting at once during list/tuple multiplication ↵ | Dennis Sweeney | 2022-01-08 | 3 | -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 Salgado | 2022-01-08 | 4 | -5/+22 |
| | |||||
* | bpo-46217: Revert use of Windows constant that is newer than what we support ↵ | Steve Dower | 2022-01-08 | 2 | -1/+3 |
| | | | | (GH-30473) | ||||
* | bpo-46297: Fix interpreter crash on startup with multiple PythonPaths set in ↵ | Daniel | 2022-01-07 | 4 | -14/+13 |
| | | | | registry (GH-30466) | ||||
* | bpo-46296: [Enum] add a test for missing `value` recovery (GH-30458) | Nikita Sobolev | 2022-01-07 | 2 | -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 Taskaya | 2022-01-07 | 3 | -9/+8 |
| | | | Automerge-Triggered-By: GH:isidentical | ||||
* | bpo-28546: [doc] Clarify setting pdb breakpoints (GH-30360) | Hugo van Kemenade | 2022-01-07 | 1 | -5/+4 |
| | | | | Co-authored-by: Ian Kelling <ian@iankelling.org> | ||||
* | bpo-24650: Use full term "generator function" in yield expressions docs ↵ | Jacob Walls | 2022-01-07 | 1 | -2/+2 |
| | | | | (GH-24663) | ||||
* | bpo-46216: remove spurious link to os.system() from os.time() documentation ↵ | Irit Katriel | 2022-01-07 | 1 | -8/+8 |
| | | | | | (GH-30326) Automerge-Triggered-By: GH:iritkatriel | ||||
* | bpo-46070: Fix asyncio initialisation guard (GH-30423) | Erlend Egeberg Aasland | 2022-01-07 | 2 | -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 Heimes | 2022-01-07 | 4 | -11/+12 |
| | |||||
* | bpo-41011: venv -- add more variables to pyvenv.cfg (GH-30382) | andrei kulakov | 2022-01-07 | 3 | -1/+64 |
| | |||||
* | bpo-46251: Add 'Security Considerations' section to logging configura… ↵ | Vinay Sajip | 2022-01-06 | 1 | -0/+14 |
| | | | | (GH-30411) | ||||
* | bpo-46263: Fix second location that needs MALLOC_CONF on FreeBSD (GH-30440) | Christian Heimes | 2022-01-06 | 1 | -1/+5 |
| | | | Automerge-Triggered-By: GH:tiran | ||||
* | bpo-46286: use the new POP_JUMP_IF_NOT_NONE opcode to simplify except* ↵ | Irit Katriel | 2022-01-06 | 1 | -6/+2 |
| | | | | | (GH-30439) Automerge-Triggered-By: GH:iritkatriel | ||||
* | bpo-46208: Fix normalization of relative paths in ↵ | neonene | 2022-01-06 | 4 | -9/+43 |
| | | | | _Py_normpath()/os.path.normpath (GH-30362) | ||||
* | bpo-45292: [PEP-654] exception groups and except* documentation (GH-30158) | Irit Katriel | 2022-01-06 | 3 | -1/+208 |
| | |||||
* | bpo-46263: Do not ever expect "use_frozen_modules" to be -1. (gh-30438) | Eric Snow | 2022-01-06 | 2 | -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 Heimes | 2022-01-06 | 2 | -2/+9 |
| | | | | | (GH-30434) Automerge-Triggered-By: GH:tiran |