summaryrefslogtreecommitdiffstats
path: root/PC
Commit message (Collapse)AuthorAgeFilesLines
* bpo-9194: Fix the bounds checking in winreg.c's fixupMultiSZ() (GH-12687) ↵Miss Islington (bot)2019-05-021-1/+1
| | | | | | | (GH-12910) (cherry picked from commit 56ed86490cb8221c874d432461d77702437f63e5) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* 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>
* bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. ↵Serhiy Storchaka2018-12-071-2/+10
| | | | | | | | | (GH-11015) (GH-11020) (GH-11026) (cherry picked from commit 4c49da0cb7434c676d70b9ccf38aca82ac0d64a9) (cherry picked from commit 602d307ac5e8a2da38a193dca3bdfef5994dfe67) Co-authored-by: Zackery Spytz <zspytz@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-101-0/+7
| | | | | (cherry picked from commit 4e519377b1b84c9414a360961276993d24198825) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* Add missing va_end() calls in PC/launcher.c (GH-7690)Miss Islington (bot)2018-06-181-0/+2
| | | | | (cherry picked from commit 3a6d752e35ad17fc00bc77b85364b1c599f4e0fe) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-32457: Improves handling of denormalized executable path when launching ↵Steve Dower2018-02-221-1/+34
| | | | Python (GH-5756) (#5818)
* [3.6] bpo-32588 Move _distutils_findvs into its own module (GH-5227) (#5228)Steve Dower2018-01-182-11/+4
|
* [3.6] bpo-12239: Make GetProperty() return None for VT_EMPTY (GH-4539)Berker Peksag2017-11-241-0/+2
| | | | | | | | | The previous behavior was to raise an exception NotImplementedError: result of type 0 when the value of the property is VT_EMPTY. (cherry picked from commit 19fb134185ce155bc53f517116fca73093ba55e9)
* bpo-12382: Make OpenDatabase() raise better exception messages (GH-4528)Miss Islington (bot)2017-11-241-0/+6
| | | | | | | | | | | Previously, 'msilib.OpenDatabase()' function raised a cryptical exception message when it couldn't open or create an MSI file. For example: Traceback (most recent call last): File "<stdin>", line 1, in <module> _msi.MSIError: unknown error 6e (cherry picked from commit 4864a619dc1cc9092780ccf5a6327e8abf66133d)
* bpo-1102: View.Fetch() now returns None when it's exhausted (GH-4459)Berker Peksag2017-11-231-1/+5
| | | | (cherry picked from commit bdb8315c21825487b54852ff0511fb4881ea2181)
* Fix a memory leak in _msi.c (GH-4127) (#4309)Miss Islington (bot)2017-11-071-0/+1
| | | (cherry picked from commit cb04f7518292108d68e5ba4c685ca2bf2da18eab)
* [3.6] bpo-30697: Fix PyErr_NormalizeException() when no memory (GH-2327). ↵xdegaye2017-10-261-1/+0
| | | | | (#4135) (cherry picked from commit 56d1f5ca32892c7643eb8cee49c40c1644f1abfe)
* Fix trailing whitespaces in C and Python files. (#4131)Serhiy Storchaka2017-10-262-4/+4
|
* [3.6] Fixes reference leak (GH-3457) (#3460)Miss Islington (bot)2017-09-081-1/+9
| | | (cherry picked from commit af8d6b90723daa943c5cd0a38ee7564790d8687a)
* [3.6] bpo-30389 Adds detection of VS 2017 to distutils._msvccompiler GH-1632 ↵Steve Dower2017-09-078-1/+1089
| | | | (#3425)
* bpo-30731: python.manifest fix (#2328) (#2699)Steve Dower2017-07-131-5/+5
| | | bpo-30731: python.manifest fix
* [3.6] bpo-13617: Reject embedded null characters in wchar* strings. ↵Serhiy Storchaka2017-06-281-1/+5
| | | | | | | | | | (GH-2302) (#2462) Based on patch by Victor Stinner. Add private C API function _PyUnicode_AsUnicode() which is similar to PyUnicode_AsUnicode(), but checks for null characters.. (cherry picked from commit f7eae0adfcd4c50034281b2c69f461b43b68db84)
* [3.6] bpo-30708: Check for null characters in PyUnicode_AsWideCharString(). ↵Serhiy Storchaka2017-06-271-1/+1
| | | | | | | (GH-2285) (#2443) Raise a ValueError if the second argument is NULL and the wchar_t\* string contains null characters.. (cherry picked from commit e613e6add5f07ff6aad5802924596b631b707d2a)
* bpo-30687: Fixes build scripts to find msbuild.exe and stop relying on ↵Steve Dower2017-06-192-7/+8
| | | | | | vcvarsall.bat (#2252) (#2280) * Fixes build scripts to find msbuild.exe and stop relying on vcvarsall.bat Also fixes bdist_wininst.vcxproj to use correct version in generated name.
* [3.6] bpo-27425: Be more explicit in .gitattributes (GH-840) (GH-2083)Zachary Ware2017-06-101-22/+22
| | | Also updates checked-in line endings on some files
* bpo-29770: remove outdated PYO related info (GH-590) (GH-612)Xiang Zhang2017-03-111-2/+2
|
* Issue #29326: Ignores blank lines in ._pth files (Patch by Alexey Izbyshev)Steve Dower2017-02-041-1/+1
|
* Issue #29392: Prevent crash when passing invalid arguments into msvcrt module.Steve Dower2017-02-041-4/+43
|\
| * Issue #29392: Prevent crash when passing invalid arguments into msvcrt module.Steve Dower2017-02-041-12/+46
| |
* | Issue #27867: Function PySlice_GetIndicesEx() is replaced with a macro ifSerhiy Storchaka2017-01-251-0/+2
|\ \ | |/ | | | | | | Py_LIMITED_API is not set or set to the value between 0x03050400 and 0x03060000 (not including) or 0x03060100 or higher.
| * Issue #27867: Function PySlice_GetIndicesEx() is replaced with a macro ifSerhiy Storchaka2017-01-251-0/+2
| | | | | | | | | | Py_LIMITED_API is not set or set to the value between 0x03050400 and 0x03060000 (not including) or 0x03060100 or higher.
* | Issue #23903: Added missed Windows-specific names to PC/python3.def.Serhiy Storchaka2016-12-271-0/+13
|\ \ | |/
| * Issue #23903: Added missed Windows-specific names to PC/python3.def.Serhiy Storchaka2016-12-271-0/+13
| |
* | Issue #23903: Added missed names to PC/python3.def.Serhiy Storchaka2016-12-271-0/+64
|\ \ | |/
| * Issue #23903: Added missed names to PC/python3.def.Serhiy Storchaka2016-12-271-0/+59
| |
* | Issue #23903: Fixed errors and remove non-existing names in python3.def.Serhiy Storchaka2016-12-271-5/+3
|\ \ | |/
| * Issue #23903: Fixed errors and remove non-existing names in python3.def.Serhiy Storchaka2016-12-271-5/+3
| |
* | Sort and remove duplicates from PC/python3.def (issue #23903).Serhiy Storchaka2016-12-231-25/+24
|\ \ | |/
| * Sort and remove duplicates from PC/python3.def (issue #23903).Serhiy Storchaka2016-12-231-25/+24
| |
* | Issue #25778: winreg does not truncase string correctly (Patch by Eryk Sun)Steve Dower2016-12-171-7/+6
| |
* | Issue #26071: Fixes preprocessor definition and rebuilds ↵Steve Dower2016-12-131-1/+1
|\ \ | |/ | | | | wininst-14.0[-amd64].exe
| * Issue #26071: Fixes preprocessor definition and rebuilds ↵Steve Dower2016-12-131-1/+1
| | | | | | | | wininst-14.0[-amd64].exe
* | Issue #28522: Fixes mishandled buffer reallocation in getpathp.cSteve Dower2016-10-271-4/+15
| |
* | Issue #28217: Adds _testconsole module to test console input. Fixes some ↵Steve Dower2016-10-032-0/+213
| | | | | | | | issues found by the tests.
* | Issue #28137: Renames Windows path file to ._pthSteve Dower2016-09-171-35/+78
| | | | | | | | Issue #28138: Windows ._pth file should allow import site
* | Issue #28139: Merge indentation fixes from 3.5 into 3.6Martin Panter2016-09-171-9/+9
|\ \ | |/
| * Issue #28139: Fix messed up indentationMartin Panter2016-09-171-9/+9
| | | | | | | | | | Also update the classmethod and staticmethod doc strings and comments to match the RST documentation.
* | Issue #23722: Initialize __class__ from type.__new__()Nick Coghlan2016-09-111-1/+1
| | | | | | | | | | | | | | | | | | The __class__ cell used by zero-argument super() is now initialized from type.__new__ rather than __build_class__, so class methods relying on that will now work correctly when called from metaclass methods during class creation. Patch by Martin Teichmann.
* | One more spelling fixMartin Panter2016-09-101-1/+1
| |
* | Issue #27810: Rerun Argument Clinic on all modulesVictor Stinner2016-09-102-26/+26
| |
* | Issue #27705: Update message in validate_ucrtbase.pySteve Dower2016-09-101-2/+3
|\ \ | |/
| * Issue #27705: Update message in validate_ucrtbase.pySteve Dower2016-09-101-2/+3
| |
* | Issue #28046: Remove platform-specific directories from sys.pathZachary Ware2016-09-101-2/+2
| |
* | Fix call to PathCombineW.Steve Dower2016-09-091-1/+1
| |