summaryrefslogtreecommitdiffstats
path: root/PC
Commit message (Collapse)AuthorAgeFilesLines
* gh-101467: Correct py.exe handling of prefix matches and cases when only one ↵Miss Islington (bot)2023-02-011-9/+56
| | | | | | | runtime is installed (GH-101468) (cherry picked from commit eda60916bc88f8af736790ffd52381e8bb83ae83) Co-authored-by: Steve Dower <steve.dower@python.org>
* gh-101135: Add backwards compatibility to Windows launcher for older 32-bit ↵Miss Islington (bot)2023-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) (cherry picked from commit daec3a463c747c852d7ee91e82770fb1763d7d31) Co-authored-by: Martin Boisvert <martin.boisvert@optelgroup.com>
* gh-100247: Fix py.exe launcher not using entire shebang command for finding ↵Miss Islington (bot)2023-01-131-65/+85
| | | | | | | custom commands (GH-100944) (cherry picked from commit 468c3bf79890ef614764b4e7543608876c792794) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.11] Update copyright years to 2023. (gh-100848) (GH-100849)Miss Islington (bot)2023-01-091-1/+1
| | | | | (cherry picked from commit 11f99323c2ae0ec428c370a335695e3d8d4afc1d) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* bpo-43984: Allow winreg.SetValueEx to set -1 without treating it as an error ↵Miss Islington (bot)2022-12-091-32/+44
| | | | | | | (GH-25775) (cherry picked from commit a29a7b9b786d6b928c4bb4e6e683a3788e3ab1c1) Co-authored-by: Shreyan Avigyan <shreyan.avigyan@gmail.com>
* Use faster APIs to calculate paths at startup for Store packaged Python on ↵Miss Islington (bot)2022-11-231-25/+49
| | | | | | | Windows (GH-99345) (cherry picked from commit 71a4a2da983a651bfcbc1be59c6e27508cdd05c6) Co-authored-by: Steve Dower <steve.dower@python.org>
* gh-99442: Fix handling in py.exe launcher when argv[0] does not include a ↵Miss Islington (bot)2022-11-181-50/+32
| | | | | file extension (GH-99542) (cherry picked from commit a220c6d1ee3053895f502b43b47dc3a9c55fa6a3)
* gh-98692: Enable treating shebang lines as executables in py.exe launcher ↵Miss Islington (bot)2022-10-311-3/+68
| | | | | | | (GH-98732) (cherry picked from commit 88297e2a8a75898228360ee369628a4a6111e2ee) Co-authored-by: Steve Dower <steve.dower@python.org>
* gh-98745: Allow py.exe launcher to install 3.11 by default and 3.12 on ↵Miss Islington (bot)2022-10-281-1/+4
| | | | | | | request (GH-98780) (cherry picked from commit 25811d9010510d24bbe35acca9da86b064f239c0) Co-authored-by: Steve Dower <steve.dower@python.org>
* gh-98414: py.exe launcher does not use defaults for -V:company/ option ↵Miss Islington (bot)2022-10-191-0/+1
| | | | | | | (GH-98460) (cherry picked from commit 4bd63f66cd4f6e8d549f88ae0f4b0106d522b6bb) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.11] gh-97728: Argument Clinic: Fix uninitialized variable in the ↵Serhiy Storchaka2022-10-032-22/+22
| | | | | | | | Py_UNICODE converter (GH-97729) (GH-97757) It affects function os.system() on Windows and Windows-specific modules winreg, _winapi, _overlapped, and _msi. (cherry picked from commit 0ee9619a4cba58730c45e65d22288fadbf7680de)
* gh-96577: Fixes buffer overrun in _msi module (GH-96633)Miss Islington (bot)2022-09-071-2/+2
| | | | | (cherry picked from commit 4114bcc9ef7595a07196bcecf9c7d6d39f57f64d) Co-authored-by: Steve Dower <steve.dower@python.org>
* gh-96559: Fixes Windows launcher handling of defaults using old-style tags, ↵Miss Islington (bot)2022-09-051-22/+19
| | | | | | | and adds What's New section (GH-96595) (cherry picked from commit 80a9bd2e94b1759a7669fa811ed3526eb137c92d) Co-authored-by: Steve Dower <steve.dower@python.org>
* gh-94399: Restore PATH search behaviour of py.exe launcher for ↵Miss Islington (bot)2022-08-031-0/+106
| | | | | | | '/usr/bin/env' shebang lines (GH-95582) (cherry picked from commit 67840edb2851c6d4ca65d8389327d8a6dc06255a) Co-authored-by: Steve Dower <steve.dower@python.org>
* gh-95423: Update winreg.DeleteKeyEx documentation and remove dynamic ↵Steve Dower2022-08-032-23/+14
| | | | | function load (GH-95521) Co-authored-by: Derek Kim <ddkim1024@gmail.com>
* [3.11] gh-95174: WASI: skip missing sockets functions (GH-95179) (GH-95308)Christian Heimes2022-07-311-1/+18
| | | | Co-authored-by: Christian Heimes <christian@python.org> Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* [3.11] gh-95174: Handle missing dup() and constants in WASI (GH-95229) ↵Christian Heimes2022-07-311-0/+3
| | | | | (GH-95272) Co-authored-by: Christian Heimes <christian@python.org>
* gh-95359: Fix py.exe launcher handling of per-user py.ini and command names ↵Miss Islington (bot)2022-07-281-7/+11
| | | | | | | (GH-95399) (cherry picked from commit 38bb2068fe1f51a74b36c46e820abc5f6422cded) Co-authored-by: Steve Dower <steve.dower@python.org>
* gh-95285: py.exe launcher fails with short argv0 (GH-95295) (GH-95298)Miss Islington (bot)2022-07-271-0/+3
| | | | | (cherry picked from commit 7ac5bb3e6a1cf780aea8164fdba09db993a21d6f) Co-authored-by: Steve Dower <steve.dower@python.org>
* gh-90844: Allow virtual environments to correctly launch when they have ↵Miss Islington (bot)2022-07-161-4/+12
| | | | | | | spaces in the path (GH-94903) (cherry picked from commit 4b4439daed3992a5c5a83b86596d6e00ac3c1203) Co-authored-by: Steve Dower <steve.dower@python.org>
* gh-94772: Fix off-by-one error in Windows launcher (GH-94779)Miss Islington (bot)2022-07-161-1/+3
| | | | | | | (cherry picked from commit 407ff6556cc999d692b264466ad8d32304a09bce) Co-authored-by: Paul Moore <p.f.moore@gmail.com> Co-authored-by: Paul Moore <p.f.moore@gmail.com>
* gh-93491: Add support tier detection to configure (GH-93492)Miss Islington (bot)2022-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> (cherry picked from commit 3124d9a5aafb64431aa9facd0ae0e12201be77fa) Co-authored-by: Christian Heimes <christian@python.org>
* gh-93005: Fixes launcher test when no Python install is available (GH-93007)Miss Islington (bot)2022-05-231-3/+3
| | | | | (cherry picked from commit 949dbf97ba09da3cfb243d5ad7f90967ad15f354) Co-authored-by: Steve Dower <steve.dower@python.org>
* gh-92817: Fix precedence of options to py.exe launcher (GH-92988)Miss Islington (bot)2022-05-191-2/+21
| | | | | (cherry picked from commit 73473fdeac3ff9d75ac9d189bb8552b7459812f1) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.11] gh-76773: Update docs mentioning no-longer-supported Windows versions ↵Miss Islington (bot)2022-05-101-3/+3
| | | | | | | | | | & features (GH-92529) (GH-92608) (cherry picked from commit f1bbcba74f77eff2a4c0881f3d529f3bf0664d40) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> Automerge-Triggered-By: GH:serhiy-storchaka
* 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)
* bpo-40280: Add configure check for socket shutdown (GH-29795)Christian Heimes2021-11-261-0/+3
|