summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add extra stats for attribute misses (GH-26732)Mark Shannon2021-06-152-2/+90
|
* Fix a typo in _make_class_unpicklable() docstring (GH-26729)andrei kulakov2021-06-151-1/+1
|
* bpo-44409: Fix error location in tokenizer errors that happen during ↵Pablo Galindo2021-06-143-0/+4
| | | | initialization (GH-26712)
* Fix typo in lnotab_notes.txt (GH-26711)Gabriele N. Tornetta2021-06-141-1/+1
| | | Thanks for your contribution @P403n1x87
* bpo-38291: Remove mention of typing.io and typing.re again (GH-26113)Sebastian Rittau2021-06-142-2/+12
| | | | | They were originally removed in GH-10173 per bpo-35089, but then readded in GH-21574. Cf. bpo-38291 for decision to remove.
* Remove accidentally duplicated STAT_INC (GH-26718)Mark Shannon2021-06-141-1/+0
|
* bpo-44338: Port LOAD_GLOBAL to PEP 659 adaptive interpreter (GH-26638)Mark Shannon2021-06-149-337/+209
| | | | | | | | | | * Add specializations of LOAD_GLOBAL. * Add more stats. * Remove old opcache; it is no longer used. * Add NEWS
* bpo-44310: Note that lru_cache keep references to both arguments and ↵Raymond Hettinger2021-06-141-6/+9
| | | | | | | | results (GH-26715) * Simplify the count_vowels example * Hits and misses are fetched while a lock is held * Add note that references are kept for arguments and return values * Clarify behavior when *typed* is false.
* bpo-44389: Fix deprecation of OP_NO_TLSv1_3 (GH-26700)Christian Heimes2021-06-133-9/+58
| | | Signed-off-by: Christian Heimes <christian@python.org>
* Fix a potential reference-counting bug in long_pow (GH-26690)Mark Dickinson2021-06-131-0/+1
|
* Fix typos in multiple files (GH-26689)Binbin2021-06-1324-1023/+1023
| | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-43425: Update test_c_parser not to use TempdirManager (GH-26693)Dong-hee Na2021-06-121-5/+8
|
* bpo-44389: Remove duplicate SSL_OP_NO_TLSv1_2 flag (GH-26680)Erlend Egeberg Aasland2021-06-121-1/+1
|
* bpo-44396: Update multi-line-start location when reallocating tokenizer ↵Pablo Galindo2021-06-123-0/+14
| | | | | buffers (GH-26676) Automerge-Triggered-By: GH:pablogsal
* bpo-44376 - reduce pow() overhead for small exponents (GH-26662)Tim Peters2021-06-122-5/+46
| | | | Greatly reduce pow() overhead for small exponents.
* Add more const modifiers. (GH-26691)Serhiy Storchaka2021-06-129-27/+27
|
* bpo-43475: Fix the Python implementation of hash of Decimal NaN (GH-26679)Serhiy Storchaka2021-06-124-10/+36
|
* bpo-44339: Fix math.pow corner case to comply with IEEE 754 (GH-26606)Mark Dickinson2021-06-126-11/+21
| | | Change the behaviour of `math.pow(0.0, -math.inf)` and `math.pow(-0.0, -math.inf)` to return positive infinity instead of raising `ValueError`. This makes `math.pow` consistent with the built-in `pow` (and the `**` operator) for this particular special case, and brings the `math.pow` special-case handling into compliance with IEEE 754.
* bpo-40128: Fix IDLE autocomplete on macOS (GH-26672)Kaustubh J2021-06-112-0/+4
| | | | | In particular, when running with tk8.6.8, as in PSF 3.9. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-44381: Windows build now allows enabling control flow guard (GH-26645)Steve Dower2021-06-112-2/+4
|
* bpo-43318: Fix a bug where pdb does not always echo cleared breakpoints ↵huzhaojie2021-06-113-1/+31
| | | | (GH-24646)
* bpo-44351: Restore back parse_makefile in distutils.sysconfig (GH-26637)Lumír 'Frenzy' Balhar2021-06-112-4/+109
| | | | The function uses distutils.text_file.TextFile and therefore behaves differently than _parse_makefile in sysconfig.
* bpo-44242: [Enum] improve error messages (GH-26669)Ethan Furman2021-06-112-19/+30
|
* bpo-44378: Fix a compiler warning in Py_IS_TYPE() (GH-26644)Victor Stinner2021-06-112-1/+6
| | | | Py_IS_TYPE() no longer uses Py_TYPE() to avoid a compiler warning: no longer cast "const PyObject*" to "PyObject*".
* bpo-44342: [Enum] fix data type search (GH-26667)Ethan Furman2021-06-112-1/+9
| | | | | | | In an inheritance chain of int -> my_int -> final_int the data type is now final_int (not my_int)
* bpo-44362: ssl: improve deprecation warnings and docs (GH-26646)Christian Heimes2021-06-116-47/+98
| | | Signed-off-by: Christian Heimes <christian@python.org>
* Doc: Prettier exception hierarchy. (GH-26533)Julien Palard2021-06-113-65/+66
|
* bpo-44342: [Enum] changed pickling from by-value to by-name (GH-26658)Ethan Furman2021-06-103-25/+9
| | | | | | | by-value lookups could fail on complex enums, necessitating a check for __reduce__ and possibly sabotaging the final enum; by-name lookups should never fail, and sabotaging is no longer necessary for class-based enum creation.
* bpo-44368: Improve syntax errors with invalid as pattern targets (GH-26632)Pablo Galindo2021-06-104-213/+332
|
* bpo-44385: Remove unused grammar rules (GH-26655)Lysandros Nikolaou2021-06-102-1267/+791
| | | Automerge-Triggered-By: GH:lysnikolaou
* bpo-37022: Fix bug where pdb's do_p/do_pp commands swallow exceptions from ↵Daniel Hahler2021-06-103-14/+48
| | | | repr (GH-18180)
* bpo-44356: [Enum] allow multiple data-type mixins if they are all the same ↵Ethan Furman2021-06-103-4/+52
| | | | | | | | | | | | | | (GH-26649) This enables, for example, two base Enums to both inherit from `str`, and then both be mixed into the same final Enum: class Str1Enum(str, Enum): # some behavior here class Str2Enum(str, Enum): # some more behavior here class FinalStrEnum(Str1Enum, Str2Enum): # this now works
* bpo-33962: Use ttk spinbox for IDLE indent space config (GH-22954)Mark Roseman2021-06-103-118/+73
| | | | | If ttk.Spinbox is not available (Tk < 8.5.9) use readonly ttk.Combobox. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Run address sanitiser in the GitHub CI (GH-26640)Pablo Galindo2021-06-101-0/+43
|
* bpo-44357:Add `math.cbrt()` function: Cube Root (GH-26622)Ajith Ramachandran2021-06-106-0/+36
| | | | | | * Add math.cbrt() function: Cube Root Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
* bpo-44364:Add non integral tests for `sqrt()` (#26625)Ajith Ramachandran2021-06-102-0/+5
| | | | | * Add non integral tests for `sqrt()` Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
* bpo-44363: Get test_capi passing with address sanitizer (GH-26639)Mark Shannon2021-06-103-1/+17
|
* bpo-44348: Move trace-info to thread-state (GH-26623)Mark Shannon2021-06-104-85/+73
| | | | | * Move trace-info to thread state. * Correct output for pdb when turning on tracing in middle of line
* bpo-44337: Port LOAD_ATTR to PEP 659 adaptive interpreter (GH-26595)Mark Shannon2021-06-1014-218/+508
| | | | | | | | | | | | | | * Specialize LOAD_ATTR with LOAD_ATTR_SLOT and LOAD_ATTR_SPLIT_KEYS * Move dict-common.h to internal/pycore_dict.h * Add LOAD_ATTR_WITH_HINT specialized opcode. * Quicken in function if loopy * Specialize LOAD_ATTR for module attributes. * Add specialization stats
* bpo-35800: Remove smtpd.MailmanProxy since 3.11 (GH-26617)Dong-hee Na2021-06-094-111/+9
|
* bpo-44368: Ensure we don't raise incorrect custom syntax errors with soft ↵Pablo Galindo2021-06-093-5/+31
| | | | keywords (GH-26630)
* bpo-21760: fix __file__ description (GH-19097)Furkan Onder2021-06-092-3/+10
|
* bpo-40468: Split IDLE settings General tab (GH-26621)Terry Jan Reedy2021-06-093-141/+184
| | | | | | | Replace it with Windows tab for Shell and Editor options and Shell/Ed for options exclusive to one of them. Create room for more options and make dialog shorter, to better fit small windows.
* bpo-43693: Do not check co_cell2arg if a non-cell offset. (gh-26626)Eric Snow2021-06-091-2/+5
| | | | | This is the same fix as for PyFrame_LocalsToFast() in gh-26609, but applied to PyFrame_FastToLocalsWithError(). (It should have been in that PR.) https://bugs.python.org/issue43693
* bpo-44242: [Enum] remove missing bits test from Flag creation (GH-26586)Ethan Furman2021-06-094-30/+309
| | | | Move the check for missing named flags in flag aliases from Flag creation to a new *verify* decorator.
* Delete line that was accidentally copied. (GH-26624)Mark Shannon2021-06-091-1/+0
|
* bpo-44345: Fix 'generated by' comment in parser.c (GH-26615)Akira Nonaka2021-06-092-2/+2
|
* bpo-40468: Factor out class ExtPage in idlelib.configdialog (GH-26618)Terry Jan Reedy2021-06-092-201/+216
|
* bpo-44349: Fix edge case when displaying text from files with encoding in ↵Pablo Galindo2021-06-083-2/+22
| | | | syntax errors (GH-26611)
* bpo-43833: Emit warnings for numeric literals followed by keyword (GH-25466)Serhiy Storchaka2021-06-085-3/+246
| | | | | | | | Emit a deprecation warning if the numeric literal is immediately followed by one of keywords: and, else, for, if, in, is, or. Raise a syntax error with more informative message if it is immediately followed by other keyword or identifier. Automerge-Triggered-By: GH:pablogsal