Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-90928: Improve static initialization of keywords tuple in AC (#95907) | Erlend E. Aasland | 2022-08-13 | 3 | -173/+73 | |
| | ||||||
* | gh-90928: Statically Initialize the Keywords Tuple in Clinic-Generated Code ↵ | Eric Snow | 2022-08-11 | 5 | -15/+375 | |
| | | | | | | | | | | | | | | | | (gh-95860) We only statically initialize for core code and builtin modules. Extension modules still create the tuple at runtime. We'll solve that part of interpreter isolation separately. This change includes generated code. The non-generated changes are in: * Tools/clinic/clinic.py * Python/getargs.c * Include/cpython/modsupport.h * Makefile.pre.in (re-generate global strings after running clinic) * very minor tweaks to Modules/_codecsmodule.c and Python/Python-tokenize.c All other changes are generated code (clinic, global strings). | |||||
* | gh-95733: Allow installing Store package on older Windows versions (GH-95862) | Steve Dower | 2022-08-10 | 1 | -1/+2 | |
| | ||||||
* | gh-93274: Expose receiving vectorcall in the Limited API (GH-95717) | Petr Viktorin | 2022-08-08 | 1 | -0/+2 | |
| | ||||||
* | gh-94399: Restore PATH search behaviour of py.exe launcher for ↵ | Steve Dower | 2022-08-03 | 1 | -0/+106 | |
| | | | | '/usr/bin/env' shebang lines (GH-95582) | |||||
* | gh-95423: Update winreg.DeleteKeyEx documentation and remove dynamic ↵ | Derek Kim | 2022-08-03 | 2 | -23/+14 | |
| | | | | function load (GH-95521) | |||||
* | gh-95359: Fix py.exe launcher handling of per-user py.ini and command names ↵ | Steve Dower | 2022-07-28 | 1 | -7/+11 | |
| | | | | (GH-95399) | |||||
* | gh-95174: WASI: skip missing sockets functions (GH-95179) | Christian Heimes | 2022-07-27 | 1 | -1/+18 | |
| | ||||||
* | gh-95285: py.exe launcher fails with short argv0 (GH-95295) | Steve Dower | 2022-07-26 | 1 | -0/+3 | |
| | ||||||
* | gh-95174: Handle missing dup() and constants in WASI (GH-95229) | Christian Heimes | 2022-07-26 | 1 | -0/+3 | |
| | | | | | | | - check for ``dup()`` libc function - handle missing ``F_DUPFD`` in ``dup2()`` replacement function - add workaround for WASI libc bug in MSG_TRUNC - ESHUTDOWN is missing, use EPIPE instead - POLLPRI is missing, define as 0 (no-op) | |||||
* | gh-90844: Allow virtual environments to correctly launch when they have ↵ | Steve Dower | 2022-07-16 | 1 | -4/+12 | |
| | | | | spaces in the path (GH-94903) | |||||
* | gh-94772: Fix off-by-one error in Windows launcher (GH-94779) | Paul Moore | 2022-07-16 | 1 | -1/+3 | |
| | ||||||
* | gh-94512: Fix forced arg format in AC-processed winreg (GH-94513) | Oleg Iarygin | 2022-07-04 | 2 | -22/+201 | |
| | ||||||
* | gh-94512: Fix forced arg format in AC-processed msvcrtmodule (GH-94514) | Oleg Iarygin | 2022-07-04 | 2 | -6/+28 | |
| | ||||||
* | Delete DOS-only PC/testpy.py (GH-94419) | Oleg Iarygin | 2022-06-30 | 2 | -36/+0 | |
| | ||||||
* | Delete unused PC/empty.c (GH-94418) | Oleg Iarygin | 2022-06-29 | 1 | -6/+0 | |
| | ||||||
* | gh-84623: Remove unused imports (#94132) | Victor Stinner | 2022-06-22 | 4 | -9/+1 | |
| | ||||||
* | gh-93491: Add support tier detection to configure (GH-93492) | Christian Heimes | 2022-06-10 | 1 | -1/+15 | |
| | | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Steve Dower <steve.dower@microsoft.com> Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> | |||||
* | GH-93207: Remove HAVE_STDARG_PROTOTYPES configure check for stdarg.h (#93215) | Kumar Aditya | 2022-05-27 | 1 | -3/+0 | |
| | ||||||
* | gh-60074: add new stable API function PyType_FromMetaclass (GH-93012) | Wenzel Jakob | 2022-05-27 | 1 | -0/+1 | |
| | | | | | | | | Added a new stable API function ``PyType_FromMetaclass``, which mirrors the behavior of ``PyType_FromModuleAndSpec`` except that it takes an additional metaclass argument. This is, e.g., useful for language binding tools that need to store additional information in the type object. | |||||
* | gh-93005: Fixes launcher test when no Python install is available (GH-93007) | Steve Dower | 2022-05-23 | 1 | -3/+3 | |
| | ||||||
* | gh-91061: also accept pathlib.Path for winsound.PlaySound (#91489) | Mori Bellamy | 2022-05-23 | 1 | -7/+15 | |
| | | | | | Fixes #91061 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | |||||
* | gh-92817: Fix precedence of options to py.exe launcher (GH-92988) | Steve Dower | 2022-05-19 | 1 | -2/+21 | |
| | ||||||
* | gh-92536: PEP 623: Remove wstr and legacy APIs from Unicode (GH-92537) | Inada Naoki | 2022-05-12 | 4 | -127/+2 | |
| | ||||||
* | gh-76773: Update docs mentioning no-longer-supported Windows versions & ↵ | CAM Gerlach | 2022-05-10 | 1 | -3/+3 | |
| | | | | features (GH-92529) | |||||
* | Update CPyhton configuration for 3.12 (#92451) | Dong-hee Na | 2022-05-08 | 1 | -2/+2 | |
| | | | | | | | * Update CPyhton configuration for 3.12 * Fix PC/pyconfig.h * Add expect failure | |||||
* | gh-91320: Argument Clinic uses _PyCFunction_CAST() (#32210) | Victor Stinner | 2022-05-03 | 5 | -39/+39 | |
| | | | | Replace "(PyCFunction)(void(*)(void))func" cast with _PyCFunction_CAST(func). | |||||
* | gh-90822: Make `PY_SSIZE_T_MAX` and `PY_SSIZE_T_MIN` constant expression ↵ | Ganesh Kathiresan | 2022-05-02 | 1 | -0/+2 | |
| | | | | (GH-92071) | |||||
* | gh-91324: List feature macros in the stable ABI manifest, improve tests ↵ | Petr Viktorin | 2022-04-28 | 1 | -0/+2 | |
| | | | | (GH-32415) | |||||
* | bpo-47169: Export PyOS_CheckStack on Windows (GH-32414) | Petr Viktorin | 2022-04-21 | 1 | -0/+1 | |
| | ||||||
* | Remove the ancient Pynche color editor (#91554) | Barry Warsaw | 2022-04-17 | 1 | -1/+1 | |
| | | | Closes #91551 | |||||
* | gh-90501: Add PyErr_GetHandledException and PyErr_SetHandledException (GH-30531) | Irit Katriel | 2022-04-15 | 1 | -0/+2 | |
| | ||||||
* | bpo-47239: Fixes py.exe output when run in a virtual environment. (GH-32364) | Steve Dower | 2022-04-06 | 1 | -96/+205 | |
| | ||||||
* | bpo-46566: Add new py.exe launcher implementation (GH-32062) | Steve Dower | 2022-03-28 | 3 | -0/+2298 | |
| | ||||||
* | bpo-47086: Remove .chm from Windows installer and add HTML docs (GH-32038) | Steve Dower | 2022-03-22 | 2 | -1/+3 | |
| | ||||||
* | bpo-1635741: Fix winreg reference leaks (GH-31560) | Victor Stinner | 2022-02-25 | 1 | -4/+0 | |
| | | | Clear also the PyHKEY_Type static type at exit. | |||||
* | bpo-46638: Makes registry virtualisation setting stable when building MSIX ↵ | Steve Dower | 2022-02-07 | 2 | -4/+12 | |
| | | | | packages (GH-31130) | |||||
* | bpo-46629: Update classicAppCompat.sccd for new signing certificate (GH-31111) | Steve Dower | 2022-02-04 | 2 | -29/+42 | |
| | ||||||
* | Optimize images by IMGbot (GH-21348) | Manish Kumar ⛄ | 2022-02-04 | 7 | -0/+0 | |
| | | | Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com> | |||||
* | bpo-37705: Remove orphaned PC/errmap.mak (GH-29724) | Oleg Iarygin | 2022-02-02 | 1 | -5/+0 | |
| | | | | | | | After GH-15623 deleted `generrmap.c`, a related mak-file stopped working. The mak contains generrmap-related rules only so it should be removed altogether. Further search for `errmap\.mak|generrmap` regex through content of CPython files shows no dangling reference left. Since generrmap is already effectively removed, this pull request contains no blurp. | |||||
* | bpo-45459: Add Py_buffer to limited API (GH-29991) | Christian Heimes | 2022-02-02 | 1 | -0/+12 | |
| | | | | | | | | | | | - [x] ``Py_buffer`` struct - [x] ``PyBuffer_*()`` API functions - [x] ``PyBUF_*`` constants - [x] ``Py_bf_getbuffer`` and ``Py_bf_releasebuffer`` type slots - [x] ``PyMemoryView_FromBuffer()`` API - [x] tests for limited API - [x] ``make regen-limited-abi`` - [x] documentation update - [ ] export ``PyPickleBuffer*()`` API ??? | |||||
* | bpo-46315: Add ifdef HAVE_ feature checks for WASI compatibility (GH-30507) | Christian Heimes | 2022-01-13 | 1 | -0/+3 | |
| | ||||||
* | bpo-46303: Fix fileutils.h compiler warnings (GH-30550) | Victor Stinner | 2022-01-11 | 1 | -1/+5 | |
| | | | | Add missing pycore_fileutils.h include in _tkinter.c and _testconsole.c. | |||||
* | bpo-45923: Handle call events in bytecode (GH-30364) | Mark Shannon | 2022-01-06 | 1 | -1/+3 | |
| | | | | * Add a RESUME instruction to handle "call" events. | |||||
* | Update copyright year to 2022. (GH-30335) | Benjamin Peterson | 2022-01-02 | 1 | -1/+1 | |
| | | | Automerge-Triggered-By: GH:benjaminp | |||||
* | bpo-43931: Export Python version as API data (GH-25577) | Gabriele N. Tornetta | 2021-12-10 | 1 | -0/+1 | |
| | | | | | When Python is embedded in other applications, it is not easy to determine which version of Python is being used. This change exposes the Python version as part of the API data. Tools like Austin (https://github.com/P403n1x87/austin) can benefit from this data when targeting applications like uWSGI, as the Python version can then be inferred systematically by looking at the exported symbols rather than relying on unreliable pattern matching or other hacks (like remote code execution etc...). Automerge-Triggered-By: GH:pablogsal | |||||
* | bpo-45947: Place dict and values pointer at fixed (negative) offset just ↵ | Mark Shannon | 2021-12-07 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | | before GC header. (GH-29879) * Place __dict__ immediately before GC header for plain Python objects. * Fix up lazy dict creation logic to use managed dict pointers. * Manage values pointer, placing them directly before managed dict pointers. * Convert hint-based load/store attr specialization target managed dict classes. * Specialize LOAD_METHOD for managed dict objects. * Remove unsafe _PyObject_GC_Calloc function. * Remove unsafe _PyObject_GC_Malloc() function. * Add comment explaning use of Py_TPFLAGS_MANAGED_DICT. | |||||
* | bpo-45582: Port getpath[p].c to Python (GH-29041) | Steve Dower | 2021-12-03 | 3 | -1179/+4 | |
| | | | | | The getpath.py file is frozen at build time and executed as code over a namespace. It is never imported, nor is it meant to be importable or reusable. However, it should be easier to read, modify, and patch than the previous code. This commit attempts to preserve every previously tested quirk, but these may be changed in the future to better align platforms. | |||||
* | bpo-44391: Remove unused argument from a varargs call. (GH-29843) | Vinay Sajip | 2021-11-29 | 1 | -1/+1 | |
| | ||||||
* | bpo-45901: Fixes argument passing when invoking .py files directly through ↵ | Steve Dower | 2021-11-26 | 1 | -2/+2 | |
| | | | | the Store package (GH-29799) |