summaryrefslogtreecommitdiffstats
path: root/PC
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-90928: Improve static initialization of keywords tuple in AC (#95907)Erlend E. Aasland2022-08-133-173/+73
|
* gh-90928: Statically Initialize the Keywords Tuple in Clinic-Generated Code ↵Eric Snow2022-08-115-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 Dower2022-08-101-1/+2
|
* gh-93274: Expose receiving vectorcall in the Limited API (GH-95717)Petr Viktorin2022-08-081-0/+2
|
* gh-94399: Restore PATH search behaviour of py.exe launcher for ↵Steve Dower2022-08-031-0/+106
| | | | '/usr/bin/env' shebang lines (GH-95582)
* gh-95423: Update winreg.DeleteKeyEx documentation and remove dynamic ↵Derek Kim2022-08-032-23/+14
| | | | function load (GH-95521)
* gh-95359: Fix py.exe launcher handling of per-user py.ini and command names ↵Steve Dower2022-07-281-7/+11
| | | | (GH-95399)
* gh-95174: WASI: skip missing sockets functions (GH-95179)Christian Heimes2022-07-271-1/+18
|
* gh-95285: py.exe launcher fails with short argv0 (GH-95295)Steve Dower2022-07-261-0/+3
|
* gh-95174: Handle missing dup() and constants in WASI (GH-95229)Christian Heimes2022-07-261-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 Dower2022-07-161-4/+12
| | | | spaces in the path (GH-94903)
* gh-94772: Fix off-by-one error in Windows launcher (GH-94779)Paul Moore2022-07-161-1/+3
|
* 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
|
* Delete DOS-only PC/testpy.py (GH-94419)Oleg Iarygin2022-06-302-36/+0
|
* Delete unused PC/empty.c (GH-94418)Oleg Iarygin2022-06-291-6/+0
|
* gh-84623: Remove unused imports (#94132)Victor Stinner2022-06-224-9/+1
|
* gh-93491: Add support tier detection to configure (GH-93492)Christian Heimes2022-06-101-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 Aditya2022-05-271-3/+0
|
* gh-60074: add new stable API function PyType_FromMetaclass (GH-93012)Wenzel Jakob2022-05-271-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 Dower2022-05-231-3/+3
|
* gh-91061: also accept pathlib.Path for winsound.PlaySound (#91489)Mori Bellamy2022-05-231-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 Dower2022-05-191-2/+21
|
* gh-92536: PEP 623: Remove wstr and legacy APIs from Unicode (GH-92537)Inada Naoki2022-05-124-127/+2
|
* gh-76773: Update docs mentioning no-longer-supported Windows versions & ↵CAM Gerlach2022-05-101-3/+3
| | | | features (GH-92529)
* Update CPyhton configuration for 3.12 (#92451)Dong-hee Na2022-05-081-2/+2
| | | | | | | * Update CPyhton configuration for 3.12 * Fix PC/pyconfig.h * Add expect failure
* gh-91320: Argument Clinic uses _PyCFunction_CAST() (#32210)Victor Stinner2022-05-035-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 Kathiresan2022-05-021-0/+2
| | | | (GH-92071)
* gh-91324: List feature macros in the stable ABI manifest, improve tests ↵Petr Viktorin2022-04-281-0/+2
| | | | (GH-32415)
* bpo-47169: Export PyOS_CheckStack on Windows (GH-32414)Petr Viktorin2022-04-211-0/+1
|
* Remove the ancient Pynche color editor (#91554)Barry Warsaw2022-04-171-1/+1
| | | Closes #91551
* gh-90501: Add PyErr_GetHandledException and PyErr_SetHandledException (GH-30531)Irit Katriel2022-04-151-0/+2
|
* bpo-47239: Fixes py.exe output when run in a virtual environment. (GH-32364)Steve Dower2022-04-061-96/+205
|
* bpo-46566: Add new py.exe launcher implementation (GH-32062)Steve Dower2022-03-283-0/+2298
|
* bpo-47086: Remove .chm from Windows installer and add HTML docs (GH-32038)Steve Dower2022-03-222-1/+3
|
* bpo-1635741: Fix winreg reference leaks (GH-31560)Victor Stinner2022-02-251-4/+0
| | | Clear also the PyHKEY_Type static type at exit.
* bpo-46638: Makes registry virtualisation setting stable when building MSIX ↵Steve Dower2022-02-072-4/+12
| | | | packages (GH-31130)
* bpo-46629: Update classicAppCompat.sccd for new signing certificate (GH-31111)Steve Dower2022-02-042-29/+42
|
* Optimize images by IMGbot (GH-21348)Manish Kumar ⛄2022-02-047-0/+0
| | | Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
* bpo-37705: Remove orphaned PC/errmap.mak (GH-29724)Oleg Iarygin2022-02-021-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 Heimes2022-02-021-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 Heimes2022-01-131-0/+3
|
* bpo-46303: Fix fileutils.h compiler warnings (GH-30550)Victor Stinner2022-01-111-1/+5
| | | | Add missing pycore_fileutils.h include in _tkinter.c and _testconsole.c.
* bpo-45923: Handle call events in bytecode (GH-30364)Mark Shannon2022-01-061-1/+3
| | | | * Add a RESUME instruction to handle "call" events.
* Update copyright year to 2022. (GH-30335)Benjamin Peterson2022-01-021-1/+1
| | | Automerge-Triggered-By: GH:benjaminp
* bpo-43931: Export Python version as API data (GH-25577)Gabriele N. Tornetta2021-12-101-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 Shannon2021-12-071-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 Dower2021-12-033-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 Sajip2021-11-291-1/+1
|
* bpo-45901: Fixes argument passing when invoking .py files directly through ↵Steve Dower2021-11-261-2/+2
| | | | the Store package (GH-29799)