Commit Graph

1201 Commits

Author SHA1 Message Date
Serhiy Storchaka ab23347916 Sort and remove duplicates from PC/python3.def (issue #23903). 2016-12-23 22:09:48 +02:00
Steve Dower bbc5877427 Issue #25778: winreg does not truncase string correctly (Patch by Eryk Sun) 2016-12-17 13:31:58 -08:00
Steve Dower 40fa26606d Issue #25778: winreg does not truncase string correctly (Patch by Eryk Sun) 2016-12-17 13:30:27 -08:00
Yury Selivanov f2392133eb Issue #26110: Add LOAD_METHOD/CALL_METHOD opcodes.
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).
2016-12-13 19:03:51 -05:00
Steve Dower e6bb53bf61 Issue #26071: Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe 2016-12-13 09:06:55 -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 06ba3d34b4 Issue #28522: Fixes mishandled buffer reallocation in getpathp.c 2016-10-27 14:29:13 -07:00
Steve Dower c6dd415252 Issue #28522: Fixes mishandled buffer reallocation in getpathp.c 2016-10-27 14:28:07 -07:00
Steve Dower 4a8ff9ef60 Issue #28217: Adds _testconsole module to test console input. 2016-10-03 09:12:42 -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 64566db065 Merge with 3.6 2016-09-17 12:57:03 -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 369052bb05 Issue #28139: Merge indentation fixes from 3.6 2016-09-17 07:59:32 +00: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
Ned Deily 4829bc6619 Bump to 3.7.0a0 2016-09-12 17:29:04 -04: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
Benjamin Peterson cc854499e4 clinic: PY_LONG_LONG -> long long 2016-09-08 09:29:11 -07:00
Benjamin Peterson 123374463b hardcode sizeof(_Bool) on windows 2016-09-07 11:39:46 -07:00
Christian Heimes 6fe2a75b64 Issue #16113: Add SHA-3 and SHAKE support to hashlib module. 2016-09-07 11:58:24 +02:00
Steve Dower 19ab0fd456 Issue #27731: Opt-out of MAX_PATH on Windows 10 2016-09-06 20:40:11 -07:00
Christian Heimes 7ba8337562 Issue #26798: Hello Winndows, my old friend. I've come to fix blake2 for you again. 2016-09-07 01:45:22 +02:00
Zachary Ware c401881d68 Closes #27982: Allow keyword arguments to winsound functions 2016-09-06 16:32:43 -05:00
Benjamin Peterson ca47063998 replace Py_(u)intptr_t with the c99 standard types 2016-09-06 13:47:26 -07:00
Serhiy Storchaka ea525a2d1a Issue #27078: Added BUILD_STRING opcode. Optimized f-strings evaluation. 2016-09-06 22:07:53 +03:00
Benjamin Peterson 4fe55106d1 require standard int types to be defined (#17884) 2016-09-06 11:58:01 -07:00
Benjamin Peterson af580dff4a replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
Zachary Ware 625cb379f7 Issue #25387: Check return value of winsound.MessageBeep 2016-09-05 17:32:28 -05:00
Larry Hastings 10108a7b9a Issue #27355: Removed support for Windows CE. It was never finished,
and Windows CE is no longer a relevant platform for Python.
2016-09-05 15:11:23 -07:00
Zachary Ware ae8298bfb7 Closes #11620: Fix support for SND_MEMORY in winsound.PlaySound.
Based on a patch by Tim Lesher.
2016-09-05 16:31:21 -05:00
Steve Dower c7d1cf4de9 Issue #27756: Adds new icons for Python files and processes on Windows. Designs by Cherry Wang. 2016-09-05 14:05:17 -07:00
Serhiy Storchaka 9171a8b4ce Issue #27574: Decreased an overhead of parsing keyword arguments in functions
implemented with using Argument Clinic.
2016-08-14 10:52:18 +03:00
Steve Dower edddc2704c Issue #27469: Adds a shell extension to the launcher so that drag and drop works correctly. 2016-07-23 08:02:02 -07:00
Steve Dower 5e24b98fc3 Merge from 3.5 2016-07-17 21:58:11 -07:00
Steve Dower 5852fa3f72 Removes unused files from PC folder. 2016-07-17 21:58:01 -07:00
Steve Dower b6467902aa Issue #27309: Enables proper Windows styles in python[w].exe manifest. 2016-07-17 21:40:06 -07:00
Steve Dower 25f9cf479f Issue #27309: Enables proper Windows styles in python[w].exe manifest. 2016-07-17 21:39:13 -07:00
Steve Dower df450d1a18 Issue #27469: Adds a shell extension to the launcher so that drag and drop works correctly. 2016-07-16 16:17:33 -07:00
Serhiy Storchaka 2954f83999 - Issue #27332: Fixed the type of the first argument of module-level functions
generated by Argument Clinic.  Patch by Petr Viktorin.
2016-07-07 18:20:03 +03:00
Serhiy Storchaka 1a2b24f02d Issue #27332: Fixed the type of the first argument of module-level functions
generated by Argument Clinic.  Patch by Petr Viktorin.
2016-07-07 17:35:15 +03:00
Serhiy Storchaka cf2ad55511 Issue #27286: Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode. Calling
function with generalized unpacking (PEP 448) and conflicting keyword names
could cause undefined behavior.
2016-06-12 09:35:13 +03:00
Serhiy Storchaka 3c317e76a2 Issue #27286: Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode. Calling
function with generalized unpacking (PEP 448) and conflicting keyword names
could cause undefined behavior.
2016-06-12 09:22:01 +03:00
Serhiy Storchaka 6a7506a77f Issue #27140: Added BUILD_CONST_KEY_MAP opcode. 2016-06-12 00:39:41 +03:00
doko@ubuntu.com 87a8bcc221 - Issue #17500, and https://github.com/python/pythondotorg/issues/945: Remove
unused and outdated icons.
2016-06-10 18:23:35 +02:00
doko@ubuntu.com 339880809a - Issue #17500, and https://github.com/python/pythondotorg/issues/945: Remove
unused and outdated icons.
2016-06-10 18:25:42 +02:00
Serhiy Storchaka 5dee6551e2 Issue #26305: Argument Clinic now uses braces in C code as required by PEP 7. 2016-06-09 16:16:06 +03:00
Serhiy Storchaka 877826ad3d Regenerate Argument Clinic code for issue #23026. 2016-06-09 16:01:19 +03:00
Steve Dower 4d4bc42c8b Closes #23026: Documentation improvements and code formatting 2016-05-25 11:26:07 -07:00
Steve Dower 80ac11d01e Issue #23026: winreg.QueryValueEx() now return an integer for REG_QWORD type. (Patch by hakril) 2016-05-24 15:42:04 -07:00
Serhiy Storchaka b0f80b0312 Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode.
Patch by Demur Rumed.
2016-05-24 09:15:14 +03:00
Paul Moore 835416cf7c Issue #27064: The py.exe launcher now defaults to Python 3.
The Windows launcher ``py.exe`` no longer prefers an installed
Python 2 version over Python 3 by default when used interactively.
2016-05-22 12:28:41 +01:00
Steve Dower aa99b8e365 Merge with 3.5 2016-05-16 11:05:00 -07:00
Steve Dower dc953a5078 Fixes magic numbers for 3.6. 2016-05-16 11:04:44 -07:00
Steve Dower 8d0abb9eb6 Issue #26073: Updates magic number comment in _bootstrap_external.py and changes numbers in launcher.py to decimal to match official table. 2016-05-16 09:35:18 -07:00
Steve Dower 7ae61af827 Issue #26073: Updates magic number comment in _bootstrap_external.py and changes numbers in launcher.py to decimal to match official table. 2016-05-16 09:34:20 -07:00
Martin Panter 1ce738e08f Merge typo fixes from 3.5 2016-05-08 14:02:35 +00:00
Martin Panter 4c35964b76 Corrections for a/an in code comments and documentation 2016-05-08 13:53:41 +00:00
Serhiy Storchaka b6a9c9761c Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error
messages.
2016-04-17 09:39:28 +03:00
Serhiy Storchaka 6a7b3a77b4 Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 08:32:47 +03:00
Steve Dower a4d41b3a3e Closes #26624: Adds validation of ucrtbase[d].dll version with warning for old versions. 2016-04-12 20:11:45 -07:00
Steve Dower a7a222fde7 Closes #26624: Adds validation of ucrtbase[d].dll version with warning for old versions. 2016-04-12 20:11:25 -07:00
Steve Dower 765c635dc8 Adds version info to all signed binaries on Windows 2016-04-06 12:36:23 -07:00
Steve Dower b0660582cc Adds version info to all signed binaries on Windows. 2016-04-06 12:35:24 -07:00
Victor Stinner 3aac0adfe0 Cleanup regrtest "main()" function
* Rename libregrtest.main_in_temp_cwd() to libregrtest.main()
* Add regrtest.main_in_temp_cwd() alias to libregrtest.main()
* Move old main_in_temp_cwd() code into libregrtest.Regrtest.main()
* Update multiple scripts to call libregrtest.main()
2016-03-24 17:53:20 +01:00
Victor Stinner e985726553 _msi.c: try to fix compiler warnings 2016-03-23 11:37:41 +01:00
Victor Stinner ccb1f8cb1a getpathp.c: fix compiler warning
wcsnlen_s() result type is size_t.
2016-03-23 11:31:58 +01:00
Steve Dower 709c2aeba6 Issue #26071: bdist_wininst created binaries fail to start and find 32bit Python 2016-01-16 13:55:05 -08:00
Steve Dower 332334f1ab Issue #26071: bdist_wininst created binaries fail to start and find 32bit Python 2016-01-16 13:54:53 -08:00
Steve Dower ca9aab19ab Issue #26073: Update the list of magic numbers in launcher 2016-01-16 13:48:31 -08:00
Steve Dower 87fb7f64d8 Issue #26073: Update the list of magic numbers in launcher 2016-01-16 13:48:06 -08:00
Mark Hammond 32d1e56bda Issue #26070: py.exe launcher fails to find in-place built binaries from earlier Python versions. 2016-01-11 14:53:01 +11:00
Mark Hammond ce543fd795 Issue #26070: py.exe launcher fails to find in-place built binaries from earlier Python versions. 2016-01-11 14:50:22 +11:00
Benjamin Peterson 71db903563 merge 3.5 2016-01-01 10:25:22 -06:00
Benjamin Peterson 4c70293755 merge 3.4 2016-01-01 10:25:12 -06:00
Benjamin Peterson e8c2a957c8 merge 3.3 2016-01-01 10:24:21 -06:00
Benjamin Peterson 75e3630c60 2016 will be another year of writing copyrighted code 2016-01-01 10:23:45 -06:00
Vinay Sajip 40005a7807 Closes #25360: Merged fix from 3.5. 2015-12-26 13:11:38 +00:00
Vinay Sajip a5892abf23 Fixes #25360: Search for pythonw.exe when in pyw.exe. 2015-12-26 13:10:51 +00:00
Vinay Sajip aab9f46c6d Closes #25789: Improved buffering behaviour in launcher. 2015-12-26 12:35:47 +00:00
Serhiy Storchaka be22a911ff Test UTF-32LE before UTF-16LE since UTF-16LE BOM is a prefix of UTF-32LE BOM. 2015-12-18 10:23:29 +02:00
Serhiy Storchaka 29e2aa696d Test UTF-32LE before UTF-16LE since UTF-16LE BOM is a prefix of UTF-32LE BOM. 2015-12-18 10:23:09 +02:00
Serhiy Storchaka f8ed0044f6 Issue #25889: Got rid of warning about mixing signed/unsigned char pointers. 2015-12-18 10:19:30 +02:00
Serhiy Storchaka 9bb0958b23 Issue #25893: Removed unused variable reqdSize.
Added test for return code for the last RegQueryValueExW.
2015-12-18 09:54:59 +02:00
Serhiy Storchaka e0cb9da9d6 Issue #25893: Removed unused variable reqdSize.
Added test for return code for the last RegQueryValueExW.
2015-12-18 09:54:19 +02:00
Vinay Sajip 67dbd0d73c Fixes #25844: Merged fix from 3.5. 2015-12-13 09:45:19 +00:00
Vinay Sajip a1d6f39997 Fixes #25844: Corrected =/== typo potentially leading to crash in launcher. 2015-12-13 09:44:15 +00:00
Vinay Sajip abeb6479bd Fixes #25844: Corrected =/== typo potentially leading to crash in launcher. 2015-12-13 09:41:29 +00:00