-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Register code generator #47
Register code generator #47
Commits on Nov 18, 2022
-
pythonGH-98831: Refactor and fix cases generator (python#99526)
Also complete cache effects for BINARY_SUBSCR family.
Configuration menu - View commit details
-
Copy full SHA for 4f5e1cb - Browse repository at this point
Copy the full SHA 4f5e1cbView commit details -
pythongh-99442: Fix handling in py.exe launcher when argv[0] does not…
… include a file extension (pythonGH-99542)
Configuration menu - View commit details
-
Copy full SHA for a220c6d - Browse repository at this point
Copy the full SHA a220c6dView commit details -
pythongh-99553: fix bug where an ExceptionGroup subclass can wrap a B…
…aseException (pythonGH-99572)
Configuration menu - View commit details
-
Copy full SHA for c8c6113 - Browse repository at this point
Copy the full SHA c8c6113View commit details -
Doc: Fix broken link to emscripten networking website (python#99531)
There was an extra `>` in the url.
Configuration menu - View commit details
-
Copy full SHA for ed206e3 - Browse repository at this point
Copy the full SHA ed206e3View commit details -
Doc: Replace question mark with fullstop (python#99558)
The sentence "Set the LC_CTYPE locale to the user preferred locale." should end with a period instead of a question mark.
Configuration menu - View commit details
-
Copy full SHA for 0e09d2c - Browse repository at this point
Copy the full SHA 0e09d2cView commit details -
pythongh-85073: Add some missing links to source (pythonGH-99363)
Add some missing links to source from Python docs
Configuration menu - View commit details
-
Copy full SHA for 27d8dc2 - Browse repository at this point
Copy the full SHA 27d8dc2View commit details
Commits on Nov 19, 2022
-
pythongh-99284: [ctypes] remove `_use_broken_old_ctypes_structure_se…
…mantics_` (pythonGH-99285) It was untested and undocumented. No code has been found in the wild that ever used it.
Configuration menu - View commit details
-
Copy full SHA for a3360fa - Browse repository at this point
Copy the full SHA a3360faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 858cb79 - Browse repository at this point
Copy the full SHA 858cb79View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0e1f9c - Browse repository at this point
Copy the full SHA b0e1f9cView commit details
Commits on Nov 20, 2022
-
pythongh-99211: Point to except/except* on syntax errors when mixing …
…them (pythonGH-99215) Automerge-Triggered-By: GH:lysnikolaou
Configuration menu - View commit details
-
Copy full SHA for 9c4232a - Browse repository at this point
Copy the full SHA 9c4232aView commit details -
pythongh-61460: Add a comment describing the multiprocessing.connecti…
…on protocol (pythongh-99623) Describe the multiprocessing connection protocol. It isn't a good protocol, but it is what it is. This way we can more easily reason about making changes to it in a backwards compatible way.
Configuration menu - View commit details
-
Copy full SHA for abf5b6f - Browse repository at this point
Copy the full SHA abf5b6fView commit details -
pythongh-99581: Fix a buffer overflow in the tokenizer when copying l…
…ines that fill the available buffer (python#99605)
Configuration menu - View commit details
-
Copy full SHA for e13d1d9 - Browse repository at this point
Copy the full SHA e13d1d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d8da23 - Browse repository at this point
Copy the full SHA 6d8da23View commit details
Commits on Nov 21, 2022
-
pythongh-99337: Fix compile errors with gcc 12 on macOS (python#99470)
Fix a number of compile errors with GCC-12 on macOS: 1. In pylifecycle.c the compile rejects _Pragma within a declaration 2. posixmodule.c was missing a number of ..._RUNTIME macros for non-clang on macOS 3. _ctypes assumed that __builtin_available is always present on macOS
Configuration menu - View commit details
-
Copy full SHA for cdde29d - Browse repository at this point
Copy the full SHA cdde29dView commit details -
pythonGH-95815: Document less specific error for os.remove (python#99571
) os.remove can raise PermissionError instead of IsADirectoryError, when the object to be removed is a directory (in particular on macOS). This reverts a change done in python#14262.
Configuration menu - View commit details
-
Copy full SHA for 1cae31d - Browse repository at this point
Copy the full SHA 1cae31dView commit details -
pythongh-99578: Fix refleak in _imp.create_builtin() (python#99642)
Fix a reference bug in _imp.create_builtin() after the creation of the first sub-interpreter for modules "builtins" and "sys".
Configuration menu - View commit details
-
Copy full SHA for cb2ef8b - Browse repository at this point
Copy the full SHA cb2ef8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 653e563 - Browse repository at this point
Copy the full SHA 653e563View commit details -
pythongh-96002: Add functional test for Argument Clinic (python#96178)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for c450c8c - Browse repository at this point
Copy the full SHA c450c8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49e554d - Browse repository at this point
Copy the full SHA 49e554dView commit details -
pythongh-99659: Use correct exceptions in sqlite3 bigmem tests (pytho…
Configuration menu - View commit details
-
Copy full SHA for 2781ec9 - Browse repository at this point
Copy the full SHA 2781ec9View commit details
Commits on Nov 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1bf983c - Browse repository at this point
Copy the full SHA 1bf983cView commit details -
pythongh-47146: Soft-deprecate structmember.h, expose its contents vi…
…a Python.h (pythonGH-99014) The ``structmember.h`` header is deprecated, though it continues to be available and there are no plans to remove it. There are no deprecation warnings. Old code can stay unchanged (unless the extra include and non-namespaced macros bother you greatly). Specifically, no uses in CPython are updated -- that would just be unnecessary churn. The ``structmember.h`` header is deprecated, though it continues to be available and there are no plans to remove it. Its contents are now available just by including ``Python.h``, with a ``Py`` prefix added if it was missing: - `PyMemberDef`, `PyMember_GetOne` and`PyMember_SetOne` - Type macros like `Py_T_INT`, `Py_T_DOUBLE`, etc. (previously ``T_INT``, ``T_DOUBLE``, etc.) - The flags `Py_READONLY` (previously ``READONLY``) and `Py_AUDIT_READ` (previously all uppercase) Several items are not exposed from ``Python.h``: - `T_OBJECT` (use `Py_T_OBJECT_EX`) - `T_NONE` (previously undocumented, and pretty quirky) - The macro ``WRITE_RESTRICTED`` which does nothing. - The macros ``RESTRICTED`` and ``READ_RESTRICTED``, equivalents of `Py_AUDIT_READ`. - In some configurations, ``<stddef.h>`` is not included from ``Python.h``. It should be included manually when using ``offsetof()``. The deprecated header continues to provide its original contents under the original names. Your old code can stay unchanged, unless the extra include and non-namespaced macros bother you greatly. There is discussion on the issue to rename `T_PYSSIZET` to `PY_T_SSIZE` or similar. I chose not to do that -- users will probably copy/paste that with any spelling, and not renaming it makes migration docs simpler. Co-Authored-By: Alexander Belopolsky <abalkin@users.noreply.github.com> Co-Authored-By: Matthias Braun <MatzeB@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4d82f62 - Browse repository at this point
Copy the full SHA 4d82f62View commit details -
pythonGH-97001: Release GIL in termios extension (python#99503)
Without releasing the GIL calls to termios APIs might block the entire interpreter.
Configuration menu - View commit details
-
Copy full SHA for 959ba45 - Browse repository at this point
Copy the full SHA 959ba45View commit details -
pythonGH-92892: Add section about variadic functions to ctypes docume…
…ntation (python#99529) On some platforms, and in particular macOS/arm64, the calling convention for variadic arguments is different from the regular calling convention. Add a section to the documentation to document this.
Configuration menu - View commit details
-
Copy full SHA for bc3a11d - Browse repository at this point
Copy the full SHA bc3a11dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1acdfec - Browse repository at this point
Copy the full SHA 1acdfecView commit details -
pythongh-99537: Use Py_SETREF() function in longobject C code (python…
…#99655) Replace "Py_DECREF(var); var = new;" with "Py_SETREF(var, new);" in longobject.c and _testcapi/long.c.
Configuration menu - View commit details
-
Copy full SHA for 20d9749 - Browse repository at this point
Copy the full SHA 20d9749View commit details -
pythongh-91053: Add an optional callback that is invoked whenever a f…
…unction is modified (python#98175)
Configuration menu - View commit details
-
Copy full SHA for 3db0a21 - Browse repository at this point
Copy the full SHA 3db0a21View commit details -
pythongh-99537: Use Py_SETREF() function in C code (python#99657)
Fix potential race condition in code patterns: * Replace "Py_DECREF(var); var = new;" with "Py_SETREF(var, new);" * Replace "Py_XDECREF(var); var = new;" with "Py_XSETREF(var, new);" * Replace "Py_CLEAR(var); var = new;" with "Py_XSETREF(var, new);" Other changes: * Replace "old = var; var = new; Py_DECREF(var)" with "Py_SETREF(var, new);" * Replace "old = var; var = new; Py_XDECREF(var)" with "Py_XSETREF(var, new);" * And remove the "old" variable.
Configuration menu - View commit details
-
Copy full SHA for 135ec7c - Browse repository at this point
Copy the full SHA 135ec7cView commit details -
pythongh-99537: Use Py_SETREF() function in C code (python#99656)
Fix potential race condition in code patterns: * Replace "Py_DECREF(var); var = new;" with "Py_SETREF(var, new);" * Replace "Py_XDECREF(var); var = new;" with "Py_XSETREF(var, new);" * Replace "Py_CLEAR(var); var = new;" with "Py_XSETREF(var, new);" Other changes: * Replace "old = var; var = new; Py_DECREF(var)" with "Py_SETREF(var, new);" * Replace "old = var; var = new; Py_XDECREF(var)" with "Py_XSETREF(var, new);" * And remove the "old" variable.
Configuration menu - View commit details
-
Copy full SHA for 7e3f09c - Browse repository at this point
Copy the full SHA 7e3f09cView commit details -
pythongh-99537: Use Py_CLEAR() function in C code (python#99686)
Replace "Py_XDECREF(var); var = NULL;" with "Py_CLEAR(var);". Don't replace "Py_DECREF(var); var = NULL;" with "Py_CLEAR(var);". It would add an useless "if (var)" test in code path where var cannot be NULL.
Configuration menu - View commit details
-
Copy full SHA for 9a91182 - Browse repository at this point
Copy the full SHA 9a91182View commit details -
pythongh-88863: Clear ref cycles to resolve leak when asyncio.open_co…
…nnection raises (python#95739) Break reference cycles to resolve memory leak, by removing local exception and future instances from the frame
Configuration menu - View commit details
-
Copy full SHA for 995f617 - Browse repository at this point
Copy the full SHA 995f617View commit details -
Configuration menu - View commit details
-
Copy full SHA for d15b9f1 - Browse repository at this point
Copy the full SHA d15b9f1View commit details -
pythongh-99645: Fix a bug in handling class cleanups in unittest.Test…
…Case (pythonGH-99646) Now addClassCleanup() uses separate lists for different TestCase subclasses, and doClassCleanups() only cleans up the particular class.
Configuration menu - View commit details
-
Copy full SHA for c210213 - Browse repository at this point
Copy the full SHA c210213View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b2de89 - Browse repository at this point
Copy the full SHA 1b2de89View commit details -
Update Visual Studio solution to build all extension modules on F5 (p…
…ythonGH-99667) Without these "forward" dependencies, VS would only build as far as necessary to launch the selected project.
Configuration menu - View commit details
-
Copy full SHA for 5d41833 - Browse repository at this point
Copy the full SHA 5d41833View commit details -
pythongh-99146 struct module documentation should have more predictab…
…le examples/warnings (pythonGH-99141) * nail down a couple examples to have more predictable output * update a number of things, but this is really just a stash... * added an applications section to describe typical uses for native and machine-independent formats * make sure all format strings use a format prefix character * responding to comments from @gpshead. Not likely finished yet. * This got more involved than I expected... * respond to several PR comments * a lot of wordsmithing * try and be more consistent in use of ``x`` vs ``'x'`` * expand examples a bit * update the "see also" to be more up-to-date * original examples relied on import * so present all examples as if * reformat based on @gpshead comment (missed before) * responding to comments * missed this * one more suggested edit * wordsmithing
Configuration menu - View commit details
-
Copy full SHA for 22d91c1 - Browse repository at this point
Copy the full SHA 22d91c1View commit details -
pythongh-88226: Emit TARGET labels in Python/ceval.c when debugging, …
…even if computed gotos aren't enabled (pythonGH-98265) Keep target labels when debugging, but don't warn about lack of use. Co-authored-by: Eryk Sun <eryksun@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d4cf192 - Browse repository at this point
Copy the full SHA d4cf192View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5fea22 - Browse repository at this point
Copy the full SHA f5fea22View commit details -
pythongh-99300: Replace Py_INCREF() with Py_NewRef() in _elementtree.c (
python#99696) * Replace Py_INCREF() and Py_XINCREF() using a cast with Py_NewRef() and Py_XNewRef() in Modules/_elementtree.c. * Make reference counting more explicit: don't steal implicitly a reference on PyList_SET_ITEM(), use Py_NewRef() instead. * Replace PyModule_AddObject() with PyModule_AddObjectRef().
Configuration menu - View commit details
-
Copy full SHA for f1a4a6a - Browse repository at this point
Copy the full SHA f1a4a6aView commit details
Commits on Nov 23, 2022
-
pythonGH-98831: Add
macro
andop
and their implementation to DSL (p……ython#99495) Newly supported interpreter definition syntax: - `op(NAME, (input_stack_effects -- output_stack_effects)) { ... }` - `macro(NAME) = OP1 + OP2;` Also some other random improvements: - Convert `WITH_EXCEPT_START` to use stack effects - Fix lexer to balk at unrecognized characters, e.g. `@` - Fix moved output names; support object pointers in cache - Introduce `error()` method to print errors - Introduce read_uint16(p) as equivalent to `*p` Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8f18ac0 - Browse repository at this point
Copy the full SHA 8f18ac0View commit details -
pythonGH-95283: Add note about compilers in Mac/README.txt (python#99506
Configuration menu - View commit details
-
Copy full SHA for 8f024a0 - Browse repository at this point
Copy the full SHA 8f024a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d9183c - Browse repository at this point
Copy the full SHA 5d9183cView commit details -
pythongh-99537: Use Py_SETREF(var, NULL) in C code (python#99687)
Replace "Py_DECREF(var); var = NULL;" with "Py_SETREF(var, NULL);".
Configuration menu - View commit details
-
Copy full SHA for 81f7359 - Browse repository at this point
Copy the full SHA 81f7359View commit details -
pythongh-79315: Add Include/cpython/memoryobject.h header (python#99723)
Move non-limited C API from Include/memoryobject.h to a new Include/cpython/memoryobject.h header file.
Configuration menu - View commit details
-
Copy full SHA for 55bad19 - Browse repository at this point
Copy the full SHA 55bad19View commit details -
Use faster APIs to calculate paths at startup for Store packaged Pyth…
…on on Windows (pythonGH-99345)
Configuration menu - View commit details
-
Copy full SHA for 71a4a2d - Browse repository at this point
Copy the full SHA 71a4a2dView commit details -
Upload NEWS file as artifact (python#30419)
Co-authored-by: Éric <earaujo@caravan.coop>
Configuration menu - View commit details
-
Copy full SHA for 57dfb1c - Browse repository at this point
Copy the full SHA 57dfb1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c69cfcd - Browse repository at this point
Copy the full SHA c69cfcdView commit details
Commits on Nov 24, 2022
-
pythongh-96828: Add an
ssl.OP_ENABLE_KTLS
option (pythonGH-96830)Expose the constant when OpenSSL defines it.
Configuration menu - View commit details
-
Copy full SHA for 9dc0836 - Browse repository at this point
Copy the full SHA 9dc0836View commit details -
pythonGH-66285: fix forking in
asyncio
(python#99539)`asyncio` now does not shares event loop and signal wakeupfd in forked processes.
Configuration menu - View commit details
-
Copy full SHA for 0c1fbc1 - Browse repository at this point
Copy the full SHA 0c1fbc1View commit details -
add Kumar Aditya as
asyncio
codeowner (pythonGH-99744)Automerge-Triggered-By: GH:kumaraditya303
Configuration menu - View commit details
-
Copy full SHA for c24397a - Browse repository at this point
Copy the full SHA c24397aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4d54a3 - Browse repository at this point
Copy the full SHA b4d54a3View commit details -
pythongh-98872: Fix a possible resource leak in Python 3.11.0 (python…
…GH-99047) Issue: python#98872 Automerge-Triggered-By: GH:kumaraditya303
Configuration menu - View commit details
-
Copy full SHA for 4e5f2db - Browse repository at this point
Copy the full SHA 4e5f2dbView commit details -
pythongh-94808: [coverage] Add an asynchronous generator test where t…
…he generator is already running (python#97672)
Configuration menu - View commit details
-
Copy full SHA for 5f4ae86 - Browse repository at this point
Copy the full SHA 5f4ae86View commit details -
pythongh-99708: fix bug where compiler crashes on if expression with …
…an empty body block (pythonGH-99732)
Configuration menu - View commit details
-
Copy full SHA for ae185fd - Browse repository at this point
Copy the full SHA ae185fdView commit details -
pythongh-64490: Fix refcount error when arguments are packed to tuple…
… in argument clinic (python#99233)
Configuration menu - View commit details
-
Copy full SHA for 69f6cc7 - Browse repository at this point
Copy the full SHA 69f6cc7View commit details -
pythongh-99240: Fix double-free bug in Argument Clinic str_converter …
…generated code (pythonGH-99241) Fix double-free bug mentioned at python#99240, by moving memory clean up out of "exit" label. Automerge-Triggered-By: GH:erlend-aasland
Configuration menu - View commit details
-
Copy full SHA for 8dbe08e - Browse repository at this point
Copy the full SHA 8dbe08eView commit details -
pythonGH-79033: Fix asyncio.Server.wait_closed() (python#98582)
It was a no-op when used as recommended (after close()). I had to debug one test (test__sock_sendfile_native_failure) -- the cleanup sequence for the test fixture was botched. Hopefully that's not a portend of problems in user code -- this has never worked so people may well be doing this wrong. :-( Co-authored-by: kumar aditya
Configuration menu - View commit details
-
Copy full SHA for 5d09d11 - Browse repository at this point
Copy the full SHA 5d09d11View commit details -
pythonGH-66285: skip asyncio fork tests for platforms without md5 hash (
python#99745) Such buildbots (at the time of writing, only "AMD64 RHEL8 FIPS Only Blake2 Builtin Hash 3.x") cannot use multiprocessing with a fork server, so just skip the test there.
Configuration menu - View commit details
-
Copy full SHA for 679d963 - Browse repository at this point
Copy the full SHA 679d963View commit details -
Fix rendering of audioop license in Doc/license.rst (pythonGH-99752)
Also some cosmetic blank line additions for consistency with the formatting of the rest of the file.
Configuration menu - View commit details
-
Copy full SHA for b5b3904 - Browse repository at this point
Copy the full SHA b5b3904View commit details -
Configuration menu - View commit details
-
Copy full SHA for 351842b - Browse repository at this point
Copy the full SHA 351842bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0da7283 - Browse repository at this point
Copy the full SHA 0da7283View commit details -
Revert "pythongh-98724: Fix Py_CLEAR() macro side effects" (python#99737
) Revert "pythongh-98724: Fix Py_CLEAR() macro side effects (python#99100)" This reverts commit c03e05c.
Configuration menu - View commit details
-
Copy full SHA for 3a803bc - Browse repository at this point
Copy the full SHA 3a803bcView commit details
Commits on Nov 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b1dcdef - Browse repository at this point
Copy the full SHA b1dcdefView commit details -
Configuration menu - View commit details
-
Copy full SHA for d386115 - Browse repository at this point
Copy the full SHA d386115View commit details -
pythongh-96168: Add sqlite3 row factory how-to (python#99507)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8749121 - Browse repository at this point
Copy the full SHA 8749121View commit details -
bpo-40882: Fix a memory leak in SharedMemory on Windows (pythonGH-20684)
In multiprocessing.shared_memory.SharedMemory(), the temporary view returned by MapViewOfFile() should be unmapped when it is no longer needed.
Configuration menu - View commit details
-
Copy full SHA for 85c128e - Browse repository at this point
Copy the full SHA 85c128eView commit details -
Fix typo on inline comment for email.generator (pythonGH-98210)
Trivial change to comment - no issue or new entry necessary
Configuration menu - View commit details
-
Copy full SHA for 5d4d831 - Browse repository at this point
Copy the full SHA 5d4d831View commit details -
pythongh-64019: Have attribute table in
inspect
docs link to module…… attributes instead of listing them (pythonGH-98116) Co-authored-by: Michael Anckaert <michael.anckaert@sinax.be>
Configuration menu - View commit details
-
Copy full SHA for 7d2dcc5 - Browse repository at this point
Copy the full SHA 7d2dcc5View commit details -
pythongh-99029: Fix handling of `PureWindowsPath('C:\<blah>').relativ…
…e_to('C:')` (pythonGH-99031) `relative_to()` now treats naked drive paths as relative. This brings its behaviour in line with other parts of pathlib, and with `ntpath.relpath()`, and so allows us to factor out the pathlib-specific implementation.
Configuration menu - View commit details
-
Copy full SHA for ae234fb - Browse repository at this point
Copy the full SHA ae234fbView commit details -
pythongh-98724: Fix warnings on Py_SETREF() usage (python#99781)
Cast argument to the expected type.
Configuration menu - View commit details
-
Copy full SHA for 5556d3e - Browse repository at this point
Copy the full SHA 5556d3eView commit details
Commits on Nov 26, 2022
-
Fix typo in
__match_args__
doc (python#99785)A opy of python#98549, whose author (@icecream17) uses a school computer that blocks the CLA site. I did not mention this in commit comment above so CLA bot does not pick up the name and request the CLA again.
Configuration menu - View commit details
-
Copy full SHA for a86d854 - Browse repository at this point
Copy the full SHA a86d854View commit details -
pythonGH-95896: posixmodule.c: fix osdefs.h inclusion to not depend o…
…n compiler (python#95897) Co-authored-by: Steve Dower <steve.dower@python.org>
Configuration menu - View commit details
-
Copy full SHA for ec2b76a - Browse repository at this point
Copy the full SHA ec2b76aView commit details -
pythongh-99502: mention bytes-like objects as input in `secrets.compa…
…re_digest` (pythonGH-99512) Now it is in sync with https://docs.python.org/3/library/hmac.html#hmac.compare_digest It is the same function, just re-exported. So, I guess they should mention the same input types.
Configuration menu - View commit details
-
Copy full SHA for 47d673d - Browse repository at this point
Copy the full SHA 47d673dView commit details -
pythongh-99086: Fix -Wstrict-prototypes, -Wimplicit-function-declarat…
…ion warnings in configure.ac (python#99406) Follow up to 12078e7.
Configuration menu - View commit details
-
Copy full SHA for e35ca41 - Browse repository at this point
Copy the full SHA e35ca41View commit details -
pythongh-97966: Restore prior expectation that uname_result._fields a…
…nd ._asdict would include the processor. (pythongh-98343)
Configuration menu - View commit details
-
Copy full SHA for dc063a2 - Browse repository at this point
Copy the full SHA dc063a2View commit details -
pythongh-98098: Create packages from zipfile and test_zipfile (python…
…gh-98103) * pythongh-98098: Move zipfile into a package. * Moved test_zipfile to a package * Extracted module for test_path. * Add blurb * Add jaraco as owner of zipfile.Path. * Synchronize with minor changes found at jaraco/zipp@d9e7f4352d.
Configuration menu - View commit details
-
Copy full SHA for 7796d31 - Browse repository at this point
Copy the full SHA 7796d31View commit details -
pythongh-91078: Return None from TarFile.next when the tarfile is emp…
…ty (pythonGH-91850) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 78365b8 - Browse repository at this point
Copy the full SHA 78365b8View commit details -
Fix zipfile packaging after pythonGH-98103 (pythonGH-99797)
* Add zipfile and test_zipfile to list of packages. Fixes regression introduced in python#98103. * Restore support for py -m test.test_zipfile
Configuration menu - View commit details
-
Copy full SHA for 003f341 - Browse repository at this point
Copy the full SHA 003f341View commit details -
pythongh-99795: Fix typo in importlib.resources.abc (pythonGH-99796)
Changing TraversableReader to TraversableResources at one place of the documentation. See python#99795 for more details.
Configuration menu - View commit details
-
Copy full SHA for 5f88982 - Browse repository at this point
Copy the full SHA 5f88982View commit details -
pythongh-98108: Add limited pickleability to zipfile.Path (pythonGH-9…
…8109) * pythongh-98098: Move zipfile into a package. * Moved test_zipfile to a package * Extracted module for test_path. * Add blurb * Add jaraco as owner of zipfile.Path. * Synchronize with minor changes found at jaraco/zipp@d9e7f4352d. * pythongh-98108: Sync with zipp 3.9.1 adding pickleability.
Configuration menu - View commit details
-
Copy full SHA for 93f22d3 - Browse repository at this point
Copy the full SHA 93f22d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f00574 - Browse repository at this point
Copy the full SHA 7f00574View commit details -
pythongh-89682: [doc] reword docstring of __contains__ to clarify tha…
…t it returns a bool (pythonGH-29043)
Configuration menu - View commit details
-
Copy full SHA for 25bc115 - Browse repository at this point
Copy the full SHA 25bc115View commit details -
Configuration menu - View commit details
-
Copy full SHA for 024ac54 - Browse repository at this point
Copy the full SHA 024ac54View commit details
Commits on Nov 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 191708c - Browse repository at this point
Copy the full SHA 191708cView commit details -
bpo-43327: Fix the docs for PyImport_ImportFrozenModuleObject() (pyth…
…on#24659) The docs stated that PyImport_ImportFrozenModuleObject() returns a new reference, but it actually returns an int. Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 62a5dc1 - Browse repository at this point
Copy the full SHA 62a5dc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22860db - Browse repository at this point
Copy the full SHA 22860dbView commit details -
pythongh-85988: Change documentation for sys.float_info.rounds (pytho…
…nGH-99675) * Change documentation for sys.float_info.rounds Change the documentation for sys.float_info.rounds to remove references to C99 section 5.2.4.2.2 and instead place the available values inline. * Correction to previous documentation change Newlines were not preserved in generated HTML on previous commit. I have changes the list to a comma-separated list of values and their meanings. * Clarify source for value of FLT_ROUNDS Clarify the source of the FLT_ROUNDS value and change 'floating-point addition' to 'floating-point arithmetic' to indicate that the rounding mode applies to all arithmetic operations.
Configuration menu - View commit details
-
Copy full SHA for 6562939 - Browse repository at this point
Copy the full SHA 6562939View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c9f085 - Browse repository at this point
Copy the full SHA 9c9f085View commit details -
pythonGH-87235: Make sure "python /dev/fd/9 9</path/to/script.py" wor…
…ks on macOS (python#99768) On macOS all file descriptors for a particular file in /dev/fd share the same file offset, that is ``open("/dev/fd/9", "r")`` behaves more like ``dup(9)`` than a regular open. This causes problems when a user tries to run "/dev/fd/9" as a script because zipimport changes the file offset to try to read a zipfile directory. Therefore change zipimport to reset the file offset after trying to read the zipfile directory.
Configuration menu - View commit details
-
Copy full SHA for d08fb25 - Browse repository at this point
Copy the full SHA d08fb25View commit details -
pythongh-99815: remove unused 'invalid' sentinel value and code that …
…checks for it in inspect.signature parsing (pythonGH-21104)
Configuration menu - View commit details
-
Copy full SHA for ac115b5 - Browse repository at this point
Copy the full SHA ac115b5View commit details -
pythongh-99677: Deduplicate self-type in
mro
in `inspect._getmember……s` (python#99678) Closes python#99677
Configuration menu - View commit details
-
Copy full SHA for 2653b82 - Browse repository at this point
Copy the full SHA 2653b82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 969620d - Browse repository at this point
Copy the full SHA 969620dView commit details -
pythongh-91340: Document multiprocessing.set_start_method force param…
…eter (pythonGH-32339) python#91340 https://bugs.python.org/issue47184 Automerge-Triggered-By: GH:kumaraditya303
Configuration menu - View commit details
-
Copy full SHA for dfc2732 - Browse repository at this point
Copy the full SHA dfc2732View commit details -
Configuration menu - View commit details
-
Copy full SHA for 276643e - Browse repository at this point
Copy the full SHA 276643eView commit details
Commits on Nov 28, 2022
-
pythongh-51524: Fix bug when calling trace.CoverageResults with valid…
… infile (python#99629) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Configuration menu - View commit details
-
Copy full SHA for 594de16 - Browse repository at this point
Copy the full SHA 594de16View commit details -
pythongh-99249: Clarify "read-only" slots tp_bases & tp_mro (pythonGH…
…-99342) These slots are marked "should be treated as read-only" in the table at the start of the document. That doesn't say anything about setting them in the static struct. `tp_bases` docs did say that it should be ``NULL`` (TIL!). If you ignore that, seemingly nothing bad happens. However, some slots may not be inherited, depending on which sub-slot structs are present. (FWIW, NumPy sets tp_bases and is affected by the quirk -- though to be fair, its DUAL_INHERIT code probably predates tp_bases docs, and also the result happens to be benign.) This patch makes things explicit. It also makes the summary table legend easier to scan. Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 219696a - Browse repository at this point
Copy the full SHA 219696aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 492dc02 - Browse repository at this point
Copy the full SHA 492dc02View commit details -
bpo-31718: Fix io.IncrementalNewlineDecoder SystemErrors and segfaults (
python#18640) Co-authored-by: Oren Milman <orenmn@gmail.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 53eef27 - Browse repository at this point
Copy the full SHA 53eef27View commit details -
pythongh-89653: PEP 670: Convert macros to functions (python#99843)
Convert macros to static inline functions to avoid macro pitfalls, like duplication of side effects: * DK_ENTRIES() * DK_UNICODE_ENTRIES() * PyCode_GetNumFree() * PyFloat_AS_DOUBLE() * PyInstanceMethod_GET_FUNCTION() * PyMemoryView_GET_BASE() * PyMemoryView_GET_BUFFER() * PyMethod_GET_FUNCTION() * PyMethod_GET_SELF() * PySet_GET_SIZE() * _PyHeapType_GET_MEMBERS() Changes: * PyCode_GetNumFree() casts PyCode_GetNumFree.co_nfreevars from int to Py_ssize_t to be future proof, and because Py_ssize_t is commonly used in the C API. * PyCode_GetNumFree() doesn't cast its argument: the replaced macro already required the exact type PyCodeObject*. * Add assertions in some functions using "CAST" macros to check the arguments type when Python is built with assertions (debug build). * Remove an outdated comment in unicodeobject.h.
Configuration menu - View commit details
-
Copy full SHA for 02f72b8 - Browse repository at this point
Copy the full SHA 02f72b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6541798 - Browse repository at this point
Copy the full SHA 6541798View commit details -
Use _Py_RVALUE() in macros (python#99844)
The following macros are modified to use _Py_RVALUE(), so they can no longer be used as l-value: * DK_LOG_SIZE() * _PyCode_CODE() * _PyList_ITEMS() * _PyTuple_ITEMS() * _Py_SLIST_HEAD() * _Py_SLIST_ITEM_NEXT() _PyCode_CODE() is private and other macros are part of the internal C API.
Configuration menu - View commit details
-
Copy full SHA for 7bae15c - Browse repository at this point
Copy the full SHA 7bae15cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca3e611 - Browse repository at this point
Copy the full SHA ca3e611View commit details -
pythongh-99811: Use correct variable to search for time in format str…
…ing (pythonGH-99812) Use correct variable to search for asctime
Configuration menu - View commit details
-
Copy full SHA for 1d1bb95 - Browse repository at this point
Copy the full SHA 1d1bb95View commit details
Commits on Nov 29, 2022
-
pythongh-99344, pythongh-99379, pythongh-99382: Fix issues in substit…
…ution of ParamSpec and TypeVarTuple (pythonGH-99412) * Fix substitution of TypeVarTuple and ParamSpec together in user generics. * Fix substitution of ParamSpec followed by TypeVarTuple in generic aliases. * Check the number of arguments in substitution in user generics containing a TypeVarTuple and one or more TypeVar.
Configuration menu - View commit details
-
Copy full SHA for 8f2fb7d - Browse repository at this point
Copy the full SHA 8f2fb7dView commit details -
pythongh-99593: Add tests for Unicode C API (part 1) (pythonGH-99651)
Add tests for functions corresponding to the str class methods.
Configuration menu - View commit details
-
Copy full SHA for deaa8de - Browse repository at this point
Copy the full SHA deaa8deView commit details -
pythonGH-91375: Port
_asyncio
static types to heap types and module…… state (python#99122) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4cfc1b8 - Browse repository at this point
Copy the full SHA 4cfc1b8View commit details -
pythongh-99845: Change _PyDict_KeysSize() return type to size_t (pyth…
…on#99848) * Change _PyDict_KeysSize() and shared_keys_usable_size() return type from signed (Py_ssize_t) to unsigned (size_t) type. * new_values() argument type is now unsigned (size_t). * init_inline_values() now uses size_t rather than int for the 'i' iterator variable. * type.__sizeof__() implementation now uses unsigned (size_t) type.
Configuration menu - View commit details
-
Copy full SHA for 4246fe9 - Browse repository at this point
Copy the full SHA 4246fe9View commit details -
pythongh-99845: Clean up _PyObject_VAR_SIZE() usage (python#99847)
* code_sizeof() now uses an unsigned type (size_t) to compute the result. * Fix _PyObject_ComputedDictPointer(): cast _PyObject_VAR_SIZE() to Py_ssize_t, rather than long: it's a different type on 64-bit Windows. * Clarify that _PyObject_VAR_SIZE() uses an unsigned type (size_t).
Configuration menu - View commit details
-
Copy full SHA for 74d5f61 - Browse repository at this point
Copy the full SHA 74d5f61View commit details -
pythongh-90717: Update the documentation for the altchars paremeter i…
…n base64 library (pythonGH-94187)
Configuration menu - View commit details
-
Copy full SHA for 05dfc53 - Browse repository at this point
Copy the full SHA 05dfc53View commit details -
whatsnew-3.10: Mention PEP 647 in the Release highlights section. (py…
…thon#99853) Mention PEP 647 in the Release highlights section. Also re-ordered the list so it matches the order in the details sections below.
Configuration menu - View commit details
-
Copy full SHA for d74a588 - Browse repository at this point
Copy the full SHA d74a588View commit details -
Configuration menu - View commit details
-
Copy full SHA for 052bc12 - Browse repository at this point
Copy the full SHA 052bc12View commit details -
pythongh-82836: fix private network check (python#97733)
Fixes private checks for network objects. The previous method would incorrectly return True for a private check in cases such as "0.0.0.0/0".
Configuration menu - View commit details
-
Copy full SHA for ed39109 - Browse repository at this point
Copy the full SHA ed39109View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bb2303 - Browse repository at this point
Copy the full SHA 8bb2303View commit details
Commits on Nov 30, 2022
-
pythongh-98253: Break potential reference cycles in external code wor…
…sened by typing.py lru_cache (python#98591)
Configuration menu - View commit details
-
Copy full SHA for c314198 - Browse repository at this point
Copy the full SHA c314198View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59665d0 - Browse repository at this point
Copy the full SHA 59665d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe17d35 - Browse repository at this point
Copy the full SHA fe17d35View commit details -
pythongh-99824: Document that sqlite3.connect implicitly open a trans…
…action if autocommit=False (python#99825) Authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Configuration menu - View commit details
-
Copy full SHA for 19c3880 - Browse repository at this point
Copy the full SHA 19c3880View commit details -
pythongh-99891: Fix infinite recursion in the tokenizer when showing …
…warnings (pythonGH-99893) Automerge-Triggered-By: GH:pablogsal
Configuration menu - View commit details
-
Copy full SHA for 417206a - Browse repository at this point
Copy the full SHA 417206aView commit details -
pythongh-87092: move all localsplus preparation into separate functio…
…n called from assembler stage (pythonGH-99869)
Configuration menu - View commit details
-
Copy full SHA for ac12e39 - Browse repository at this point
Copy the full SHA ac12e39View commit details -
Configuration menu - View commit details
-
Copy full SHA for a694b82 - Browse repository at this point
Copy the full SHA a694b82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18a6967 - Browse repository at this point
Copy the full SHA 18a6967View commit details -
pythongh-99845: Use size_t type in __sizeof__() methods (python#99846)
The implementation of __sizeof__() methods using _PyObject_SIZE() now use an unsigned type (size_t) to compute the size, rather than a signed type (Py_ssize_t). Cast explicitly signed (Py_ssize_t) values to unsigned type (Py_ssize_t).
Configuration menu - View commit details
-
Copy full SHA for 85dd6cb - Browse repository at this point
Copy the full SHA 85dd6cbView commit details -
pythongh-99845: PEP 670: Convert PyObject macros to functions (python…
…#99850) Convert macros to static inline functions to avoid macro pitfalls, like duplication of side effects: * _PyObject_SIZE() * _PyObject_VAR_SIZE() The result type is size_t (unsigned).
Configuration menu - View commit details
-
Copy full SHA for 131801d - Browse repository at this point
Copy the full SHA 131801dView commit details -
pythonGH-99905: Fix output of misses in summarize_stats.py execution …
…counts (pythonGH-99906) This was an indentation error introduced in 2844aa6
Configuration menu - View commit details
-
Copy full SHA for bf94c65 - Browse repository at this point
Copy the full SHA bf94c65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9628136 - Browse repository at this point
Copy the full SHA 9628136View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7877642 - Browse repository at this point
Copy the full SHA 7877642View commit details -
pythonGH-98906
re
module:search() vs. match()
section sh……ould mention ```fullmatch()``` (pythonGH-98916) Mention fullmatch along with search and match.
Configuration menu - View commit details
-
Copy full SHA for e0f91de - Browse repository at this point
Copy the full SHA e0f91deView commit details
Commits on Dec 1, 2022
-
Doc: Add summary line to isolation_level & autocommit sqlite3.connect…
… params (python#99917) Add summary lines to isolation_level and autocommit connect() params Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d460c8e - Browse repository at this point
Copy the full SHA d460c8eView commit details -
pythongh-99612: Fix PyUnicode_DecodeUTF8Stateful() for ASCII-only data (
pythonGH-99613) Previously *consumed was not set in this case.
Configuration menu - View commit details
-
Copy full SHA for f08e52c - Browse repository at this point
Copy the full SHA f08e52cView commit details -
pythongh-99894: Ensure the local names don't collide with the test fi…
…le in traceback suggestion error checking (python#99895) Co-authored-by: Victor Stinner <vstinner@python.org>
Configuration menu - View commit details
-
Copy full SHA for 0563be2 - Browse repository at this point
Copy the full SHA 0563be2View commit details
Commits on Dec 2, 2022
-
pythonGH-91054: Add code object watchers API (pythonGH-99859)
* Add API to allow extensions to set callback function on creation and destruction of PyCodeObject Co-authored-by: Ye11ow-Flash <janshah@cs.stonybrook.edu>
Configuration menu - View commit details
-
Copy full SHA for 3c137dc - Browse repository at this point
Copy the full SHA 3c137dcView commit details -
pythongh-99741: Fix the Cross-Interpreter Data API (pythongh-99939)
There were some minor issues that showed up while I was working on porting _xxsubinterpreters to multi-phase init. This fixes them. python#99741
Configuration menu - View commit details
-
Copy full SHA for b4f3505 - Browse repository at this point
Copy the full SHA b4f3505View commit details -
pythongh-99955: standardize return values of functions in assembler a…
…nd optimizer. (python#99956)
Configuration menu - View commit details
-
Copy full SHA for ab02262 - Browse repository at this point
Copy the full SHA ab02262View commit details -
pythongh-99741: Clean Up the _xxsubinterpreters Module (pythongh-99940)
This cleanup up resolves a few subtle bugs and makes the implementation for multi-phase init much cleaner. python#99741
Configuration menu - View commit details
-
Copy full SHA for 0547a98 - Browse repository at this point
Copy the full SHA 0547a98View commit details
Commits on Dec 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for acf9184 - Browse repository at this point
Copy the full SHA acf9184View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee60156 - Browse repository at this point
Copy the full SHA ee60156View commit details -
pythongh-99934: test_marshal.py: add more elements in test_determinis…
…tic_sets (pythonGH-99935) Existing elements do produce different output on x86_64, but they do not on x86. Let's make the data longer to ensure it differs.
Configuration menu - View commit details
-
Copy full SHA for c68573b - Browse repository at this point
Copy the full SHA c68573bView commit details -
bpo-15999: Accept arbitrary values for boolean parameters. (python#15609
Configuration menu - View commit details
-
Copy full SHA for a87c46e - Browse repository at this point
Copy the full SHA a87c46eView commit details
Commits on Dec 4, 2022
-
pythongh-85747: "Preface" section of asyncio-eventloop.rst: Switch to…
… active voice and suggest other edits (python#99784)
Configuration menu - View commit details
-
Copy full SHA for bf26bdf - Browse repository at this point
Copy the full SHA bf26bdfView commit details -
pythongh-60203: Always pass True/False as boolean arguments in tests (p…
…ythonGH-99983) Unless we explicitly test non-bool values.
Configuration menu - View commit details
-
Copy full SHA for 76f43fc - Browse repository at this point
Copy the full SHA 76f43fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1012dc1 - Browse repository at this point
Copy the full SHA 1012dc1View commit details -
pythongh-98458: unittest: bugfix for infinite loop while handling cha…
…ined exceptions that contain cycles (python#98459) * Bugfix addressing infinite loop while handling self-referencing chained exception in TestResult._clean_tracebacks() * Bugfix extended to properly handle exception cycles in _clean_tracebacks. The "seen" set follows the approach used in the TracebackException class (thank you @iritkatriel for pointing it out) * adds a test for a single chained exception that holds a self-loop in its __cause__ and __context__ attributes
Configuration menu - View commit details
-
Copy full SHA for 72ec518 - Browse repository at this point
Copy the full SHA 72ec518View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ae894b - Browse repository at this point
Copy the full SHA 2ae894bView commit details -
pythongh-98248: Normalizing the error messages in function struct.pack (
pythonGH-98252) Provide consistent and informative error messages in function struct.pack when its integral arguments are not in range.
Configuration menu - View commit details
-
Copy full SHA for 854a878 - Browse repository at this point
Copy the full SHA 854a878View commit details
Commits on Dec 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bdc93b8 - Browse repository at this point
Copy the full SHA bdc93b8View commit details -
pythongh-93464: [Enum] Add versionchanged tag (python#99997)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Configuration menu - View commit details
-
Copy full SHA for e3a3863 - Browse repository at this point
Copy the full SHA e3a3863View commit details -
pythongh-100005: Skip test_script_as_dev_fd() on FreeBSD (python#100006)
On FreeBSD, skip test_script_as_dev_fd() of test_cmd_line_script if fdescfs is not mounted (at /dev/fd).
Configuration menu - View commit details
-
Copy full SHA for 038b151 - Browse repository at this point
Copy the full SHA 038b151View commit details -
pythongh-100008: Document Python build requirements (python#100009)
Document also configure --without-freelists option added to Python 3.11.
Configuration menu - View commit details
-
Copy full SHA for 5ea052b - Browse repository at this point
Copy the full SHA 5ea052bView commit details -
pythongh-99892: test_unicodedata: skip test on download failure (pyth…
…on#100011) Skip test_normalization() of test_unicodedata if it fails to download NormalizationTest.txt file from pythontest.net.
Configuration menu - View commit details
-
Copy full SHA for 2488c1e - Browse repository at this point
Copy the full SHA 2488c1eView commit details -
pythongh-60203: Revert changes in cycle.__setstate__ (python#99982)
In case if only True/False be supported as boolean arguments in future, we should continue to support 1/0 here.
Configuration menu - View commit details
-
Copy full SHA for 922a6cf - Browse repository at this point
Copy the full SHA 922a6cfView commit details -
pythongh-98680: Add PyBUF_* constants to the Limited API listing (pyt…
…honGH-100018) ``PyBUF_*`` constants are marked as part of Limited API of Python 3.11+. These were available in 3.11.0 with `Py_LIMITED_API` defined for 3.11, and are necessary to use the buffer API. Omitting them in `stable_abi.toml` was a mistake.
Configuration menu - View commit details
-
Copy full SHA for f247387 - Browse repository at this point
Copy the full SHA f247387View commit details -
Configuration menu - View commit details
-
Copy full SHA for 124ecd6 - Browse repository at this point
Copy the full SHA 124ecd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51ee0a2 - Browse repository at this point
Copy the full SHA 51ee0a2View commit details -
pythongh-99741: Implement Multi-Phase Init for the _xxsubinterpreters…
… Module (pythongh-99742) _xxsubinterpreters is an internal module used for testing. python#99741
Configuration menu - View commit details
-
Copy full SHA for 530cc9d - Browse repository at this point
Copy the full SHA 530cc9dView commit details -
pythongh-100001: Omit control characters in http.server stderr logs. (p…
…ython#100002) Replace control characters in http.server.BaseHTTPRequestHandler.log_message with an escaped \xHH sequence to avoid causing problems for the terminal the output is printed to.
Configuration menu - View commit details
-
Copy full SHA for d8ab0a4 - Browse repository at this point
Copy the full SHA d8ab0a4View commit details -
Use sphinxext-opengraph to generate OpenGraph metadata (python#99931)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Configuration menu - View commit details
-
Copy full SHA for f49c735 - Browse repository at this point
Copy the full SHA f49c735View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9e63ad - Browse repository at this point
Copy the full SHA e9e63adView commit details -
pythongh-100001: Also escape \s in http.server log messages. (python#…
…100038) Also \ escape \s in the http.server BaseHTTPRequestHandler.log_message so that it is technically possible to parse the line and reconstruct what the original data was. Without this a \xHH is ambiguious as to if it is a hex replacement we put in or the characters r"\x" came through in the original request line.
Configuration menu - View commit details
-
Copy full SHA for 7e29398 - Browse repository at this point
Copy the full SHA 7e29398View commit details -
pythongh-100001: Remove doc typo, add versionadded (python#100042)
pythongh-100001: Remove new doc typo, add versionadded.
Configuration menu - View commit details
-
Copy full SHA for bed15f8 - Browse repository at this point
Copy the full SHA bed15f8View commit details
Commits on Dec 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5c19050 - Browse repository at this point
Copy the full SHA 5c19050View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dc787e - Browse repository at this point
Copy the full SHA 9dc787eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5837e5f - Browse repository at this point
Copy the full SHA 5837e5fView commit details -
bpo-37860: re-add netlify.toml to set up deploy previews for docs (py…
…thon#92852) * Revert "bpo-46184: remove `netlify.toml` (python#30272)" This reverts commit fbaf2e6. * Delete runtime.txt * Create runtime.txt * Delete runtime.txt * Update netlify.toml * Update netlify.toml * Add netlify badge * Update Doc/tools/templates/layout.html Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * Update layout.html Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 85d5a7e - Browse repository at this point
Copy the full SHA 85d5a7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b72014c - Browse repository at this point
Copy the full SHA b72014cView commit details -
pythongh-93453: No longer create an event loop in get_event_loop() (p…
…ython#98440) asyncio.get_event_loop() now always return either running event loop or the result of get_event_loop_policy().get_event_loop() call. The latter should now raise an RuntimeError if no current event loop was set instead of creating and setting a new event loop. It affects also a number of asyncio functions and constructors which call get_event_loop() implicitly: ensure_future(), shield(), gather(), etc. DeprecationWarning is no longer emitted if there is no running event loop but the current event loop was set. Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Configuration menu - View commit details
-
Copy full SHA for fd38a2f - Browse repository at this point
Copy the full SHA fd38a2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6bd7ff - Browse repository at this point
Copy the full SHA b6bd7ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5da5aa4 - Browse repository at this point
Copy the full SHA 5da5aa4View commit details -
pythongh-94943: [Enum] improve repr() when inheriting from a dataclass (
pythonGH-99740) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Configuration menu - View commit details
-
Copy full SHA for 679efbb - Browse repository at this point
Copy the full SHA 679efbbView commit details -
PyUnicode_KIND() uses _Py_RVALUE() (python#100060)
The PyUnicode_KIND() macro is modified to use _Py_RVALUE(), so it can no longer be used as a l-value.
Configuration menu - View commit details
-
Copy full SHA for abbe448 - Browse repository at this point
Copy the full SHA abbe448View commit details -
pythongh-100050: Fix an assertion error when raising unclosed parenth…
…esis errors in the tokenizer (pythonGH-100065) Automerge-Triggered-By: GH:pablogsal
Configuration menu - View commit details
-
Copy full SHA for 97e7004 - Browse repository at this point
Copy the full SHA 97e7004View commit details
Commits on Dec 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 889b0b9 - Browse repository at this point
Copy the full SHA 889b0b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7031275 - Browse repository at this point
Copy the full SHA 7031275View commit details -
pythongh-98724: Fix Py_CLEAR() macro side effects (python#99100) (pyt…
…hon#100070) The Py_CLEAR(), Py_SETREF() and Py_XSETREF() macros now only evaluate their arguments once. If an argument has side effects, these side effects are no longer duplicated. Use temporary variables to avoid duplicating side effects of macro arguments. If available, use _Py_TYPEOF() to avoid type punning. Otherwise, use memcpy() for the assignment to prevent a miscompilation with strict aliasing caused by type punning. Add _Py_TYPEOF() macro: __typeof__() on GCC and clang. Add test_py_clear() and test_py_setref() unit tests to _testcapi.
Configuration menu - View commit details
-
Copy full SHA for b11a384 - Browse repository at this point
Copy the full SHA b11a384View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68e4129 - Browse repository at this point
Copy the full SHA 68e4129View commit details -
pythongh-100077: make test_code.test_invalid_bytecode more robust and…
… maintainable (python#100078)
Configuration menu - View commit details
-
Copy full SHA for f3e97c9 - Browse repository at this point
Copy the full SHA f3e97c9View commit details -
pythongh-100072: only trigger netlify builds for doc changes (python#…
…100074) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d92407e - Browse repository at this point
Copy the full SHA d92407eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d47ffeb - Browse repository at this point
Copy the full SHA d47ffebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91a8e00 - Browse repository at this point
Copy the full SHA 91a8e00View commit details
Commits on Dec 8, 2022
-
pythongh-100086: Add build info to test.libregrtest (python#100093)
The Python test runner (libregrtest) now logs Python build information like "debug" vs "release" build, or LTO and PGO optimizations.
Configuration menu - View commit details
-
Copy full SHA for 3c89202 - Browse repository at this point
Copy the full SHA 3c89202View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc8a868 - Browse repository at this point
Copy the full SHA dc8a868View commit details -
pythongh-92120: The docstring of enum.Enum is invalid in reST (python…
…GH-92122) Closes python#92120
Configuration menu - View commit details
-
Copy full SHA for 90d5c9b - Browse repository at this point
Copy the full SHA 90d5c9bView commit details -
pythongh-98030: socket: add missing TCP socket options (python#98031)
A few TCP socket options have been added to the Linux kernel these last few years. This commit adds all the ones available in Linux 6.0: https://elixir.bootlin.com/linux/v6.0/source/include/uapi/linux/tcp.h#L91 While at it, the TCP_FASTOPEN option has been moved lower in the list just to keep the same order as in tcp.h to ease future synchronisations. Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Configuration menu - View commit details
-
Copy full SHA for cce8362 - Browse repository at this point
Copy the full SHA cce8362View commit details -
pythongh-100098: [Enum] insist on actual tuples, no subclasses, for a…
…uto (pythonGH-100099) When checking for auto() instances, only top-level usage is supported, which means either alone or as part of a regular tuple. Other containers, such as lists, dicts, or namedtuples, will not have auto() transformed into a value.
Configuration menu - View commit details
-
Copy full SHA for ded02ca - Browse repository at this point
Copy the full SHA ded02caView commit details -
Fix
test_run_until_complete_baseexception
test to check for `Keyboa……rdInterrupt` in asyncio (python#24477)
Configuration menu - View commit details
-
Copy full SHA for e8fff51 - Browse repository at this point
Copy the full SHA e8fff51View commit details -
test_ast uses infinite_recursion() to prevent crash (python#100104)
test.test_ast_recursion_limit() now uses infinite_recursion() of test.support to prevent crashes on debug builds. Before this change, the test crashed on ARM64 Windows 3.x buildbot worker which builds Python in debug mode.
Configuration menu - View commit details
-
Copy full SHA for cd67c1b - Browse repository at this point
Copy the full SHA cd67c1bView commit details -
pythongh-96250: Improve sqlite3 injection attack example (python#99270)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for 41d4ac9 - Browse repository at this point
Copy the full SHA 41d4ac9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35cc0ea - Browse repository at this point
Copy the full SHA 35cc0eaView commit details -
pythonGH-98831: Typed stack effects, and more instructions converted (p…
…ython#99764) Stack effects can now have a type, e.g. `inst(X, (left, right -- jump/uint64_t)) { ... }`. Instructions converted to the non-legacy format: * COMPARE_OP * COMPARE_OP_FLOAT_JUMP * COMPARE_OP_INT_JUMP * COMPARE_OP_STR_JUMP * STORE_ATTR * DELETE_ATTR * STORE_GLOBAL * STORE_ATTR_INSTANCE_VALUE * STORE_ATTR_WITH_HINT * STORE_ATTR_SLOT, and complete the store_attr family * Complete the store_subscr family: STORE_SUBSCR{,DICT,LIST_INT} (STORE_SUBSCR was alread half converted, but wasn't using cache effects yet.) * DELETE_SUBSCR * PRINT_EXPR * INTERPRETER_EXIT (a bit weird, ends in return) * RETURN_VALUE * GET_AITER (had to restructure it some) The original had mysterious `SET_TOP(NULL)` before `goto error`. I assume those just account for `obj` having been decref'ed, so I got rid of them in favor of the cleanup implied by `ERROR_IF()`. * LIST_APPEND (a bit unhappy with it) * SET_ADD (also a bit unhappy with it) Various other improvements/refactorings as well.
Configuration menu - View commit details
-
Copy full SHA for c85be73 - Browse repository at this point
Copy the full SHA c85be73View commit details -
Configuration menu - View commit details
-
Copy full SHA for cda9f02 - Browse repository at this point
Copy the full SHA cda9f02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a3f06c - Browse repository at this point
Copy the full SHA 8a3f06cView commit details -
pythonGH-98831: Generate things in the input order (python#100123)
This makes it easier to see what changed in the generated code when converting an instruction to super or macro.
Configuration menu - View commit details
-
Copy full SHA for 1cfa704 - Browse repository at this point
Copy the full SHA 1cfa704View commit details
Commits on Dec 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bc8cdf8 - Browse repository at this point
Copy the full SHA bc8cdf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1160001 - Browse repository at this point
Copy the full SHA 1160001View commit details -
pythongh-81057: Fix an ifdef in the time module (python#100125)
An earlier commit only defined check_ticks_per_second() when HAVE_TIMES is defined. However, we also need it when HAVE_CLOCK is defined. This primarily affects Windows. python#81057
Configuration menu - View commit details
-
Copy full SHA for 3e06b50 - Browse repository at this point
Copy the full SHA 3e06b50View commit details -
pythongh-99087: Add missing newline for prompts in docs (pythonGH-98993)
Add newline for prompts so copying to REPL does not cause errors.
Configuration menu - View commit details
-
Copy full SHA for 286e3c7 - Browse repository at this point
Copy the full SHA 286e3c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0448dea - Browse repository at this point
Copy the full SHA 0448deaView commit details -
pythonGH-100110: Specialize FOR_ITER for tuples (pythonGH-100109)
* Specialize FOR_ITER for tuples
Configuration menu - View commit details
-
Copy full SHA for 748c6c0 - Browse repository at this point
Copy the full SHA 748c6c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c53554 - Browse repository at this point
Copy the full SHA 3c53554View commit details -
pythonGH-98522: Add version number to code objects. (pythonGH-98525)
* Add version number to code object for better versioning of functions. * Improves specialization for closures and list comprehensions.
Configuration menu - View commit details
-
Copy full SHA for fb713b2 - Browse repository at this point
Copy the full SHA fb713b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a29a7b9 - Browse repository at this point
Copy the full SHA a29a7b9View commit details -
bpo-44512: Fix handling of extrasactions arg to csv.DictWriter with m…
…ixed or upper case (python#26924)
Configuration menu - View commit details
-
Copy full SHA for d0679c1 - Browse repository at this point
Copy the full SHA d0679c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c21546 - Browse repository at this point
Copy the full SHA 8c21546View commit details -
pythongh-81057: Fix the wasm32-wasi Buildbot (pythongh-100139)
The build was broken by pythongh-100084. python#81057
Configuration menu - View commit details
-
Copy full SHA for 8d0bd93 - Browse repository at this point
Copy the full SHA 8d0bd93View commit details -
pythongh-81057: Fix a Reference Leak in the posix Module (pythongh-10…
…0140) The leak was introduced in pythongh-100082. python#81057
Configuration menu - View commit details
-
Copy full SHA for 7a0f3c1 - Browse repository at this point
Copy the full SHA 7a0f3c1View commit details
Commits on Dec 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7c0fb71 - Browse repository at this point
Copy the full SHA 7c0fb71View commit details -
pythongh-99582: freeze
zipimport
into_bootstrap_python
(python#9……9583) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 228c92e - Browse repository at this point
Copy the full SHA 228c92eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50b08d5 - Browse repository at this point
Copy the full SHA 50b08d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f28e537 - Browse repository at this point
Copy the full SHA f28e537View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9bad4d - Browse repository at this point
Copy the full SHA a9bad4dView commit details -
pythongh-99970 Adding missing
optionflags
parameter in the document……ation of `doctest` (python#99971)
Configuration menu - View commit details
-
Copy full SHA for e477348 - Browse repository at this point
Copy the full SHA e477348View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5f8a2b - Browse repository at this point
Copy the full SHA d5f8a2bView commit details -
pythongh-99941: Ensure that asyncio.Protocol.data_received receives i…
…mmutable bytes (python#100053)
Configuration menu - View commit details
-
Copy full SHA for 1bb68ba - Browse repository at this point
Copy the full SHA 1bb68baView commit details
Commits on Dec 11, 2022
-
pythongh-88500: Reduce memory use of
urllib.unquote
(python#96763)`urllib.unquote_to_bytes` and `urllib.unquote` could both potentially generate `O(len(string))` intermediate `bytes` or `str` objects while computing the unquoted final result depending on the input provided. As Python objects are relatively large, this could consume a lot of ram. This switches the implementation to using an expanding `bytearray` and a generator internally instead of precomputed `split()` style operations. Microbenchmarks with some antagonistic inputs like `mess = "\u0141%%%20a%fe"*1000` show this is 10-20% slower for unquote and unquote_to_bytes and no different for typical inputs that are short or lack much unicode or % escaping. But the functions are already quite fast anyways so not a big deal. The slowdown scales consistently linear with input size as expected. Memory usage observed manually using `/usr/bin/time -v` on `python -m timeit` runs of larger inputs. Unittesting memory consumption is difficult and does not seem worthwhile. Observed memory usage is ~1/2 for `unquote()` and <1/3 for `unquote_to_bytes()` using `python -m timeit -s 'from urllib.parse import unquote, unquote_to_bytes; v="\u0141%01\u0161%20"*500_000' 'unquote_to_bytes(v)'` as a test.
Configuration menu - View commit details
-
Copy full SHA for 2e279e8 - Browse repository at this point
Copy the full SHA 2e279e8View commit details -
pythongh-100174: [Enum] Correct PowersOfThree example. (pythonGH-100178)
Changed from multiples of 3 to powers of 3 to match the class name.
Configuration menu - View commit details
-
Copy full SHA for 868bab0 - Browse repository at this point
Copy the full SHA 868bab0View commit details -
pythongh-99688: Fix outdated tests in test_unary (python#99712)
* Remove duplicates from "L" suffix removal * test_invert now tests `~`.
Configuration menu - View commit details
-
Copy full SHA for 54289f8 - Browse repository at this point
Copy the full SHA 54289f8View commit details
Commits on Dec 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 70be5e4 - Browse repository at this point
Copy the full SHA 70be5e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 935ef59 - Browse repository at this point
Copy the full SHA 935ef59View commit details -
pythongh-100176: remove incorrect version compatibility check from ar…
…gument clinic (python#100190)
Configuration menu - View commit details
-
Copy full SHA for 621a179 - Browse repository at this point
Copy the full SHA 621a179View commit details -
pythongh-96715 Remove redundant NULL check in
profile_trampoline
fu……nction (python#96716) Closes python#96715
Configuration menu - View commit details
-
Copy full SHA for 3221b0d - Browse repository at this point
Copy the full SHA 3221b0dView commit details -
Fix: typo (Indention) (pythonGH-99904)
Example needed to be indented. Was trying to call a context manger `pr` (from ` with cProfile.Profile() as pr:`) wot perform ` pr.print_stats()` once it had already exited. Automerge-Triggered-By: GH:AlexWaygood
Configuration menu - View commit details
-
Copy full SHA for 8711b59 - Browse repository at this point
Copy the full SHA 8711b59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 158b8a0 - Browse repository at this point
Copy the full SHA 158b8a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4ea33b - Browse repository at this point
Copy the full SHA e4ea33bView commit details -
pythonGH-100143: Improve collecting pystats for parts of runs (python…
…GH-100144) * pystats off by default * Add -Xpystats flag * Always dump pystats, even if turned off
Configuration menu - View commit details
-
Copy full SHA for 1583c6e - Browse repository at this point
Copy the full SHA 1583c6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8790d4d - Browse repository at this point
Copy the full SHA 8790d4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53d9cd9 - Browse repository at this point
Copy the full SHA 53d9cd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5eb28bc - Browse repository at this point
Copy the full SHA 5eb28bcView commit details -
pythongh-81057: Move _Py_RefTotal to the "Ignored Globals" List (pyth…
…ongh-100203) We can't move it to _PyRuntimeState because the symbol is exposed in the stable ABI. We'll have to sort that out before a per-interpreter GIL, but it shouldn't be too hard. python#81057
Configuration menu - View commit details
-
Copy full SHA for 0e081a0 - Browse repository at this point
Copy the full SHA 0e081a0View commit details
Commits on Dec 13, 2022
-
pythonGH-100206: use versionadded for the addition of sysconfig.get_d…
…efault_scheme (python#100207)
Configuration menu - View commit details
-
Copy full SHA for d3ea82a - Browse repository at this point
Copy the full SHA d3ea82aView commit details -
pythongh-99955: undef ERROR and SUCCESS before redefining (fixes sani…
…tizer warning) (python#100215)
Configuration menu - View commit details
-
Copy full SHA for 985a710 - Browse repository at this point
Copy the full SHA 985a710View commit details
Commits on Dec 14, 2022
-
pythonGH-100222: Redefine _Py_CODEUNIT as a union to clarify structur…
…e of code unit. (pythonGH-100223)
Configuration menu - View commit details
-
Copy full SHA for 6997e77 - Browse repository at this point
Copy the full SHA 6997e77View commit details -
pythongh-100176: venv: Remove redundant compat code for Python <= 3.2 (…
…python#100177) pythongh-100176: Remove redundant compat code for Python 3.2 and older Python 3.2 has been EOL since 2016-02-20 and 2.7 since 2020-01-01, so we can remove this old compatibility check and unindent the old else-block. Also, in the unindented block, replace a .format() call with an f-string. Plus similar changes in the documentation.
Configuration menu - View commit details
-
Copy full SHA for 3192c00 - Browse repository at this point
Copy the full SHA 3192c00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5693f45 - Browse repository at this point
Copy the full SHA 5693f45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9663853 - Browse repository at this point
Copy the full SHA 9663853View commit details -
pythongh-90111: Minor Cleanup for Runtime-Global Objects (pythongh-10…
…0254) * move _PyRuntime.global_objects.interned to _PyRuntime.cached_objects.interned_strings (and use _Py_CACHED_OBJECT()) * rename _PyRuntime.global_objects to _PyRuntime.static_objects (This also relates to pythongh-96075.) python#90111
Configuration menu - View commit details
-
Copy full SHA for aa8591e - Browse repository at this point
Copy the full SHA aa8591eView commit details -
pythonGH-100000: Cleanup and polish various watchers code (pythonGH-9…
…9998) * Initialize `type_watchers` array to `NULL`s * Optimize code watchers notification * Optimize func watchers notification
Configuration menu - View commit details
-
Copy full SHA for ae83c78 - Browse repository at this point
Copy the full SHA ae83c78View commit details
Commits on Dec 15, 2022
-
pythonGH-100222: fix typo _py_set_opocde -> _py_set_opcode (pythonGH-…
…100259) Typo introduced in python#100223. Automerge-Triggered-By: GH:brandtbucher
Configuration menu - View commit details
-
Copy full SHA for bdd8674 - Browse repository at this point
Copy the full SHA bdd8674View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48e352a - Browse repository at this point
Copy the full SHA 48e352aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7e4f1d - Browse repository at this point
Copy the full SHA b7e4f1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e0ef80 - Browse repository at this point
Copy the full SHA 5e0ef80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f30b8a - Browse repository at this point
Copy the full SHA 8f30b8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7bc5f2 - Browse repository at this point
Copy the full SHA e7bc5f2View commit details
Commits on Dec 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e9c6474 - Browse repository at this point
Copy the full SHA e9c6474View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12a37f5 - Browse repository at this point
Copy the full SHA 12a37f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68b9b4b - Browse repository at this point
Copy the full SHA 68b9b4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2686f86 - Browse repository at this point
Copy the full SHA 2686f86View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb7467b - Browse repository at this point
Copy the full SHA bb7467bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50dfc14 - Browse repository at this point
Copy the full SHA 50dfc14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dbb32e - Browse repository at this point
Copy the full SHA 9dbb32eView commit details
Commits on Dec 17, 2022
-
pythonGH-98831: Add DECREF_INPUTS(), expanding to DECREF() each stack…
… input (python#100205) The presence of this macro indicates that a particular instruction may be considered for conversion to a register-based format (see faster-cpython/ideas#485). An invariant (currently unchecked) is that `DEOPT_IF()` may only occur *before* `DECREF_INPUTS()`, and `ERROR_IF()` may only occur *after* it. One reason not to check this is that there are a few places where we insert *two* `DECREF_INPUTS()` calls, in different branches of the code. The invariant checking would have to be able to do some flow control analysis to understand this. Note that many instructions, especially specialized ones, can't be converted to use this macro straightforwardly. This is because the generator currently only generates plain `Py_DECREF(variable)` statements, and cannot generate things like `_Py_DECREF_SPECIALIZED()` let alone deal with `_PyList_AppendTakeRef()`.
Configuration menu - View commit details
-
Copy full SHA for 6b82c8d - Browse repository at this point
Copy the full SHA 6b82c8dView commit details -
Enhance generator for register instructions
I updated only UNARY_POSITIVE_R to the new format. - Syntax `register inst(NAME, (ieffects -- oeffects)) { ... }` - Map stack effects from/to `REG(opargN)` instead of PEEK() - Use `Py_XSETREF(REG(opargN), result)` for output effects - Suppress stack adjustment in epilogue - Suppress effect of `DECREF_INPUTS()` - Always go to plain `error` in `ERROR_IF()`
Configuration menu - View commit details
-
Copy full SHA for f703a9c - Browse repository at this point
Copy the full SHA f703a9cView commit details