summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* GH-94644: fix test_curses ref leak (GH-94647)Kumar Aditya2022-07-071-0/+1
|
* gh-94644: Define HAVE_NCURSESW in pkg-config branch (#94651)Christian Heimes2022-07-072-0/+3
|
* gh-94215: Add reproducer for segfault in frame_setlineno() (GH-94563)Christian Heimes2022-07-071-6/+104
|
* gh-94430: Allow params named `module` or `self` with custom C names in ↵Erlend Egeberg Aasland2022-07-073-2/+50
| | | | Argument Clinic (#94431)
* gh-94628: Add explicit parameter list to sqlite3.connect docs (#94629)Erlend Egeberg Aasland2022-07-071-76/+105
| | | Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-92228: disable the compiler's 'small exit block inlining' optimization ↵Irit Katriel2022-07-075-20/+33
| | | | | | | for blocks that have a line number (GH-94592) Inlining of code that corresponds to source code lines, can make it hard to distinguish later between code which is only reachable from except handlers, and that which is reachable in normal control flow. This caused problems with the debugger's jump feature. This PR turns off the inlining optimisation for code which has line numbers. We still inline things like the implicit "return None".
* gh-94630: Update sqlite3 docs with positional-only and keyword-only symbols ↵Erlend Egeberg Aasland2022-07-061-11/+11
| | | | (#94631)
* gh-94017: Improve clarity of sqlite3 transaction handling docs (#94320)Erlend Egeberg Aasland2022-07-061-39/+61
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
* GH-93896: AAlways set event loop in asyncio.run and IsolatedAsyncioTestCase ↵Kumar Aditya2022-07-063-0/+19
| | | | (#94593)
* gh-90005: Port readline and curses to PY_STDLIB_MOD (GH-94452)Christian Heimes2022-07-066-443/+1928
| | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-94438: in frameobject's mark_stacks switch, the PUSH_EXC_INFO and ↵Irit Katriel2022-07-061-8/+10
| | | | POP_EXCEPT cases are no longer reachable (GH-94582)
* gh-94510: Raise on re-entrant calls to sys.setprofile and sys.settrace ↵Pablo Galindo Salgado2022-07-055-3/+105
| | | | | (GH-94511) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-91330: Tests and docs for dataclass descriptor-typed fields (GH-94424)Erik De Bonte2022-07-053-0/+167
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-94360: Fix a tokenizer crash when reading encoded files with syntax ↵Pablo Galindo Salgado2022-07-053-5/+15
| | | | | | | | | | | errors from stdin (#94386) * gh-94360: Fix a tokenizer crash when reading encoded files with syntax errors from stdin Signed-off-by: Pablo Galindo <pablogsal@gmail.com> * nitty nit Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-90355: Add isolated flag if currently isolated (GH-92857)Carter Dodd2022-07-052-2/+13
| | | | Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-92897: Ensure `venv --copies` respects source build property of the ↵Jeremy Kloth2022-07-055-40/+76
| | | | creating interpreter (GH-92899)
* Docs: Convert PEP 630 (Isolating Extension Modules) to a HOWTO (GH-94489)Petr Viktorin2022-07-052-0/+537
| | | | Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* bpo-46755: Don't log stack info twice in QueueHandler (GH-31355)Erik Montnemery2022-07-054-3/+8
|
* gh-94485: Set line number of module's RESUME instruction to 0, as specified ↵Irit Katriel2022-07-057-26/+33
| | | | | by PEP 626 (GH-94552) Co-authored-by: Mark Shannon <mark@hotpy.org>
* gh-84753: Clarify change made to `inspect` functions (#94554)Łukasz Langa2022-07-051-2/+6
|
* gh-94379: Remove zipimport find_loader() and find_module() methods (#94380)Victor Stinner2022-07-054-74/+8
| | | | | zipimport: Remove find_loader() and find_module() methods, deprecated in Python 3.10: use the find_spec() method instead. See PEP 451 for the rationale.
* Docs: remove redundant "adverb-adjective" hyphens from compound modifiers ↵Ned Batchelder2022-07-0571-118/+118
| | | | | (GH-94551) Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021
* gh-94538: Fix Argument Clinic output to custom file (#94539)Erlend Egeberg Aasland2022-07-052-1/+3
|
* gh-93626: Set the release for `__future__.annotations` to `None` (GH-93628)KotlinIsland2022-07-053-3/+11
| | | Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
* gh-93939: Add script to check extension modules (#94545)Christian Heimes2022-07-054-41/+504
| | | | | | | | Add script ``Tools/scripts/check_modules.py`` to check and validate builtin and shared extension modules. The script also handles ``Modules/Setup`` and will eventually replace ``setup.py``. Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-94383: Remove ElementTree.Element.copy() method (#94384)Victor Stinner2022-07-044-42/+11
| | | | | | xml.etree: Remove the ElementTree.Element.copy() method of the pure Python implementation, deprecated in Python 3.10, use the copy.copy() function instead. The C implementation of xml.etree has no copy() method, only a __copy__() method.
* gh-94352: shlex.split() no longer accepts None (#94353)Victor Stinner2022-07-045-9/+14
| | | | | shlex.split(): Passing None for s argument now raises an exception, rather than reading sys.stdin. The feature was deprecated in Python 3.9.
* gh-94512: Fix forced arg format in AC-processed multiprocessing (GH-94517)Oleg Iarygin2022-07-042-7/+33
|
* gh-94512: Fix forced arg format in AC-processed winreg (GH-94513)Oleg Iarygin2022-07-042-22/+201
|
* gh-94512: Fix forced arg format in AC-processed msvcrtmodule (GH-94514)Oleg Iarygin2022-07-042-6/+28
|
* Update logging documentation: change cross-reference and add webapp r… ↵Vinay Sajip2022-07-042-1/+223
| | | | (GH-94540)
* gh-93963: Officially deprecate abcs and warn about their usage. (GH-93965)Jason R. Coombs2022-07-032-5/+16
| | | | | Fixes #93963 Automerge-Triggered-By: GH:jaraco
* gh-92869: ctypes: Add c_time_t (#92870)Thomas Perl2022-07-035-7/+44
| | | | | | Adds `ctypes.c_time_t` to represent the C `time_t` type accurately as its size varies. Primarily-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google]
* IDLE doc: Tweek RESTART and Windows console start (#94530)Terry Jan Reedy2022-07-032-5/+9
|
* gh-93096: Remove `python -m base64 -t` (gh-94230)Oleg Iarygin2022-07-023-22/+9
|
* Doc: fix sqlite3 blob reference anchor (#94505)Erlend Egeberg Aasland2022-07-021-2/+2
|
* gh-94393: Remove unneeded module state from _json (#94394)Erlend Egeberg Aasland2022-07-021-58/+15
|
* gh-93096: Remove `python -m codecs` (gh-94233)Oleg Iarygin2022-07-022-10/+2
|
* gh-90005: Port _dbm module to PY_STDLIB_MOD (GH-94433)Christian Heimes2022-07-016-198/+278
|
* gh-81054: Document that SimpleHTTPRequestHandler follows symbolic links ↵Sam Ezeh2022-07-012-2/+13
| | | | (GH-94416)
* Update code sample when importing modules in queue doc (GH-94244)Mariatta Wijaya2022-07-011-1/+2
| | | | | In the queue documentation, the code snippet shows the import to be not PEP 8 compliant. Since people typically copy-paste from such code samples, I think it's important to show best-practices here.
* gh-75372: Specify major version in README for installation (GH-92759)Stanley2022-07-011-1/+1
|
* gh-94216: add pseudo instructions to the dis/opcodes modules (GH-94241)Irit Katriel2022-07-0113-83/+245
|
* GH-94438: Account for NULLs on evaluation stack when jumping lines. (GH-94444)Mark Shannon2022-07-013-17/+106
|
* Remove pr trigger from project-updater GHA. (#94483)Ezio Melotti2022-07-011-4/+0
|
* GH-94262: Don't create frame objects for frames that aren't yet complete. ↵Mark Shannon2022-07-017-13/+87
| | | | (GH-94371)
* gh-84461: Tool/wasm/python.html: Add subresource integrity hashes (#93953)Petr Viktorin2022-07-011-2/+2
|
* gh-84461: Improve WebAssembly in-browser demo (#91879)Trey Hunner2022-07-013-25/+99
| | | | | | | | | | | | | | | | | | | | | * Buffer standard input line-by-line * Add non-root .editorconfig for JS & HTML indent * Add support for clearing REPL with CTRL+L * Support unicode in stdout and stderr * Remove \r\n normalization * Note that local .editorconfig file extends root * Only normalize lone \r characters (convert to \n) * Skip non-printable characters in buffered input * Fix Safari bug (regex lookbehind not supported) Co-authored-by: Christian Heimes <christian@python.org>
* Add a workflow to add issues/PRs to projects. (#94447)Ezio Melotti2022-07-011-0/+23
| | | | | | | | | * Add a workflow to add issues/PRs to projects. * Apply suggestions from code review Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-90005-ffi: Fix building _ctypes without pkg-config (GH-94451)Christian Heimes2022-07-013-3/+13
| | | The fallback path did not set LIBFFI_LIBS variable to link with ``-lffi``.