Steve Dower
1d3c518c5e
bpo-32457: Improves handling of denormalized executable path when launching Python (GH-5756) ( #5818 )
2018-02-22 12:33:16 -08:00
Steve Dower
ccf7f05c5d
[3.6] bpo-32588 Move _distutils_findvs into its own module (GH-5227) ( #5228 )
2018-01-19 09:09:49 +11:00
Berker Peksag
412f00b839
[3.6] bpo-12239: Make GetProperty() return None for VT_EMPTY (GH-4539)
...
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 19fb134185
)
2017-11-24 19:04:40 +03:00
Miss Islington (bot)
bfa89b21e1
bpo-12382: Make OpenDatabase() raise better exception messages (GH-4528)
...
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 4864a619dc
)
2017-11-24 13:31:21 +03:00
Berker Peksag
4b3042900e
bpo-1102: View.Fetch() now returns None when it's exhausted (GH-4459)
...
(cherry picked from commit bdb8315c21
)
2017-11-23 17:33:12 +03:00
Miss Islington (bot)
ef6f224ae6
Fix a memory leak in _msi.c (GH-4127) ( #4309 )
...
(cherry picked from commit cb04f75182
)
2017-11-07 02:50:41 -08:00
xdegaye
4b27d51222
[3.6] bpo-30697: Fix PyErr_NormalizeException() when no memory (GH-2327). ( #4135 )
...
(cherry picked from commit 56d1f5ca32
)
2017-10-26 17:48:48 +02:00
Serhiy Storchaka
d94ef8fe94
Fix trailing whitespaces in C and Python files. ( #4131 )
2017-10-26 17:00:13 +03:00
Miss Islington (bot)
ef18b0dab9
[3.6] Fixes reference leak (GH-3457) ( #3460 )
...
(cherry picked from commit af8d6b9072
)
2017-09-08 14:26:27 -07:00
Steve Dower
76006f285a
[3.6] bpo-30389 Adds detection of VS 2017 to distutils._msvccompiler GH-1632 ( #3425 )
2017-09-07 13:58:07 -07:00
Steve Dower
d8e522f7cf
bpo-30731: python.manifest fix ( #2328 ) ( #2699 )
...
bpo-30731: python.manifest fix
2017-07-13 21:51:50 +02:00
Serhiy Storchaka
0834905d9b
[3.6] bpo-13617: Reject embedded null characters in wchar* strings. (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 f7eae0adfc
)
2017-06-28 09:27:35 +03:00
Serhiy Storchaka
0edffa3073
[3.6] bpo-30708: Check for null characters in PyUnicode_AsWideCharString(). (GH-2285) ( #2443 )
...
Raise a ValueError if the second argument is NULL and the wchar_t\*
string contains null characters..
(cherry picked from commit e613e6add5
)
2017-06-27 21:08:58 +03:00
Steve Dower
06d6e3d0bb
bpo-30687: Fixes build scripts to find msbuild.exe and stop relying on 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.
2017-06-19 11:12:56 -07:00
Zachary Ware
964c261dc9
[3.6] bpo-27425: Be more explicit in .gitattributes (GH-840) (GH-2083)
...
Also updates checked-in line endings on some files
2017-06-10 15:39:29 -05:00
Xiang Zhang
16416c22f9
bpo-29770: remove outdated PYO related info (GH-590) (GH-612)
2017-03-11 14:07:30 +08:00
Steve Dower
5f9193a6ed
Issue #29326 : Ignores blank lines in ._pth files (Patch by Alexey Izbyshev)
2017-02-04 15:19:29 -08:00
Steve Dower
bf0fc39edb
Issue #29392 : Prevent crash when passing invalid arguments into msvcrt module.
2017-02-04 15:05:40 -08:00
Steve Dower
21fae03e16
Issue #29392 : Prevent crash when passing invalid arguments into msvcrt module.
2017-02-04 15:05:13 -08:00
Serhiy Storchaka
512c57cb72
Issue #27867 : Function PySlice_GetIndicesEx() is replaced with a macro if
...
Py_LIMITED_API is not set or set to the value between 0x03050400
and 0x03060000 (not including) or 0x03060100 or higher.
2017-01-25 13:25:52 +02:00
Serhiy Storchaka
b2a5be0763
Issue #27867 : Function PySlice_GetIndicesEx() is replaced with a macro if
...
Py_LIMITED_API is not set or set to the value between 0x03050400
and 0x03060000 (not including) or 0x03060100 or higher.
2017-01-25 13:23:05 +02:00
Serhiy Storchaka
32665009c3
Issue #23903 : Added missed Windows-specific names to PC/python3.def.
2016-12-27 17:41:07 +02:00
Serhiy Storchaka
e721be1faa
Issue #23903 : Added missed Windows-specific names to PC/python3.def.
2016-12-27 17:38:16 +02:00
Serhiy Storchaka
c70081cfc1
Issue #23903 : Added missed names to PC/python3.def.
2016-12-27 12:13:05 +02:00
Serhiy Storchaka
6664e8c741
Issue #23903 : Added missed names to PC/python3.def.
2016-12-27 12:10:58 +02:00
Serhiy Storchaka
26f15a430f
Issue #23903 : Fixed errors and remove non-existing names in python3.def.
2016-12-27 11:51:15 +02:00
Serhiy Storchaka
d54d3d3d90
Issue #23903 : Fixed errors and remove non-existing names in python3.def.
2016-12-27 11:49:53 +02:00
Serhiy Storchaka
0dc1fa6d22
Sort and remove duplicates from PC/python3.def (issue #23903 ).
2016-12-23 22:11:57 +02:00
Serhiy Storchaka
ab23347916
Sort and remove duplicates from PC/python3.def (issue #23903 ).
2016-12-23 22:09:48 +02:00
Steve Dower
40fa26606d
Issue #25778 : winreg does not truncase string correctly (Patch by Eryk Sun)
2016-12-17 13:30:27 -08:00
Steve Dower
7262b42fd1
Issue #26071 : Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe
2016-12-13 09:06:42 -08:00
Steve Dower
4347881414
Issue #26071 : Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe
2016-12-13 09:06:24 -08:00
Steve Dower
c6dd415252
Issue #28522 : Fixes mishandled buffer reallocation in getpathp.c
2016-10-27 14:28:07 -07:00
Steve Dower
312cef7452
Issue #28217 : Adds _testconsole module to test console input. Fixes some issues found by the tests.
2016-10-03 09:04:58 -07:00
Steve Dower
ed51b26858
Issue #28137 : Renames Windows path file to ._pth
...
Issue #28138 : Windows ._pth file should allow import site
2016-09-17 12:54:06 -07:00
Martin Panter
d508d00919
Issue #28139 : Merge indentation fixes from 3.5 into 3.6
2016-09-17 07:59:14 +00:00
Martin Panter
6d57fe1c23
Issue #28139 : Fix messed up indentation
...
Also update the classmethod and staticmethod doc strings and comments to
match the RST documentation.
2016-09-17 03:26:16 +00:00
Nick Coghlan
944368e1cc
Issue #23722 : Initialize __class__ from type.__new__()
...
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.
2016-09-11 14:45:49 +10:00
Martin Panter
fd13c0fa01
One more spelling fix
2016-09-10 10:45:28 +00:00
Victor Stinner
37e4ef7b17
Issue #27810 : Rerun Argument Clinic on all modules
2016-09-09 20:00:13 -07:00
Steve Dower
f2bdb6b8ca
Issue #27705 : Update message in validate_ucrtbase.py
2016-09-09 18:21:15 -07:00
Steve Dower
2e82bf824e
Issue #27705 : Update message in validate_ucrtbase.py
2016-09-09 18:25:29 -07:00
Zachary Ware
c4b53afce4
Issue #28046 : Remove platform-specific directories from sys.path
2016-09-09 17:59:49 -07:00
Steve Dower
3ceb573a72
Fix call to PathCombineW.
2016-09-09 15:53:58 -07:00
Steve Dower
502893896a
Issue #27874 : Allows use of pythonXX.zip file as landmark on Windows
2016-09-09 14:22:43 -07:00
Steve Dower
6ceda631af
Issue #24594 : Validates persist parameter when opening MSI database
2016-09-09 11:56:34 -07:00
Steve Dower
2a2becc1d1
Merge with 3.5
2016-09-09 12:09:07 -07:00
Steve Dower
4db86bc1b4
Changes pyvenv.cfg trick into an actual sys.path file.
2016-09-09 09:17:35 -07:00
Yury Selivanov
f8cb8a16a3
Issue #27985 : Implement PEP 526 -- Syntax for Variable Annotations.
...
Patch by Ivan Levkivskyi.
2016-09-08 20:50:03 -07:00
Steve Dower
940f33a50f
Issue #23524 : Finish removing _PyVerify_fd from sources
2016-09-08 11:21:54 -07:00