summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* bpo-43693: Un-revert commit f3fa63e. (#26609)Eric Snow2021-06-0816-4231/+4467
| | | | | | | | | This was reverted in GH-26596 (commit 6d518bb) due to some bad memory accesses. * Add the MAKE_CELL opcode. (gh-26396) The memory accesses have been fixed. https://bugs.python.org/issue43693
* bpo-40468: Move IDLE helplist settings to extensions page of dialog. (GH-26593)Terry Jan Reedy2021-06-083-139/+190
| | | | These are the settings that extend the help menu. Moving them shortens the dialog and will help with it being too tall for small screens.
* bpo-44335: Ensure the tokenizer doesn't go into Python with the error set ↵Pablo Galindo2021-06-081-3/+17
| | | | (GH-26608)
* bpo-11105: document the new test.support.infinite_recursion context manager ↵Batuhan Taskaya2021-06-081-1/+7
| | | | (GH-26604)
* bpo-11105: reduce the recursion limit for tests (GH-26550)Batuhan Taskaya2021-06-082-2/+13
|
* bpo-43795: Note Stable ABI PEP in What's New (GH-26479)Petr Viktorin2021-06-081-0/+10
| | | | Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* bpo-44329: Refactor sqlite3 statement creation (GH-26566)Erlend Egeberg Aasland2021-06-081-43/+35
| | | | | Call SQLite API's first, and return early in case of error. At the end, allocate the object and initialise members. We now avoid unneeded alloc/dealloc's in case the statement creation fails.
* Revert "bpo-43693: Add the MAKE_CELL opcode and interleave fast locals ↵Pablo Galindo2021-06-0816-4466/+4231
| | | | | offsets. (gh-26396)" (GH-26597) This reverts commit 631f9938b1604d4f893417ec339b9e0fa9196fb1.
* Fix compiler errors for unused variables (GH-26601)Pablo Galindo2021-06-082-1/+2
|
* bpo-44335: Fix a regression when identifying invalid characters in syntax ↵Pablo Galindo2021-06-083-1/+6
| | | | errors (GH-26589)
* bpo-44348: Revert "bpo-39573: Py_TYPE becomes a static inline function ↵Pablo Galindo2021-06-085-52/+9
| | | | | | (GH-26493)" (GH-26596) This reverts commit f3fa63ec75fdbb4a08a10957a5c631bf0c4a5970 as is causing crashes in some Windows tests in the buildbots.
* Use `from` imports (GH-26594)Machinexa22021-06-081-5/+4
| | | from imports
* bpo-42238: Doc CI: Disable suspicious checks. (GH-26575)Julien Palard2021-06-082-2/+2
| | | | They are slow and raise too many false positive, I'm in the slow process to try to change this.