Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove unnecessary basic block from comprehensions (GH-31263) | Brandt Bucher | 2022-02-14 | 1 | -6/+3 | |
| | ||||||
* | bpo-46747: Add missing key parameters in the bisect docs (GH-31323) | Zackery Spytz | 2022-02-14 | 1 | -2/+2 | |
| | | | Added *key* parameter to `bisect.bisect()` and `bisect.insort()` in bisect module docs. | |||||
* | Add pair counts to stats output and summary. (GH-31324) | Mark Shannon | 2022-02-14 | 2 | -10/+46 | |
| | ||||||
* | Include length in stats for UNPACK_SEQUENCE. (GH-31254) | Mark Shannon | 2022-02-14 | 2 | -8/+30 | |
| | ||||||
* | Corrections to format precision description. (GH-31291) | John Belmonte | 2022-02-14 | 1 | -5/+6 | |
| | | | | | | | | | | | * `precision` field is a decimal integer * clarify that stated limitations are on presentation type rather than input value type. Especially misleading is "precision is not allowed for integer values", since integer value input to a format like `.1f` is fine. * regarding max field size, replace "non-number" with "string", which is the only non-numeric presentation type Automerge-Triggered-By: GH:ericvsmith | |||||
* | Improve docstring for set.discard() (GH-31315) | Raymond Hettinger | 2022-02-13 | 1 | -1/+2 | |
| | ||||||
* | bpo-45447: Fix entry in What's New 3.11 (GH-31307) | Terry Jan Reedy | 2022-02-13 | 1 | -1/+1 | |
| | ||||||
* | bpo-45447: Add entry to What's new 3.9 (GH-31305) | Terry Jan Reedy | 2022-02-13 | 1 | -0/+3 | |
| | ||||||
* | bpo-45447: Add entry to What's new 3.10 (GH-31304) | Terry Jan Reedy | 2022-02-13 | 1 | -1/+6 | |
| | ||||||
* | bpo-45447: Add syntax highlighting for `.pyi` files in IDLE (GH-28950) | Alex Waygood | 2022-02-13 | 11 | -3/+83 | |
| | | | | | | | | Also add .pyi to the python extensions in the "File-open" and "File-save" dialogues. Add util.py to contain objects that are used in multiple idlelib modules and have no dependencies on any of them. Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | |||||
* | bpo-46333: include `module` in `ForwardRef.__repr__` (#31283) | aha79 | 2022-02-12 | 3 | -1/+10 | |
| | | | | | | | | The module parameter carries semantic information about the forward ref. Show to the user that forward refs with same argument but different module are different. Co-authored-by: Andreas Hangauer <andreas.hangauer@siemens.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | |||||
* | bpo-46400: Update libexpat from 2.4.1 to 2.4.4 (GH-31022) | Cyril Jouve | 2022-02-12 | 6 | -31/+238 | |
| | ||||||
* | bpo-45948: Remove constructor discrepancy in C version of ↵ | Jacob Walls | 2022-02-12 | 4 | -5/+19 | |
| | | | | | ElementTree.XMLParser (GH-31152) Both implementations accept target=None now. | |||||
* | bpo-46586: Fix documentation links (GH-31216) | Meer Suri | 2022-02-12 | 1 | -1/+1 | |
| | | | * Fix enum.property documentation link | |||||
* | bpo-46355: Amend What's New in Python 3.11 C API wording (GH-31288) | Erlend Egeberg Aasland | 2022-02-12 | 1 | -2/+2 | |
| | ||||||
* | bpo-46483: [doc] pathlib classes no longer support parameterized generics ↵ | Alex Waygood | 2022-02-11 | 1 | -4/+0 | |
| | | | | | | (GH-31281) Remove pathlib classes from the list in stdtypes.rst of classes that can be parameterized at runtime. | |||||
* | bpo-46615: Don't crash when set operations mutate the sets (GH-31120) | Dennis Sweeney | 2022-02-11 | 3 | -8/+226 | |
| | | | Ensure strong references are acquired whenever using `set_next()`. Added randomized test cases for `__eq__` methods that sometimes mutate sets when called. | |||||
* | bpo-46613: Add PyType_GetModuleByDef to the public API (GH-31081) | Petr Viktorin | 2022-02-11 | 21 | -36/+56 | |
| | | | | | * Make PyType_GetModuleByDef public (remove underscore) Co-authored-by: Victor Stinner <vstinner@python.org> | |||||
* | bpo-45490: Rename static inline functions (GH-31217) | Victor Stinner | 2022-02-11 | 3 | -32/+32 | |
| | | | | | | | | | | | | When a static inline function is wrapped by a macro which casts its arguments to the expected type, there is no need that the function has a different name than the macro. Use the same name for the macro and the function to avoid confusion. Rename _PyUnicode_get_wstr_length() to PyUnicode_WSTR_LENGTH(). Don't rename static inline _Py_NewRef() and _Py_XNewRef() functions, since the C API exports Py_NewRef() and Py_XNewRef() functions as regular functions. The name cannot be reused in this case. | |||||
* | Fix the signature of multiprocessing.set_executable (GH-31276) | Géry Ogam | 2022-02-11 | 1 | -2/+2 | |
| | | | Automerge-Triggered-By: GH:merwok | |||||
* | bpo-46323: Fix double-free issue for borrowed refs (GH-31272) | Dong-hee Na | 2022-02-11 | 1 | -1/+0 | |
| | ||||||
* | bpo-46246: add missing __slots__ to importlib.metadata.DeprecatedList (GH-30452) | Arie Bovenberg | 2022-02-11 | 3 | -0/+9 | |
| | | | | | | | Confirmed with @jaraco that this indeed needs a fix. A question that came up while I was digging into the code: I think `SelectableGroups` could similarly use `__slots__ = ()`, since its purpose seems only for convenience around `dict`, not to have attributes of its own. Automerge-Triggered-By: GH:jaraco | |||||
* | bpo-36876: Make sure the c-analyzer is checking all the source files.' ↵ | Eric Snow | 2022-02-10 | 5 | -22/+159 | |
| | | | | | (gh-31264) https://bugs.python.org/issue36876 | |||||
* | bpo-44953: Add newline at end of NEWS entry (GH-31265) | Dennis Sweeney | 2022-02-10 | 1 | -1/+1 | |
| | ||||||
* | bpo-44953: Add vectorcall for itemgetter and attrgetter instances (GH-27828) | Dennis Sweeney | 2022-02-10 | 2 | -12/+79 | |
| | ||||||
* | bpo-45923: Add `RESUME_QUICK` (GH-31244) | Brandt Bucher | 2022-02-10 | 6 | -22/+30 | |
| | ||||||
* | Gather stats for PRECALL_METHOD. (GH-31259) | Mark Shannon | 2022-02-10 | 2 | -2/+14 | |
| | ||||||
* | Don't print rejected tokens when using the debug flags in the parser (GH-31258) | Pablo Galindo Salgado | 2022-02-10 | 1 | -1/+0 | |
| | ||||||
* | Allow the parser to avoid nested processing of invalid rules (GH-31252) | Pablo Galindo Salgado | 2022-02-10 | 6 | -1053/+1054 | |
| | ||||||
* | bpo-46532: Reduce number of memory writes to update call_shape.kwnames. ↵ | Mark Shannon | 2022-02-10 | 1 | -7/+15 | |
| | | | | (GH-31231) | |||||
* | Fix warning: asyncio.events._event_loop_policy was modified by test_asyncio ↵ | Andrew Svetlov | 2022-02-10 | 7 | -4/+30 | |
| | | | | (GH-31253) | |||||
* | Fix sys.getdxp() when configured with --enable-pystats. (GH-31251) | Mark Shannon | 2022-02-10 | 1 | -1/+17 | |
| | ||||||
* | Add stats for PRECALL_FUNCTION. (GH-31250) | Mark Shannon | 2022-02-10 | 3 | -3/+36 | |
| | ||||||
* | Right justify numeric columns in stats summary script. (GH-31234) | Mark Shannon | 2022-02-10 | 1 | -8/+17 | |
| | ||||||
* | bpo-46323: Allow alloca(0) for python callback function of ctypes (GH-31249) | Dong-hee Na | 2022-02-10 | 1 | -5/+1 | |
| | ||||||
* | Fix sphinx-lint after #31097 and b878b3a (GH-31248) | Nikita Sobolev | 2022-02-10 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | `main` branch is failing, see https://dev.azure.com/python/cpython/_build/results?buildId=96616&view=logs&j=4db1505a-29e5-5cc0-240b-53a8a2681f75&t=a975920c-8356-5388-147c-613d5fab0171 Logs: ``` PATH=./venv/bin:$PATH sphinx-lint -i tools -i ./venv -i README.rst No problems found. PATH=./venv/bin:$PATH sphinx-lint ../Misc/NEWS.d/next/ [1] ../Misc/NEWS.d/next/Library/2022-02-09-00-53-23.[bpo-45863]().zqQXVv.rst:0: No newline at end of file (no-newline-at-end-of-file). [1] ../Misc/NEWS.d/next/Build/2022-01-19-11-08-32.[bpo-46430]().k403m_.rst:0: No newline at end of file (no-newline-at-end-of-file). 2 problems with severity 1 found. ``` This PR fixes these two problems, so `main` is green again. Related PR: https://github.com/python/cpython/pull/31097 CC @JulienPalard Automerge-Triggered-By: GH:JulienPalard | |||||
* | bpo-42238: [doc] moving from rstlint.py to sphinx-lint. (GH-31097) | Julien Palard | 2022-02-10 | 6 | -4/+24 | |
| | ||||||
* | bpo-46707: Avoid potential exponential backtracking in some syntax errors ↵ | Pablo Galindo Salgado | 2022-02-10 | 4 | -1016/+1033 | |
| | | | | (GH-31241) | |||||
* | bpo-36876: Minor cleanup to c-analyzer "ignored" data.' (gh-31239) | Eric Snow | 2022-02-10 | 3 | -512/+260 | |
| | | | https://bugs.python.org/issue36876 | |||||
* | bpo-46528: Attempt SWAPs at compile-time (GH-30970) | Brandt Bucher | 2022-02-09 | 3 | -0/+136 | |
| | ||||||
* | bpo-43532: add version added to KW_ONLY (GH-31235) | Henry Schreiner | 2022-02-09 | 1 | -0/+2 | |
| | | | | | Minor missing version note mentioned at the end of (and affected me independently before reading that note). Automerge-Triggered-By: GH:ericvsmith | |||||
* | bpo-46528: Check PyMem_Malloc for NULL (GH-30998) | Brandt Bucher | 2022-02-09 | 1 | -8/+15 | |
| | ||||||
* | bpo-46323: Reduce stack usage of ctypes python callback function. (GH-31224) | Dong-hee Na | 2022-02-09 | 3 | -27/+17 | |
| | ||||||
* | bpo-45863: tarfile: don't zero out header fields unnecessarily (GH-29693) | Joshua Root | 2022-02-09 | 3 | -6/+71 | |
| | | | | | | | | | | Numeric fields of type float, notably mtime, can't be represented exactly in the ustar header, so the pax header is used. But it is helpful to set them to the nearest int (i.e. second rather than nanosecond precision mtimes) in the ustar header as well, for the benefit of unarchivers that don't understand the pax header. Add test for tarfile.TarInfo.create_pax_header to confirm correct behaviour. | |||||
* | bpo-46430: Intern strings in deep-frozen modules (GH-30683) | Kumar Aditya | 2022-02-09 | 4 | -0/+16 | |
| | ||||||
* | bpo-44289: Keep argument file object's current position in ↵ | Andrzej Mateja | 2022-02-09 | 3 | -0/+15 | |
| | | | | tarfile.is_tarfile (GH-26488) | |||||
* | bpo-46685: cover `TypeError` of `ForwardRef(1)` in `test_typing` (GH-31223) | Nikita Sobolev | 2022-02-09 | 1 | -0/+4 | |
| | ||||||
* | bpo-46072: Output stats as markdown with collapsible sections. (GH-31228) | Mark Shannon | 2022-02-09 | 2 | -259/+383 | |
| | ||||||
* | bpo-36876: Update the c-analyzer whitelist. (gh-31225) | Eric Snow | 2022-02-09 | 4 | -2010/+2364 | |
| | | | | | This change adds variables that had been added since the last time the whitelist was updated. It also cleans up the list a little. https://bugs.python.org/issue36876 | |||||
* | bpo-46556: emit `DeprecationWarning` from `pathlib.Path.__enter__()` (GH-30971) | Barney Gale | 2022-02-08 | 3 | -12/+20 | |
| | | | | | In Python 3.9, Path.__exit__() was made a no-op and has never been documented. Co-authored-by: Brett Cannon <brett@python.org> |