summaryrefslogtreecommitdiffstats
path: root/PC
Commit message (Collapse)AuthorAgeFilesLines
* bpo-9566: Change HANDLE argument parsing to unsigned in msvcrtmodule.c (#2904)Segev Finer2017-07-272-5/+5
|
* bpo-9566: Fix some Windows x64 compiler warnings (#2492)Segev Finer2017-07-264-49/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-9566: Silence liblzma warnings * bpo-9566: Silence tcl warnings * bpo-9566: Silence tk warnings * bpo-9566: Silence tix warnings * bpo-9566: Fix some library warnings * bpo-9566: Fix msvcrtmodule.c warnings * bpo-9566: Silence _bz2 warnings * bpo-9566: Fixed some _ssl warnings * bpo-9566: Fix _msi warnings * bpo-9566: Silence _ctypes warnings * Revert "bpo-9566: Fixed some _ssl warnings" This reverts commit a639001c949ba53338a9ee047d2ec1efd2505e6f. * bpo-9566: Also consider NULL as a possible error in HANDLE_return_converter * bpo-9566: whitespace fixes
* bpo-30946: Remove obsolete fallback code in readline module (#2738)Antoine Pitrou2017-07-181-3/+0
| | | | | | | | | | * Remove obsolete fallback code in readline module * Add NEWS * Remove obsolete include * Fix macro on Windows
* bpo-30731: python.manifest fix (#2328)Segev Finer2017-07-131-5/+5
| | | bpo-30731: python.manifest fix
* bpo-29464: Rename METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS and make (#1955)Serhiy Storchaka2017-07-034-99/+31
| | | | | the bare METH_FASTCALL be used for functions with positional-only parameters.
* bpo-29585: Fix sysconfig.get_config_var("PYTHONFRAMEWORK") (GH-2483)INADA Naoki2017-06-291-1/+1
| | | | | | | | | | | `PYTHONFRAMEWORK` is defined in `Makefile` and it shoulnd't be used in `pyconfig.h`. `sysconfig.py --generate-posix-vars` reads config vars from Makefile and `pyconfig.h`. Conflicting variables should be avoided. Especially, string config variables in Makefile are unquoted, but in `pyconfig.h` are keep quoted. So it should be private (starts with underscore).
* bpo-23451: Fix socket deprecation warnings in socketmodule.c (#2318)Segev Finer2017-06-281-0/+3
| | | | | | | | | | | | | | | | | | * bpo-23451: Fix WSASocket and WSADuplicateSocket deprecation warnings * bpo-23451: Add backwards compatibility note about socket share/fromshare * bpo-23451: Fixed `WSAAddressToString`/`WSAStringToAddress` deprecation warnings * bpo-23451: Use `inet_pton`/`inet_ntop` instead of `WSAAddressToString`/`WSAStringToAddress` * bpo-23451: Move `HAVE_INET_PTON` from _socket.vcxproj to pyconfig.h * bpo-23451: Add SUPPRESS_DEPRECATED_CALL to socketmodule.c * bpo-23451: Add a NEWS.d entry * bpo-23451: Corrected NEWS.d entry
* bpo-30362 : Add list options to launcher. (#1578)Steve (Gadget) Barnes2017-06-281-43/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-30362 Add list options to launcher. * bpo-30362 Add list options to help message. * To avoid possible later conflict with python replaced flags with --launcher-list and --launcher-list-paths * bpo-30362 Changed flag to -0 as suggested on review. * bpo-30362: Modified to default to not path for -0, -0p to dispaly path and append * to default * bpo-30362: Modified to display list on required version not found. * bpo-30362 add --list and --list-paths added back in following review by paul.moore * bpo-30362 Cleaner handing of -0 & -0p by not calling exit directly per review by @zooba * bpo-30362: Tidy up and add news & what's new Removed commented out line of code in PC/launcher.c. Added the results of using blurb to add details of bpo-30362 & bpo-30291. Updated Doc/whatsnew/3.7.rst to add a Windows only section covering both tickets. * bpo-30362 Resolve conflict in Doc/whatsnew/3.7.rst * bpo-30362:Address Whitespace Issue in Doc\whatsnew\3.7.rst * Shorten NEWS message for bpo-30362 * Shorten NEWS item for bpo-30291
* bpo-29585: Define PYTHONFRAMEWORK in PC/pyconfig.h (#2477)Victor Stinner2017-06-281-49/+52
| | | | | | | | | | * bpo-29585: Fix PC/pyconfig.h whitespaces Run "make patchcheck". * bpo-29585: Define PYTHONFRAMEWORK in PC/pyconfig.h * site: Fix path separator in _get_path() on Windows
* Fix compiler warnings on Windows introduced in bpo-13617. (#2464)Serhiy Storchaka2017-06-281-1/+1
|
* [security] bpo-13617: Reject embedded null characters in wchar* strings. (#2302)Serhiy Storchaka2017-06-281-1/+5
| | | | | | | Based on patch by Victor Stinner. Add private C API function _PyUnicode_AsUnicode() which is similar to PyUnicode_AsUnicode(), but checks for null characters.
* bpo-30687: Fixes build scripts to find msbuild.exe and stop relying on ↵Steve Dower2017-06-192-7/+8
| | | | | | vcvarsall.bat (#2252) * 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.
* bpo-27425: Be more explicit in .gitattributes (GH-840)Zachary Ware2017-06-101-22/+22
| | | Updates checked-in line endings on several files.
* bpo-30600: Fix error messages (condition order in Argument Clinic) (#2051)Sylvain2017-06-102-53/+53
| | | | | | | | The function '_PyArg_ParseStack()' and '_PyArg_UnpackStack' were failing (with error "XXX() takes Y argument (Z given)") before the function '_PyArg_NoStackKeywords()' was called. Thus, the latter did not raise its more meaningful error : "XXX() takes no keyword arguments".
* bpo-29102: Add a unique ID to PyInterpreterState. (#1639)Eric Snow2017-05-231-0/+1
|
* bpo-30291 Changes to launcher so as to allow py -3-32, -2.7-64, 3.10, etc.Steve (Gadget) Barnes2017-05-121-40/+70
| | | bpo-30291 Changes to launcher so as to allow py -3-32, -2.7-64, 3.10, etc.
* bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051)Serhiy Storchaka2017-04-162-15/+15
|
* Use NULL rather than 0. (#778)Serhiy Storchaka2017-03-231-1/+1
| | | | | There was few cases of using literal 0 instead of NULL in the context of pointers. While this was a legitimate C code, using NULL rather than 0 makes the code clearer.
* bpo-26121: Use C library implementation for math functions erf() and erfc() ↵Serhiy Storchaka2017-03-121-0/+6
| | | | on Windows. (#632)
* bpo-29770: remove outdated PYO related info (GH-590)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 #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-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 deprecated and replaced withSerhiy Storchaka2017-01-251-0/+2
|\ \ \ | |/ / | | | | | | | | | | | | a macro if Py_LIMITED_API is not set or set to the value between 0x03050400 and 0x03060000 (not including) or 0x03060100 or higher. Added functions PySlice_Unpack() and PySlice_AdjustIndices().
| * | 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 #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE whereverSerhiy Storchaka2017-01-231-24/+12
| | | | | | | | | | | | possible. Patch is writen with Coccinelle.
* | | Run Argument Clinic: METH_VARARGS=>METH_FASTCALLVictor Stinner2017-01-174-55/+123
| | | | | | | | | | | | | | | Issue #29286. Run Argument Clinic to get the new faster METH_FASTCALL calling convention for functions using only positional arguments.
* | | Rename _PyArg_ParseStack to _PyArg_ParseStackAndKeywordsVictor Stinner2017-01-173-10/+10
| | | | | | | | | | | | Issue #29286.
* | | 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 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/+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
| |\ \ | | |/
| | * 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
| |\ \ | | |/
| | * 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 #25778: winreg does not truncase string correctly (Patch by Eryk Sun)Steve Dower2016-12-171-7/+6
| | |
* | | Issue #26110: Add LOAD_METHOD/CALL_METHOD opcodes.Yury Selivanov2016-12-141-0/+1
| | | | | | | | | | | | | | | | | | | | | Special thanks to INADA Naoki for pushing the patch through the last mile, Serhiy Storchaka for reviewing the code, and to Victor Stinner for suggesting the idea (originally implemented in the PyPy project).
* | | 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 #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
|\ \ \ | |/ /