summaryrefslogtreecommitdiffstats
path: root/PC
Commit message (Collapse)AuthorAgeFilesLines
* gh-101135: Add backwards compatibility to Windows launcher for older 32-bit ↵Martin Boisvert2023-01-241-34/+121
| | | | | | | versions (GH-101138) Python 2.x and up to 3.4 did not contain the "-32" in their registry name, so the 32 and 64-bit installs were treated equal. Since 3.5/PEP 514 this is no longer true, but we still want to detect the EOL versions correctly in case people are still using them. Additionally, the code to replace a node with one with a lower sort key was buggy (wrong node chosen, replace never happened since parent was always NULL, replaced node never freed, etc)
* gh-100247: Fix py.exe launcher not using entire shebang command for finding ↵Steve Dower2023-01-131-65/+85
| | | | custom commands (GH-100944)
* gh-99191: Use correct check for MSVC C++ version support in _wmimodule.cpp ↵C.A.M. Gerlach2023-01-091-3/+3
| | | | (GH-100381)
* Update copyright years to 2023. (gh-100848)Benjamin Peterson2023-01-081-1/+1
|
* gh-79218: Define `MS_WIN64` macro for Mingw-w64 64bit on Windows (GH-100137)GalaxySnail2022-12-121-0/+10
|
* bpo-43984: Allow winreg.SetValueEx to set -1 without treating it as an error ↵Shreyan Avigyan2022-12-091-32/+44
| | | | (GH-25775)
* Use faster APIs to calculate paths at startup for Store packaged Python on ↵Steve Dower2022-11-231-25/+49
| | | | Windows (GH-99345)
* gh-99442: Fix handling in py.exe launcher when argv[0] does not include a ↵Steve Dower2022-11-181-50/+32
| | | | file extension (GH-99542)
* gh-99300: Use Py_NewRef() in PC/ directory (#99479)Victor Stinner2022-11-142-6/+3
| | | | Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and Py_XNewRef() in test C files of the PC/ directory.
* GH-90699: Remove remaining `_Py_IDENTIFIER` stdlib usage (GH-99067)Kumar Aditya2022-11-071-6/+2
|
* gh-92584: Remove the distutils package (#99061)Victor Stinner2022-11-033-10/+2
| | | | | | | | | | | | Remove the distutils package. It was deprecated in Python 3.10 by PEP 632 "Deprecate distutils module". For projects still using distutils and cannot be updated to something else, the setuptools project can be installed: it still provides distutils. * Remove Lib/distutils/ directory * Remove test_distutils * Remove references to distutils * Skip test_check_c_globals and test_peg_generator since they use distutils
* gh-98692: Enable treating shebang lines as executables in py.exe launcher ↵Steve Dower2022-10-311-3/+68
| | | | (GH-98732)
* gh-98745: Allow py.exe launcher to install 3.11 by default and 3.12 on ↵Steve Dower2022-10-281-1/+4
| | | | request (GH-98780)
* gh-98586: Add vector call APIs to the Limited API (GH-98587)Wenzel Jakob2022-10-271-0/+2
| | | Expose the facilities for making vector calls through Python's limited API.
* gh-98414: py.exe launcher does not use defaults for -V:company/ option ↵Steve Dower2022-10-191-0/+1
| | | | (GH-98460)
* gh-97669: Create Tools/build/ directory (#97963)Victor Stinner2022-10-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Create Tools/build/ directory. Move the following scripts from Tools/scripts/ to Tools/build/: * check_extension_modules.py * deepfreeze.py * freeze_modules.py * generate_global_objects.py * generate_levenshtein_examples.py * generate_opcode_h.py * generate_re_casefix.py * generate_sre_constants.py * generate_stdlib_module_names.py * generate_token.py * parse_html5_entities.py * smelly.py * stable_abi.py * umarshal.py * update_file.py * verify_ensurepip_wheels.py Update references to these scripts.
* gh-97681: Remove Tools/demo/ directory (#97682)Victor Stinner2022-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the Tools/demo/ directory which contained old demo scripts. A copy can be found in the old-demos project: https://github.com/gvanrossum/old-demos Remove the following old demo scripts: * beer.py * eiffel.py * hanoi.py * life.py * markov.py * mcast.py * queens.py * redemo.py * rpython.py * rpythond.py * sortvisu.py * spreadsheet.py * vector.py Changes: * Remove a reference to the redemo.py script in the regex howto documentation. * Remove a reference to the removed Tools/demo/ directory in the curses documentation. * Update PC/layout/ to remove the reference to Tools/demo/ directory.
* gh-97728: Argument Clinic: Fix uninitialized variable in the Py_UNICODE ↵Serhiy Storchaka2022-10-032-22/+22
| | | | | | | converter (GH-97729) It affects function os.system() on Windows and Windows-specific modules winreg, _winapi, _overlapped, and _msi.
* gh-97649: The Tools directory is no longer installed on Windows (GH-97653)Steve Dower2022-09-301-2/+0
|
* gh-96684: Silently suppress COM security errors in _wmi module (GH-96690)Steve Dower2022-09-081-0/+6
|
* gh-96665: Fixes build break on older MSVC versions due to C++20 features in ↵Steve Dower2022-09-071-0/+10
| | | | argument clinic (GH-96667)
* gh-89545: Updates platform module to use new internal _wmi module on Windows ↵Steve Dower2022-09-072-0/+382
| | | | to directly query OS properties (GH-96289)
* gh-96577: Fixes buffer overrun in _msi module (GH-96633)Steve Dower2022-09-071-2/+2
|
* gh-96559: Fixes Windows launcher handling of defaults using old-style tags, ↵Steve Dower2022-09-051-22/+19
| | | | and adds What's New section (GH-96595)
* 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