summaryrefslogtreecommitdiffstats
path: root/PC
Commit message (Collapse)AuthorAgeFilesLines
* bpo-46638: Makes registry virtualisation setting stable when building MSIX ↵Miss Islington (bot)2022-02-072-4/+12
| | | | | packages (GH-31130) (cherry picked from commit 3a5afc14e16370c1f4f72d43cb553298ad9a1fa4)
* bpo-46629: Update classicAppCompat.sccd for new signing certificate (GH-31111)Miss Islington (bot)2022-02-042-29/+42
| | | | | (cherry picked from commit 9b4e3d94a5746af093392ed8e977b26fcc1bfd11) Co-authored-by: Steve Dower <steve.dower@python.org>
* Optimize images by IMGbot (GH-21348)Miss Islington (bot)2022-02-047-0/+0
| | | | | | Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com> (cherry picked from commit ba650af7d660084e08859dd1ee1917cccee24e88) Co-authored-by: Manish Kumar ⛄ <manishprivet@protonmail.com>
* Update copyright year to 2022. (GH-30335)Miss Islington (bot)2022-01-021-1/+1
| | | | | | Automerge-Triggered-By: GH:benjaminp (cherry picked from commit ba00f0d93a4aea85ae8089f139856a7c450584d7) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* [3.9] bpo-44391: Remove unused argument from a varargs call. (GH-29843) ↵Miss Islington (bot)2021-11-291-1/+1
| | | | (GH-29850)
* bpo-45901: Fixes argument passing when invoking .py files directly through ↵Miss Islington (bot)2021-11-261-2/+2
| | | | the Store package (GH-29799)
* bpo-45220: Ensure RT_MANIFEST is defined when compiling Windows resource ↵Miss Islington (bot)2021-11-156-0/+35
| | | | | | | files (GH-29501) (cherry picked from commit a56fbad85ea655631bce68d4c0f47f1a8b500abd) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-45720: Drop references to shlwapi.dll on Windows (GH-29417)Miss Islington (bot)2021-11-061-1/+0
| | | | | | | (cherry picked from commit 804ea41211b042fa20c3cd8c0457bbfa3873128a) Co-authored-by: Steve Dower <steve.dower@python.org> Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-45220: Remove invalid include from resource definition files on Windows ↵Miss Islington (bot)2021-11-046-6/+0
| | | | | | | (GH-29396) (cherry picked from commit fd0c84dc28d00d68e4f43034dc41786a682390fd) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.9] Fix typos in the Objects directory (GH-28766) (GH-28795)Christian Clauss2021-10-071-1/+1
| | | | | (cherry picked from commit 5f401f10400123afa9171548c432ea3fc37c0736) Automerge-Triggered-By: GH:JulienPalard
* [3.9] [codemod] Fix non-matching bracket pairs (GH-28473) (GH-28512)Łukasz Langa2021-09-221-1/+1
| | | | | | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>. (cherry picked from commit 8f943ca25732d548cf9f0b0393ba8d582fb93e29) Co-authored-by: Mohamad Mansour <66031317+mohamadmansourX@users.noreply.github.com>
* bpo-43637: Fix a possible memory leak in winreg.SetValueEx() (GH-25038)Miss Islington (bot)2021-03-301-0/+1
| | | | | (cherry picked from commit dfeec347f21b86879ba8f27f567bb275b243f1bc) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-43499: Silence compiler warnings about using legacy C API on Windows ↵Serhiy Storchaka2021-03-162-0/+9
| | | | (GH-24873)
* bpo-43155: Add PyCMethod_New to PC/python3.def (GH-24500) (GH-24554)Zackery Spytz2021-02-171-0/+1
| | | (cherry picked from commit 8a8b5df93f379f561aab4f2fc5b2ad54f5009f7a)
* Bring Python into the new year. (GH-24036)Miss Islington (bot)2021-01-011-1/+1
| | | | | (cherry picked from commit de6f20a6de48d63066b2cf5b317f50629f01d74a) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* Add symbols of the stable ABI to python3dll.c (GH-23598) (GH-23801)Victor Stinner2020-12-161-0/+6
| | | | | | | | | | | | Add the following symbols to python3dll.c: * PyFrame_GetCode (bpo-40421) * PyFrame_GetLineNumber (bpo-40421) * PyObject_CallNoArgs (bpo-37194) * PyThreadState_GetFrame (bpo-39947) * PyThreadState_GetID (bpo-39947) * PyThreadState_GetInterpreter (bpo-39947) (cherry picked from commit fcc6935384b933fbe1a1ef659ed455a3b74c849a)
* [3.9] bpo-42120: Remove macro defining copysign to _copysign on Windows ↵Miss Islington (bot)2020-11-171-1/+0
| | | | | | | | (GH-23326) (GH-23331) (cherry picked from commit 9cc9e277254023c0ca08e1a9e379fd89475ca9c2) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-38439: Update the Windows Store package's icons for IDLE. Artwork by ↵Miss Skeleton (bot)2020-10-203-2/+7
| | | | | | | Andrew Clover (GH-22817) (cherry picked from commit 6d883fbe14751b58d9ed2fd708322613d8931035) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-41729: Fix test_winconsole failures (3) and hang (GH-22146)Miss Islington (bot)2020-09-121-1/+1
| | | | | | | | The problems occured with a repository build on machine with freshly updated Windows 10 Pro. (cherry picked from commit 31c9828ec026e5d9b9122d55bf0aa7cb45bfecc5) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-41304: Ensure python3x._pth is loaded on Windows (GH-21495)Miss Islington (bot)2020-07-151-1/+1
| | | | | (cherry picked from commit 936a66094591dc0e67d4a60c170148bb700ec016) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-29778: Ensure python3.dll is loaded from correct locations when Python ↵Miss Islington (bot)2020-07-061-77/+73
| | | | | | | | | is embedded (GH-21297) Also enables using debug build of `python3_d.dll` Reference: CVE-2020-15523 (cherry picked from commit dcbaa1b49cd9062fb9ba2b9d49555ac6cd8c60b5) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-41074: Fix support of non-ASCII names and SQL in msilib. (GH-21126)Miss Islington (bot)2020-06-251-6/+6
| | | | | | | | * Fix support of non-ASCII names in functions OpenDatabase() and init_database(). * Fix support of non-ASCII SQL in method Database.OpenView(). (cherry picked from commit 55939b1708d6fc0d36d2be11ccdc6bf207e1bd41) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-41038: Fix non-ASCII string corruption in Win32 resource files (GH-20985)Miss Islington (bot)2020-06-241-0/+1
| | | | | | | | | | | In absence of explicit declaration, resource compiler uses system codepage. When this codepage is DBCS or UTF-8, Python's copyright string is corrupted, because it contains copyright sign encoded as \xA9. The fix is to explicitly declare codepage 1252. (cherry picked from commit 33b79b11b891adea5a916df8e3779505b37aabe7) Co-authored-by: Nikita Nemkin <nikita@nemkin.ru>
* bpo-41089: Filters and other issues in Visual Studio projects (GH-21070)Steve Dower2020-06-232-22/+29
| | | | | | | | | | | * Add missing header files to pythoncore. * Add missing file filters ("Resource Files" in particular) to all projects. * Add new sub-filters for private headers in pythoncore and for 3rd party source files. * Add missing _zoneinfo configurations in pcbuild.sln. * Update bdist_wininst with the new zlib location. Co-authored-by: Nikita Nemkin <nikita@nemkin.ru>
* bpo-41054: Simplify resource compilation on Windows (GH-21004)Miss Islington (bot)2020-06-233-20/+2
| | | | | | | | | | Remove auto-generated resource header. Pass definitions required by resource files (ORIGINAL_FILENAME and FIELD3) directly to resource compiler. Remove unused MS_DLL_ID resource string and related dead code. (cherry picked from commit 4efc3360c9a83d5891f27ed67b4f0ab7275d2ab4) Co-authored-by: Nikita Nemkin <nikita@nemkin.ru>
* bpo-37556 Extend help to include latest overrides (GH-14701)Miss Islington (bot)2020-06-151-1/+10
| | | | | | | | Modify the help in cpython/PC/launcher.c to show users that "latest" can be overridden by shebang, PY_PYTHON[n] or py.ini files. Also show that script [args] is optional by enclosing in square brackets. Automerge-Triggered-By: @zooba (cherry picked from commit b3e6783423f58597419abae343dd1d5dcc02a7e3) Co-authored-by: Steve (Gadget) Barnes <gadgetsteve@live.co.uk>
* bpo-40910: Export Py_GetArgcArgv() function (GH-20721) (GH-20723)Victor Stinner2020-06-081-0/+1
| | | | | | | | | | | | | | Export explicitly the Py_GetArgcArgv() function to the C API and document the function. Previously, it was exported implicitly which no longer works since Python is built with -fvisibility=hidden. * Add PyConfig._orig_argv member. * Py_InitializeFromConfig() no longer calls _PyConfig_Write() twice. * PyConfig_Read() no longer initializes Py_GetArgcArgv(): it is now _PyConfig_Write() responsibility. * _PyConfig_Write() result type becomes PyStatus instead of void. * Write an unit test on Py_GetArgcArgv(). (cherry picked from commit e81f6e687d0f04a45f2389d0b43fafd6d8491624)
* bpo-35890: Use RegQueryInfoKeyW and CryptAcquireContextW explicitly (GH-19974)Minmin Gong2020-05-182-4/+4
|
* bpo-40428: Remove PyTuple_ClearFreeList() function (GH-19769)Victor Stinner2020-04-291-2/+0
| | | | | | | | | | | | | | | | | | | Remove the following function from the C API: * PyAsyncGen_ClearFreeLists() * PyContext_ClearFreeList() * PyDict_ClearFreeList() * PyFloat_ClearFreeList() * PyFrame_ClearFreeList() * PyList_ClearFreeList() * PySet_ClearFreeList() * PyTuple_ClearFreeList() Make these functions private, move them to the internal C API and change their return type to void. Call explicitly PyGC_Collect() to free all free lists. Note: PySet_ClearFreeList() did nothing.
* bpo-40334: PEP 617 implementation: New PEG parser for CPython (GH-19503)Pablo Galindo2020-04-221-0/+3
| | | | Co-authored-by: Guido van Rossum <guido@python.org> Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
* bpo-40268: Remove unused osdefs.h includes (GH-19532)Victor Stinner2020-04-151-3/+3
| | | When the include is needed, add required symbol in a comment.
* bpo-40268: Remove unused structmember.h includes (GH-19530)Victor Stinner2020-04-151-2/+2
| | | | | | If only offsetof() is needed: include stddef.h instead. When structmember.h is used, add a comment explaining that PyMemberDef is used.
* bpo-40268: Remove a few pycore_pystate.h includes (GH-19510)Victor Stinner2020-04-141-1/+0
|
* bpo-40170: PyObject_NEW() becomes an alias to PyObject_New() (GH-19379)Victor Stinner2020-04-072-5/+5
| | | | | | | | | | | | The PyObject_NEW() macro becomes an alias to the PyObject_New() macro, and the PyObject_NEW_VAR() macro becomes an alias to the PyObject_NewVar() macro, to hide implementation details. They no longer access directly the PyTypeObject.tp_basicsize member. Exclude _PyObject_SIZE() and _PyObject_VAR_SIZE() macros from the limited C API. Replace PyObject_NEW() with PyObject_New() and replace PyObject_NEW_VAR() with PyObject_NewVar().
* bpo-39481: Implementation for PEP 585 (#18239)Guido van Rossum2020-04-071-0/+2
| | | | | | | | | | | | This implements things like `list[int]`, which returns an object of type `types.GenericAlias`. This object mostly acts as a proxy for `list`, but has attributes `__origin__` and `__args__` that allow recovering the parts (with values `list` and `(int,)`. There is also an approximate notion of type variables; e.g. `list[T]` has a `__parameters__` attribute equal to `(T,)`. Type variables are objects of type `typing.TypeVar`.
* bpo-40158: Fix CPython MSBuild Properties in NuGet Package (GH-19343)Chris Martinez2020-04-031-2/+1
| | | Fix default Python home path relative to the NuGet package
* bpo-8901: Windows registry path is now ignored with the -E option (GH-18169)Zackery Spytz2020-03-301-2/+5
|
* Use calloc-based functions, not malloc. (GH-19152)Andy Lester2020-03-252-4/+2
|
* bpo-39930: Convert error to warning for more silent failure (GH-18921)Steve Dower2020-03-111-0/+4
| | | Makes it an error to create a layout without vcruntime DLL
* bpo-1294959: Add sys.platlibdir attribute (GH-18381)Victor Stinner2020-03-101-0/+2
| | | | | | | | | | | | | Add --with-platlibdir option to the configure script: name of the platform-specific library directory, stored in the new sys.platlitdir attribute. It is used to build the path of platform-specific dynamic libraries and the path of the standard library. It is equal to "lib" on most platforms. On Fedora and SuSE, it is equal to "lib64" on 64-bit systems. Co-Authored-By: Jan Matějek <jmatejek@suse.com> Co-Authored-By: Matěj Cepl <mcepl@cepl.eu> Co-Authored-By: Charalampos Stratakis <cstratak@redhat.com>
* bpo-39794: Add --without-decimal-contextvar (#18702)Stefan Krah2020-02-291-0/+4
|
* bpo-39789: Update Windows release build machines to VS 2019 (GH-18695)Steve Dower2020-02-291-5/+5
| | | Also fixes some potential Nuget build issues.
* bpo-38403: Update nuspec file for deprecated field and git repository (GH-18657)Steve Dower2020-02-253-0/+7
|
* bpo-39184: Fix incorrect return value (GH-18580)Steve Dower2020-02-201-1/+1
| | | | | | | https://bugs.python.org/issue39184 Automerge-Triggered-By: @zooba
* bpo-39184: Add audit events to functions in `fcntl`, `msvcrt`, `os`, ↵Saiyang Gou2020-02-131-0/+12
| | | | `resource`, `shutil`, `signal`, `syslog` (GH-18407)
* bpo-38644: Add Py_EnterRecursiveCall() to python3.def (GH-18399)Victor Stinner2020-02-071-0/+2
| | | | Add Py_EnterRecursiveCall and Py_LeaveRecursiveCall functions to python3.def.
* bpo-39553: Delete HAVE_SXS protected code (GH-18356)Zackery Spytz2020-02-052-80/+0
| | | | | | | https://bugs.python.org/issue39553 Automerge-Triggered-By: @zooba
* bpo-39401: Avoid unsafe DLL load on Windows 7 and earlier (GH-18231)Steve Dower2020-01-291-50/+5
| | | | As Windows 7 is not supported by Python 3.9, we just replace the dynamic load with a static import. Backports will have a different fix to ensure they continue to behave the same.
* bpo-39156: Break up COMPARE_OP into four logically distinct opcodes. (GH-17754)Mark Shannon2020-01-141-1/+2
| | | | | | | | Break up COMPARE_OP into four logically distinct opcodes: * COMPARE_OP for rich comparisons * IS_OP for 'is' and 'is not' tests * CONTAINS_OP for 'in' and 'is not' tests * JUMP_IF_NOT_EXC_MATCH for checking exceptions in 'try-except' statements.
* bpo-39012: Fix RC version suffix for nuget release files (GH-17564)Steve Dower2019-12-101-1/+1
|