Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-41473: Skip test_gdb with gdb 9.2 to work around gdb bug (GH-21768) | Victor Stinner | 2020-08-07 | 1 | -0/+5 |
| | | | | | | gdb 9.2 on Fedora Rawhide is not reliable, see: * https://bugs.python.org/issue41473 * https://bugzilla.redhat.com/show_bug.cgi?id=1866884 | ||||
* | bpo-41477: Make ctypes optional in test_genericalias (GH-21766) | Victor Stinner | 2020-08-07 | 2 | -38/+43 |
| | |||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21764) | Hai Shi | 2020-08-07 | 15 | -84/+97 |
| | |||||
* | bpo-41098: Doc: Add missing deprecated directives (GH-21162) | Inada Naoki | 2020-08-07 | 2 | -2/+18 |
| | | | | PyUnicodeEncodeError_Create has been deprecated with `Py_DEPRECATED` macro. But it was not documented. | ||||
* | bpo-39871: Fix an error in a news entry (GH-21749) | Zackery Spytz | 2020-08-07 | 1 | -1/+1 |
| | |||||
* | bpo-41440: add os.cpu_count() support for VxWorks RTOS (GH-21685) | pxinwr | 2020-08-07 | 3 | -0/+12 |
| | |||||
* | bpo-41493: Refactoring dictresize (GH-21751) | Inada Naoki | 2020-08-07 | 1 | -26/+41 |
| | | | Split newsize calculation into new function. dictresize() now accepts exact newsize. | ||||
* | bpo-41371: Handle lzma lib import error in test_zoneinfo.py (GH-21734) | Nathan M | 2020-08-06 | 1 | -1/+2 |
| | |||||
* | bpo-41492: Fixes the description appearing in UAC prompts on Windows (GH-21754) | Steve Dower | 2020-08-06 | 4 | -1/+20 |
| | |||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21743) | Hai Shi | 2020-08-06 | 20 | -56/+73 |
| | |||||
* | bpo-41482: Fix error in ipaddress.IPv4Network docstring (GH-21736) | Eric L. Frederich | 2020-08-05 | 1 | -1/+1 |
| | |||||
* | bpo-40989: Fix compiler warning in winreg.c (GH-21722) | Victor Stinner | 2020-08-05 | 1 | -1/+1 |
| | | | Explicitly cast PyHKEYObject* to PyObject* to call _PyObject_Init(). | ||||
* | bpo-40726: handle uninitalized end_lineno on ast.increment_lineno (GH-20312) | Batuhan Taskaya | 2020-08-05 | 3 | -3/+23 |
| | |||||
* | bpo-36346: Doc: Update removal schedule of legacy Unicode (GH-21479) | Inada Naoki | 2020-08-05 | 1 | -9/+30 |
| | | | See PEP 623 for detail. | ||||
* | bpo-41463: Generate information about jumps from 'opcode.py' rather than ↵ | Mark Shannon | 2020-08-04 | 3 | -59/+114 |
| | | | | | duplicating it in 'compile.c' (GH-21714) Generate information about jumps from 'opcode.py' rather than duplicate it in 'compile.c' | ||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21727) | Hai Shi | 2020-08-04 | 19 | -46/+58 |
| | |||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21452) | Hai Shi | 2020-08-04 | 6 | -54/+62 |
| | |||||
* | bpo-36982: Add support for extended color functions in ncurses 6.1 (GH-17536) | Hans Petter Jansson | 2020-08-04 | 7 | -224/+258 |
| | | | Co-authored-by: Jeffrey Kintscher <websurfer@surf2c.net> | ||||
* | bpo-41431: Optimize dict_merge for copy (GH-21674) | Inada Naoki | 2020-08-04 | 3 | -34/+75 |
| | |||||
* | bpo-41467: Fix asyncio recv_into() on Windows (GH-21720) | Victor Stinner | 2020-08-04 | 2 | -1/+4 |
| | | | | | On Windows, fix asyncio recv_into() return value when the socket/pipe is closed (BrokenPipeError): return 0 rather than an empty byte string (b''). | ||||
* | bpo-38156: Fix compiler warning in PyOS_StdioReadline() (GH-21721) | Victor Stinner | 2020-08-04 | 1 | -1/+1 |
| | | | incr cannot be larger than INT_MAX: downcast to int explicitly. | ||||
* | bpo-38912: regrtest logs unraisable exception into sys.__stderr__ (GH-21718) | Victor Stinner | 2020-08-03 | 2 | -5/+15 |
| | | | | regrtest_unraisable_hook() temporarily replaces sys.stderr with sys.__stderr__ to help to display errors when a test captures stderr. | ||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21448) | Hai Shi | 2020-08-03 | 20 | -154/+185 |
| | |||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21451) | Hai Shi | 2020-08-03 | 20 | -278/+324 |
| | |||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21449) | Hai Shi | 2020-08-03 | 20 | -132/+154 |
| | |||||
* | A (very) slight speed improvement for iterating over bytes (#21705) | Guido van Rossum | 2020-08-03 | 1 | -6/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | My mentee @xvxvxvxvxv noticed that iterating over array.array is slightly faster than iterating over bytes. Looking at the source I observed that arrayiter_next() calls `getitem(ao, it->index++)` wheras striter_next() uses the idiom (paraphrased) item = PyLong_FromLong(seq->ob_sval[it->it_index]); if (item != NULL) ++it->it_next; return item; I'm not 100% sure but I think that the second version has fewer opportunity for the CPU to overlap the `index++` operation with the rest of the code (which in both cases involves a call). So here I am optimistically incrementing the index -- if the PyLong_FromLong() call fails, this will leave the iterator pointing at the next byte, but honestly I doubt that anyone would seriously consider resuming use of the iterator after that kind of failure (it would have to be a MemoryError). And the author of arrayiter_next() made the same consideration (or never ever gave it a thought :-). With this, a loop like for _ in b: pass is now slightly *faster* than the same thing over an equivalent array, rather than slightly *slower* (in both cases a few percent). | ||||
* | bpo-41425: Make tkinter doc example runnable (GH-21706) | Ankit Chandawala | 2020-08-03 | 2 | -13/+18 |
| | | | | Co-authored-by: Ankit Chandawala <achandaw@amazon.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | bpo-41424: Remove extra words in Tkinter-Packer documentation (GH-21707) | Nathan M | 2020-08-03 | 1 | -6/+5 |
| | |||||
* | bpo-40979: refactored typing.rst; (mostly) same content, new sub-sections ↵ | Luciano Ramalho | 2020-08-02 | 2 | -614/+824 |
| | | | | | | and ordering (#21574) Also added PEP 585 deprecation notes. | ||||
* | random module: Convert a "while 1" to "while True (GH-21700) | Raymond Hettinger | 2020-08-02 | 1 | -1/+1 |
| | |||||
* | bpo-41421: Algebraic simplification for random.paretovariate() (GH-21695) | Raymond Hettinger | 2020-08-01 | 2 | -1/+4 |
| | |||||
* | bpo-40360: Handle PendingDeprecationWarning in test_lib2to3. (GH-21694) | Karthikeyan Singaravelan | 2020-07-31 | 1 | -1/+4 |
| | |||||
* | bpo-41323: Perform 'peephole' optimizations directly on the CFG. (GH-21517) | Mark Shannon | 2020-07-30 | 12 | -4577/+4358 |
| | | | * Move 'peephole' optimizations into compile.c and perform them directly on the CFG. | ||||
* | bpo-41426 Fix grammar in curses.getmouse() documentation (GH-21677) | Sebastien Williams-Wynn | 2020-07-29 | 1 | -1/+1 |
| | | | Automerge-Triggered-By: @brettcannon | ||||
* | closes bpo-38156: Always handle interrupts in PyOS_StdioReadline. (GH-21569) | Benjamin Peterson | 2020-07-29 | 2 | -30/+15 |
| | | | | | This consolidates the handling of my_fgets return values, so that interrupts are always handled, even if they come after EOF. I believe PyOS_StdioReadline is still buggy in that I/O errors will not result in a proper Python exception being set. However, that is a separate issue. | ||||
* | Remove incorrect mention of method.__class__ in descriptor docs (GH-21665) | Yonatan Goldschmidt | 2020-07-28 | 1 | -4/+2 |
| | |||||
* | Fix `List_Append` description, list is extracted at TOS1[-i] (GH-21465) | Xiang Zhang | 2020-07-28 | 1 | -1/+1 |
| | |||||
* | bpo-41412 and bpo-40948: Windows installer updates (GH-21656) | Steve Dower | 2020-07-28 | 6 | -69/+25 |
| | | | | | Prevent installation on Windows 8 and earlier. Download UCRT on demand when required (non-updated Windows 8.1 only) Add reference to py launcher to post-install message | ||||
* | bpo-41328: Replace mention of Hudson CI with Travis CI and AppVeyor (GH-21653) | Dmytro Litvinov | 2020-07-28 | 1 | -1/+1 |
| | |||||
* | bpo-35328: Set VIRTUAL_ENV_PROMPT at venv activation (GH-21587) | Zackery Spytz | 2020-07-28 | 7 | -1/+17 |
| | | | Co-Authored-By: Baptiste Darthenay <baptiste.darthenay@gmail.com> | ||||
* | Validate the AST produced by the parser in debug mode (GH-21643) | Pablo Galindo | 2020-07-27 | 1 | -0/+9 |
| | | | This will improve the debug experience if something fails in the produced AST. Previously, errors in the produced AST can be felt much later like in the garbage collector or the compiler, making debugging them much more difficult. | ||||
* | bpo-41045: Document debug feature of f-strings ('=') (GH-21509) | amaajemyfren | 2020-07-27 | 2 | -5/+33 |
| | | | | | Co-Authored-By: Rishi <rishi93dev@gmail.com> Automerge-Triggered-By: @gvanrossum | ||||
* | bpo-40939: Remove even more references to the old parser (GH-21642) | Lysandros Nikolaou | 2020-07-27 | 5 | -17/+0 |
| | | | Automerge-Triggered-By: @lysnikolaou | ||||
* | bpo-40939: Use the new grammar for the grammar specification documentation ↵ | Pablo Galindo | 2020-07-27 | 4 | -210/+91 |
| | | | | | | | (GH-19969) (We censor the heck out of actions and some other stuff using a custom "highlighter".) Co-authored-by: Guido van Rossum <guido@python.org> | ||||
* | bpo-41401: Fix test_fspath_support in test_io. (GH-21640) | Serhiy Storchaka | 2020-07-27 | 1 | -1/+1 |
| | | | The error is exposed on non-UTF-8 locales. | ||||
* | bpo-31904: Fix test_ftplib failures for VxWorks RTOS (GH-19447) | pxinwr | 2020-07-27 | 2 | -0/+3 |
| | |||||
* | bpo-41340: Removed fallback implementation for strdup (GH-21634) | wasiher | 2020-07-27 | 5 | -29/+2 |
| | |||||
* | bpo-41384: Raise TclError in tkinter.OptionMenu (GH-21601) | Akuli | 2020-07-27 | 3 | -1/+7 |
| | | | | | ... when an unknown option is passed. TypeError was being raised because a 2to3 fix was missing. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | Fix atexitmodule doc (GH-21456) | linchiwei123 | 2020-07-26 | 1 | -1/+1 |
| | |||||
* | Delete remaining references to Grammar/Grammar from docs (#21624) | Guido van Rossum | 2020-07-26 | 7 | -396/+4 |
| | | | (Ironically, the file itself remains, see https://github.com/we-like-parsers/cpython/issues/135.) |