summaryrefslogtreecommitdiffstats
path: root/PC
Commit message (Collapse)AuthorAgeFilesLines
* gh-96577: Fixes buffer overrun in _msi module (GH-96633) (GH-96659)Miss Islington (bot)2022-09-131-2/+2
| | | | | (cherry picked from commit 4114bcc9ef7595a07196bcecf9c7d6d39f57f64d) Co-authored-by: Steve Dower <steve.dower@python.org>
* Update copyright year to 2022. (GH-30335) (GH-31477)Miss Islington (bot)2022-02-211-1/+1
| | | | | | Automerge-Triggered-By: GH:benjaminp (cherry picked from commit ba00f0d93a4aea85ae8089f139856a7c450584d7) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* Bring Python into the new year. (GH-24036) (GH-24052)Miss Islington (bot)2021-01-011-1/+1
| | | | | (cherry picked from commit de6f20a6de48d63066b2cf5b317f50629f01d74a) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* bpo-41304: Ensure python3x._pth is loaded on Windows (GH-21495) (#21499)Steve Dower2020-07-151-1/+1
|
* [3.7] bpo-29778: Ensure python3.dll is loaded from correct locations when ↵Steve Dower2020-07-061-68/+75
| | | | | | | Python is embedded (GH-21297) (#21298) * bpo-29778: Ensure python3.dll is loaded from correct locations when Python is embedded. * Add CVE number
* bpo-35890: Use RegQueryInfoKeyW and CryptAcquireContextW explicitly (GH-19974)Steve Dower2020-05-182-3/+3
| | | Co-authored-by: Minmin Gong <gongminmin@msn.com>
* bpo-40158: Fix CPython MSBuild Properties in NuGet Package (GH-19343)Miss Islington (bot)2020-04-031-2/+1
| | | | | | Fix default Python home path relative to the NuGet package (cherry picked from commit 6e623ff9d251e0ce86e9b18a01bfd6f067079d7a) Co-authored-by: Chris Martinez <sydefekt@hotmail.com>
* bpo-39930: Convert error to warning for more silent failure (GH-18921)Miss Islington (bot)2020-03-111-0/+4
| | | | | | Makes it an error to create a layout without vcruntime DLL (cherry picked from commit fde44ae6d08d3df79554155b1cf079e73a8fabdd) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.7] bpo-39794: Add --without-decimal-contextvar (GH-18702)Stefan Krah2020-02-291-0/+4
| | | | | | | * bpo-39794: Add --without-decimal-contextvar (#18702) (cherry picked from commit 815280eb160af637e1347213659f9236adf78f80)
* [3.7] bpo-39401: Avoid unsafe DLL load on Windows 7 and earlier (GH-18231) ↵Steve Dower2020-01-301-2/+4
| | | | | | | | | (GH-18232) https://bugs.python.org/issue39401 Automerge-Triggered-By: @zooba
* bpo-32587: Fixes unsafe downcast in PC/winreg.c (GH-15766)Miss Islington (bot)2019-09-091-1/+1
| | | | | (cherry picked from commit ef66f31ce21cd759cc0c618c5c42ba6da0a06834) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-37705: Improve the implementation of winerror_to_errno() (GH-15623)Miss Islington (bot)2019-09-092-109/+137
| | | | | | | | winerror_to_errno() is no longer automatically generated. Do not rely on the old _dosmapperr() function. Add ERROR_NO_UNICODE_TRANSLATION (1113) -> EILSEQ. (cherry picked from commit 19052a11314e7be7ba003fd6cdbb5400a5d77d96) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-32587: Make winreg.REG_MULTI_SZ support zero-length strings (GH-13239)Miss Islington (bot)2019-09-091-16/+25
| | | | | | | | * bpo-32587: Make winreg.REG_MULTI_SZ support PendingFileRenameOperations * Address review comments. (cherry picked from commit e223ba13d8d871ee58570dfca4e82a591189cc2f) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-37445: Include FORMAT_MESSAGE_IGNORE_INSERTS in FormatMessageW() calls ↵Miss Islington (bot)2019-09-091-1/+2
| | | | | | | | (GH-14462) If FormatMessageW() is passed the FORMAT_MESSAGE_FROM_SYSTEM flag without FORMAT_MESSAGE_IGNORE_INSERTS, it will fail if there are insert sequences in the message definition. (cherry picked from commit a6563650c835d50f7302971a5b145e94f9d0dc68) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-27961: Remove leftovers from the times when long long wasn't required ↵Miss Islington (bot)2019-08-221-1/+1
| | | | | | | (GH-15388) (cherry picked from commit a38e9d139929a227e3899fbb638bc46c6cc6d8ba) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
* [3.7] bpo-37730: Fix usage of NotImplemented instead of NotImplementedError ↵Serhiy Storchaka2019-08-042-10/+10
| | | | | | | in docs. (GH-15062). (GH-15106) (cherry picked from commit ed5e8e06cbf766e89d6c58a882ee024abb5b2ed7) Co-authored-by: David H <dheiberg@mozilla.com>
* bpo-37369: Fix path handling when python.exe is used as a symlink (GH-14461)Steve Dower2019-06-291-44/+62
|
* bpo-37369: Fixes path for sys.executable when running from the Microsoft ↵Steve Dower2019-06-282-131/+99
| | | | Store (GH-14450)
* bpo-36672: Fix a compiler warning in winreg.SetValue() (GH-12882)Miss Islington (bot)2019-04-221-1/+1
| | | | | (cherry picked from commit 34366b7f914eedbcc33aebe882098a2199ffaf82) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-9194: Fix the bounds checking in winreg.c's fixupMultiSZ() (GH-12687)Miss Islington (bot)2019-04-221-1/+1
| | | | | (cherry picked from commit 56ed86490cb8221c874d432461d77702437f63e5) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-36649: Remove trailing spaces for registry keys when installed via the ↵Miss Islington (bot)2019-04-171-7/+6
| | | | | | | Store (GH-12865) (cherry picked from commit 4c3efd9cd07194b5db2a60ae5951134cda8b69db) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* bpo-36010: Add venv to the nuget distribution (GH-12367)Miss Islington (bot)2019-03-301-1/+9
| | | | | (cherry picked from commit e724152796a5a41544f52054506c6c2248242a5d) Co-authored-by: Paul Moore <p.f.moore@gmail.com>
* [3.7] bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264). ↵Serhiy Storchaka2019-03-141-3/+3
| | | | | | | (GH-12322) (cherry picked from commit d53fe5f407ff4b529628b01a1bcbf21a6aad5c3a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (GH-12074)Miss Islington (bot)2019-03-071-1/+1
| | | | | (cherry picked from commit bf94cc7b496a379e1f604aa2e4080bb70ca4020e) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-24643: Fix "GH-define timezone _timezone" clashes on Windows (GH-12019)Miss Islington (bot)2019-02-261-7/+0
| | | | | (cherry picked from commit 6673decfa0fb078f60587f5cb5e98460eea137c2) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-34691: Compile _contextvars module into main Python library (GH-11741)Miss Islington (bot)2019-02-021-0/+4
| | | | | (cherry picked from commit 4c70d9f79c9b371990c8e054ccde53f7ff15946b) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* bpo-32560: inherit the py launcher's STARTUPINFO (GH-9000)Miss Islington (bot)2019-02-021-1/+1
| | | | | | https://bugs.python.org/issue32560 (cherry picked from commit cb0904762681031edc50f9d7d7ef48cffcf96d9a) Co-authored-by: Shiva Saxena <shivasaxena911@gmail.com>
* bpo-1104: msilib.SummaryInfo.GetProperty() truncates the string by one ↵Miss Islington (bot)2019-02-021-10/+19
| | | | | | | | | character (GH-4517) Add one char to MsiSummaryInfoGetProperty() output Based on the patch in bpo-1104 by Anthony Tuininga (atuining) and Mark McMahon (markm). (cherry picked from commit 2de576e16d42ce43698d384d0dd46ba6cf165424) Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
* bpo-35811: Avoid propagating venv settings when launching via py.exe (GH-11677)Miss Islington (bot)2019-01-251-0/+11
| | | | | (cherry picked from commit adad9e68013aac166c84ffe4e23f3a5464f41840) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* bpo-35683: Improve Azure Pipelines steps (GH-11493)Steve Dower2019-01-221-0/+2
|
* bpo-35596: Use unchecked PYCs for the embeddable distro to avoid zipimport ↵Miss Islington (bot)2019-01-081-7/+13
| | | | | | | | restrictions (GH-11465) Also adds extra steps to the CI build for Windows on Azure Pipelines to validate that the various layouts at least execute. (cherry picked from commit 872bd2b57ce8e4ea7a54acb3934222c0e4e7276b) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* bpo-35596: Fix vcruntime140.dll being added to embeddable distro multiple ↵Miss Islington (bot)2018-12-281-1/+1
| | | | | | | | times. (GH-11329) https://bugs.python.org/issue35596 (cherry picked from commit 59c2aa25ffc864bf11bf3b3973828f00e268a992) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* bpo-11566: Extension build errors on Windows for _hypot (GH-11283)Miss Islington (bot)2018-12-221-6/+0
| | | | | | | | | | | | | This addresses C extension build errors related to an undefined _hypot symbol when building with the Microsoft Visual C++ Compiler for Python 2.7 [1] or MinGWPy [2]. It also addresses errors when building a C++ extension with MinGWPy and C++11 from cmath, 'error "::hypot' has not been declared' [1] https://www.microsoft.com/en-us/download/details.aspx?id=44266 [2] https://mingwpy.github.io/ (cherry picked from commit 87667c54c6650751c5d7bf7b9e465c8c4af45f71) Co-authored-by: Matt McCormick <matt@mmmccormick.com>
* [3.7] bpo-35489: Use "const Py_UNICODE *" for the Py_UNICODE converter in ↵Serhiy Storchaka2018-12-142-75/+83
| | | | | | AC. (GH-11150). (GH-11151) (cherry picked from commit afb3e71a1710c444fbe789b51df43ee16ee9ede7)
* bpo-34977: Remove unused preprocessor definition (GH-11092)Miss Islington (bot)2018-12-111-12/+0
| | | | | (cherry picked from commit d5a6a389d492c5e3d7933bafbd5252fd86ac4d49) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* bpo-34977: Add Windows App Store package (GH-11027)Steve Dower2018-12-1126-0/+2195
| | | Also adds the PC/layout script for generating layouts on Windows.
* [3.7] bpo-34977: Use venv redirector instead of original python.exe on ↵Steve Dower2018-12-102-16/+215
| | | | Windows (GH-11029)
* bpo-35441: Remove dead and buggy code related to PyList_SetItem(). (GH-11033)Miss Islington (bot)2018-12-081-3/+7
| | | | | | | | | | | | In _localemodule.c and selectmodule.c, remove dead code that would cause double decrefs if run. In addition, replace PyList_SetItem() with PyList_SET_ITEM() in cases where a new list is populated and there is no possibility of an error. In addition, check if the list changed size in the loop in array_array_fromlist(). (cherry picked from commit 99d56b53560b3867844472ae381fb3f858760621) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* Revert "[3.7] bpo-34977: Add Windows App Store package (GH-10245)" (GH-11021)Victor Stinner2018-12-0727-2393/+16
| | | This reverts commit 253209149389e6793a052034e1f2d97691086f18.
* bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. ↵Zackery Spytz2018-12-072-2/+13
| | | | | (GH-11015) (GH-11020) (cherry picked from commit 4c49da0cb7434c676d70b9ccf38aca82ac0d64a9)
* [3.7] bpo-34977: Add Windows App Store package (GH-10245)Steve Dower2018-12-0727-16/+2390
|
* bpo-34532: Fixed exit code for py.exe list versions arg (GH-9039)Miss Islington (bot)2018-11-201-4/+5
| | | | | (cherry picked from commit c8fe9ccf7bfbcf9a2cb48e3b6abacf6ec0e5e58d) Co-authored-by: Brendan Gerrity <brerrity@gmail.com>
* bpo-35067: Remove _distutils_findvs and use vswhere.exe instead. (GH-10095)Miss Islington (bot)2018-10-277-1089/+0
| | | | | (cherry picked from commit 53125a53f483db0af76249b6af6efcdc200eb421) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* bpo-34565: Change a PC/launcher.c comment to accurately describe valid major ↵Miss Islington (bot)2018-10-061-2/+2
| | | | | | | versions. (GH-9037) (GH-9065) (cherry picked from commit 3876af4f7c2ef87db6d2d83efc229955968926dd) Co-authored-by: Brendan Gerrity <brerrity@gmail.com>
* bpo-34770: Fix a possible null pointer dereference in pyshellext.cpp (GH-9497)Miss Islington (bot)2018-09-251-0/+5
| | | | | | | | | The GlobalLock() call in UpdateDropDescription() was not checked for failure. https://bugs.python.org/issue34770 (cherry picked from commit f6c8007a29b95b3ea3ca687a9b4924769a696328) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-23855: Add missing NULL checks for malloc() in _msi.c (GH-9038)Miss Islington (bot)2018-09-071-0/+7
| | | | | (cherry picked from commit 4e519377b1b84c9414a360961276993d24198825) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-34062: Add missing launcher argument and make behavior consistent ↵Miss Islington (bot)2018-08-311-8/+11
| | | | | | | | | between short and long arguments (GH-8827) Added previously missing "--list" argument. Made "--list" and "--list-paths" behavior consistent with the corresponding "-0" and "-0p" arguments. (cherry picked from commit aada63b20ec64bbfc4f2fb0718fc563eedbdd36a) Co-authored-by: Brendan Gerrity <brerrity@gmail.com>
* bpo-34217: Use lowercase header for Windows (GH-8453)Miss Islington (bot)2018-07-301-1/+1
| | | | | (cherry picked from commit 6cf8255912c36fec6f87f62513034d0818f61390) Co-authored-by: erikjanss <erik.janssens@conceptive.be>
* Add missing va_end() calls in PC/launcher.c (GH-7690)Miss Islington (bot)2018-06-151-0/+2
| | | | | (cherry picked from commit 3a6d752e35ad17fc00bc77b85364b1c599f4e0fe) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* [3.7] Add missed details of the C API introduced in 3.7. (GH-7047) (GH-7061)Serhiy Storchaka2018-05-221-0/+2
| | | | | | | | * Set the limited API version for PyImport_GetModule and PyOS_*Fork functions. * Add PyImport_GetModule and Py_UTF8Mode in PC/python3.def. * Add several functions in Doc/data/refcounts.dat. (cherry picked from commit 4e29f566e8821c09d8274eadcdd355e8b1284b8b)