summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-95914: Add paragraph about PEP 654 in main body of 'What's New in 3.11' ↵Irit Katriel2022-08-131-2/+19
| | | | (GH-95937)
* gh-90928: Improve static initialization of keywords tuple in AC (#95907)Erlend E. Aasland2022-08-1381-6801/+2750
|
* gh-94439: typing docs: Add minimum version to `__required_keys__` and ↵Howie Zhao2022-08-131-0/+5
| | | | `__optional_keys__` (#95373)
* Fix typo in internal/pycore_atomic.h (GH-95939)fluesvamp2022-08-131-1/+1
|
* gh-94909: fix joining of absolute and relative Windows paths in pathlib ↵Barney Gale2022-08-123-33/+14
| | | | | | | | | | | | | | | | | | | | | | (GH-95450) Have pathlib use `os.path.join()` to join arguments to the `PurePath` initialiser, which fixes a minor bug when handling relative paths with drives. Previously: ```python >>> from pathlib import PureWindowsPath >>> a = 'C:/a/b' >>> b = 'C:x/y' >>> PureWindowsPath(a, b) PureWindowsPath('C:x/y') ``` Now: ```python >>> PureWindowsPath(a, b) PureWindowsPath('C:/a/b/x/y') ```
* gh-94996: Disallow lambda pos only params with feature_version < (3, 8) ↵Shantanu2022-08-123-4/+11
| | | | (GH-95934)
* gh-94996: Disallow parsing pos only params with feature_version < (3, 8) ↵Shantanu2022-08-125-6/+15
| | | | (GH-94997)
* gh-90300: [docs] Add whatsnew entry for new --help output (GH-95856) (GH-95928)Łukasz Langa2022-08-121-0/+6
| | | Co-authored-by: Éric <merwok@netwok.org>
* gh-82180: Document support for non-integer arg removed from grp.getgrgid in ↵Hugo van Kemenade2022-08-121-3/+2
| | | | 3.10 (GH-95346)
* gh-95914: Add missing PEPs to the Summary section of 3.11 What's New (GH-95916)CAM Gerlach2022-08-121-5/+23
|
* gh-95922: compiler's eliminate_empty_basic_blocks ignores the last block of ↵Irit Katriel2022-08-122-8/+7
| | | | the compilation unit (GH-95924)
* gh-95724: Clarify taskgroups.py license. (#95847)Yury Selivanov2022-08-112-2/+4
|
* gh-95273: Improve sqlite3.complete_statement docs (#95840)Erlend E. Aasland2022-08-113-39/+40
| | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-90928: Statically Initialize the Keywords Tuple in Clinic-Generated Code ↵Eric Snow2022-08-11127-619/+16240
| | | | | | | | | | | | | | | | (gh-95860) We only statically initialize for core code and builtin modules. Extension modules still create the tuple at runtime. We'll solve that part of interpreter isolation separately. This change includes generated code. The non-generated changes are in: * Tools/clinic/clinic.py * Python/getargs.c * Include/cpython/modsupport.h * Makefile.pre.in (re-generate global strings after running clinic) * very minor tweaks to Modules/_codecsmodule.c and Python/Python-tokenize.c All other changes are generated code (clinic, global strings).
* gh-95841: IDLE - Revise Windows local doc url (#95845)Terry Jan Reedy2022-08-111-4/+14
| | | | | | #91242 replaced the Windows chm help file with a copy of the html docs. This PR replaces the IDLE code that fetches the Windows local help url passed to os.startfile. Co-authored-by: Steve Dower
* gh-84910: Change 'IDLE Help' to 'IDLE Doc' (#95873)Terry Jan Reedy2022-08-111-1/+1
| | | | 'IDLE Help' was a plain text file. It was superceded years ago by a copy of the much more complete html doc. .
* gh-87092: compiler's codegen stage uses int jump target labels, and the ↵Irit Katriel2022-08-111-70/+52
| | | | target pointer is only calculated just before optimization stage (GH-95655)
* GH-95818: Skip incomplete frames in `PyThreadState_GetFrame` (GH-95886)Mark Shannon2022-08-113-2/+29
|
* Update _PyEval_AddPendingCall comment (#95817)zhanpon2022-08-111-2/+2
|
* gh-95878: Fix format char in datetime CAPI tests (GH-95879)Christian Heimes2022-08-111-4/+4
|
* gh-95876: Fix format string in pegen error location code (#95877)Christian Heimes2022-08-112-1/+5
|
* gh-90385: Add pathlib.Path.walk what's new section (GH-95467)Stanislav Zmiev2022-08-111-0/+7
| | | Automerge-Triggered-By: GH:brettcannon
* Docs: replace 'currying' by 'partial function'. (#91814)Clemens Tolboom2022-08-111-0/+2
|
* gh-75510: Edit idlelib entry in doc (#95869)Terry Jan Reedy2022-08-111-3/+6
| | | Make section instead of subsection and revise sentence.
* gh-84910: Tweak IDLE Glossary entry (#95866)Terry Jan Reedy2022-08-111-3/+3
| | | | Link "IDLE" to its doc and add 'and Learning' to its expansion, as in the doc.
* gh-95733: Allow installing Store package on older Windows versions (GH-95862)Steve Dower2022-08-102-1/+4
|
* gh-95605: Fix `float(s)` error message when `s` contains only whitespace ↵Mark Dickinson2022-08-103-1/+14
| | | | | (GH-95665) This PR fixes the error message from float(s) in the case where s contains only whitespace.
* gh-95804: Respect MemoryHandler.flushOnClose in logging shutdown. (GH-95857)David Bonner2022-08-104-1/+37
|
* gh-95504: Fix negative numbers in PyUnicode_FromFormat (GH-95848)Petr Viktorin2022-08-105-7/+86
| | | Co-authored-by: philg314 <110174000+philg314@users.noreply.github.com>
* [docs] Mention RESUME opcode in whatsnew/3.11.rst (#95595)esc2022-08-101-0/+2
|
* gh-93649: Undefine NDEBUG in Modules/_testcapi/* to enable assert() (GH-95793)Petr Viktorin2022-08-101-0/+3
|
* gh-93649: Split unicode tests from _testcapimodule.c & add some more (GH-95819)Petr Viktorin2022-08-107-322/+663
| | | | | | - Move PyUnicode tests to a separate file - Add some more tests for PyUnicode_FromFormat Co-authored-by: philg314 <110174000+philg314@users.noreply.github.com>
* gh-95349: Hide a Distutils Warning Filter for test_check_c_globals (GH-95837)Eric Snow2022-08-091-1/+6
| | | Under certain build conditions, test_check_c_globals fails. This fix takes the same approach as we took for gh-84236 (via gh-20095). We'll be removing use of distutils in the c-analyzer at some point. Until then we'll hide the warning filter.
* gh-75500: Add idlelib section to IDLE doc (#95832)Terry Jan Reedy2022-08-092-1/+31
| | | This enables accessing IDLE as 'idlelib' in the Doc Module listing.
* gh-95767: Fix grammatical error in asyncio loop.create_task docs (#95768)Andrzej Bartosiński2022-08-091-1/+1
|
* GH-92678: Document that you shouldn't be doing your own dictionary offset ↵Mark Shannon2022-08-094-13/+32
| | | | | | calculations. (GH-95598) Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* Disable Limited API tests with Py_TRACE_REFS (GH-95796)Petr Viktorin2022-08-092-0/+19
|
* Improvements to the bisect docs (GH-95807)Raymond Hettinger2022-08-091-19/+19
|
* bpo-37000: Remove obsolete comment in _randbelow_with_getrandbits (#95775)Matthias Görgens2022-08-081-1/+1
|
* gh-95273: Reorganize sqlite3 doc module level funcs and vars (#95626)Erlend E. Aasland2022-08-081-158/+156
| | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-95781: More strict format string checking in PyUnicode_FromFormatV() ↵Serhiy Storchaka2022-08-085-39/+35
| | | | | | | | | (GH-95784) An unrecognized format character in PyUnicode_FromFormat() and PyUnicode_FromFormatV() now sets a SystemError. In previous versions it caused all the rest of the format string to be copied as-is to the result string, and any extra arguments discarded.
* gh-95491: Mention IDLE Issue project in Readme (#95750)Terry Jan Reedy2022-08-081-0/+8
|
* gh-93274: Expose receiving vectorcall in the Limited API (GH-95717)Petr Viktorin2022-08-0818-13/+152
|
* gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650)Serhiy Storchaka2022-08-084-4/+4
|
* gh-95388: Suppress deprecation warning in ↵Erlend E. Aasland2022-08-081-0/+1
| | | | | | test_immutable_type_with_mutable_base (GH-95728) When 3.14 kicks in, it'll be a RuntimeError; the test will correctly fail then.
* Fix downcast compiler warning in Modules/_testcapi/vectorcall.c (#95729)Erlend E. Aasland2022-08-081-1/+1
|
* docs: Fix a few typos (#94899)Tim Gates2022-08-083-3/+3
| | | | | | - overriden => overridden - calcualation => calculation Signed-off-by: Tim Gates <tim.gates@iress.com>
* Fix documentation typo for functools.cmp_to_key (GH-95766)Andrzej Bartosiński2022-08-081-1/+1
|
* gh-88339: enable fast seeking of uncompressed unencrypted zipfile.ZipExtFile ↵JuniorJPDJ2022-08-063-5/+22
| | | | | | | (GH-27737) Avoid reading all of the intermediate data in uncompressed items in a zip file when the user seeks forward. Contributed by: @JuniorJPDJ
* gh-94635: Fixup sqlite3 'Introduction' seealso note (#95751)Erlend E. Aasland2022-08-061-12/+12
| | | | In gh-95269, the seealso note incorrectly ended up in the 'Tutorial' section.