Commit Graph

1142 Commits

Author SHA1 Message Date
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
Martin Panter b4ce1fc31b Issue #5319: New Py_FinalizeEx() API to exit with status 120 on failure 2015-11-30 03:18:29 +00:00
Benjamin Peterson 860c8a404a merge 3.5 (#25502) 2015-10-28 23:15:22 -07:00
Benjamin Peterson 669ff66c32 remove duplicated imports (closes #25502) 2015-10-28 23:15:13 -07:00
Martin Panter 9955a373a8 Various minor typos in documentation and comments 2015-10-07 10:26:23 +00:00
Steve Dower ebbad80e85 Merge from 3.5 2015-09-22 18:21:13 -07:00
Steve Dower 5f62112db4 Issues #25112: py.exe launcher is missing icons 2015-09-22 18:20:58 -07:00
Steve Dower 8ef1db34bb Merge with 3.5 2015-09-22 17:01:17 -07:00
Steve Dower 3a0f471e5f Issue #25213: Restores requestedExecutionLevel to manifest to disable UAC virtualization. 2015-09-22 14:33:31 -07:00
Victor Stinner ba45295938 ssue #25207: fix ICC compiler warning in msvcrtmodule.c 2015-09-21 22:40:28 +02:00
Zachary Ware d038b78599 Closes #25022: Merge with 3.5 2015-09-10 15:03:02 -05:00
Zachary Ware 018e380d55 Issue #25022: Merge with 3.4 2015-09-10 15:02:14 -05:00
Zachary Ware b54a068204 Issue #25022: Remove PC/example_nt/
It was very much outdated, and the topic is better covered elsewhere.
2015-09-10 14:37:42 -05:00
Zachary Ware 95c0646547 Closes #24953: Merge with 3.5 2015-08-29 00:13:14 -05:00
Zachary Ware 7503ca7b16 Issue #24953: Include ICC version in sys.version string when bulit with ICC on Windows 2015-08-28 23:52:31 -05:00
Serhiy Storchaka ec466a15d9 Fixed indentation of Python examples in C comments. 2015-06-11 00:09:32 +03:00
Serhiy Storchaka 553e156921 Fixed indentation of Python examples in C comments. 2015-06-11 00:07:47 +03:00
Serhiy Storchaka d741a88049 Fixed indentation of Python examples in C comments. 2015-06-11 00:06:39 +03:00
Eric Snow 06a6a83826 Issue #16991: Use the correct version for master. 2015-05-30 14:34:10 -06:00
Eric Snow 59b2f6803c Merge from 3.5. 2015-05-30 14:26:40 -06:00
Eric Snow f3b73ad51d Issue #16991: Add PyODict* to Windows builds. 2015-05-30 14:19:27 -06:00
Yury Selivanov 7aa5341164 Reverting my previous commit.
Something went horribly wrong when I was doing `hg rebase`.
2015-05-30 10:57:56 -04:00
Zachary Ware 41a6a625d4 Update Windows build for 3.6 2015-05-28 17:30:03 -05:00
Steve Dower f64b9d5c71 Fixes handling of long values of PYTHONPATH on Windows. 2015-05-23 17:34:50 -07:00
Steve Dower 11d7b1423f Issue #24268: Adds PyModuleDef_Init and PyModuleDef_Type to python3.def (stable ABI) 2015-05-23 14:44:37 -07:00
Nick Coghlan d5cacbb1d9 PEP 489: Multi-phase extension module initialization
Known limitations of the current implementation:

- documentation changes are incomplete
- there's a reference leak I haven't tracked down yet

The leak is most visible by running:

  ./python -m test -R3:3 test_importlib

However, you can also see it by running:

  ./python -X showrefcount

Importing the array or _testmultiphase modules, and
then deleting them from both sys.modules and the local
namespace shows significant increases in the total
number of active references each cycle. By contrast,
with _testcapi (which continues to use single-phase
initialisation) the global refcounts stabilise after
a couple of cycles.
2015-05-23 22:24:10 +10:00
Steve Dower 4a7fe7e397 Issue #23955: Add pyvenv.cfg option to suppress registry/environment lookup for generating sys.path.
Also cleans up and secures getpathp.c
2015-05-22 15:10:10 -07:00
Zachary Ware f4e6030542 Closes #21931: Merge with 3.4 2015-05-18 00:49:15 -05:00
Zachary Ware 0a29e898cd Issue #21931: Fix error handling in msilib.FCICreate().
Patch by Jeffrey Armstrong.
2015-05-18 00:47:15 -05:00
Steve Dower 71f574f707 Issue #23995: Removes _WCONIO_DEFINED check as the wchar_t console functions are always available. 2015-05-13 19:35:49 -07:00
Zachary Ware 77772c0e7b Issue #20172: Update clinicizations to current clinic. 2015-05-13 10:58:35 -05:00
Zachary Ware 4552089617 Issue #20172: Convert the msvcrt module to Argument Clinic. 2015-05-13 01:22:32 -05:00
Zachary Ware fd2d482272 Issue #20172: Convert the winreg module to Argument Clinic. 2015-05-13 01:21:57 -05:00
Zachary Ware 73f8cfb040 Issue #20172: Convert the winsound module to Argument Clinic. 2015-05-13 01:21:21 -05:00
Zachary Ware 774ac377da Closes #17202: Merge with 3.4 2015-04-13 12:11:40 -05:00
Steve Dower 8fc8980c96 Issue #23524: Replace _PyVerify_fd function with calls to _set_thread_local_invalid_parameter_handler. 2015-04-12 00:26:27 -04:00
Serhiy Storchaka bfbfc8deb2 Removed unintentional trailing spaces in text files. 2015-03-29 19:12:58 +03:00
Serhiy Storchaka 009b811d67 Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
Steve Dower 6dd20c2d52 Removes unused format string insertion in launcher.c. 2015-03-10 19:40:37 -07:00
Steve Dower 13be8c2691 Removes unused format string insertion in launcher.c. 2015-03-10 19:38:25 -07:00
Steve Dower d81431f587 Issue #23524: Replace _PyVerify_fd function with calling _set_thread_local_invalid_parameter_handler on every thread. 2015-03-06 14:47:02 -08:00
Steve Dower 3e96f324dc Issue #23451: Update pyconfig.h for Windows to require Vista headers and remove unnecessary version checks. 2015-03-02 08:01:10 -08:00
Steve Dower 76998fef2c Issue #23465: Implement PEP 486 - Make the Python Launcher aware of virtual environments (patch by Paul Moore) 2015-02-26 14:25:33 -08:00
Steve Dower f63dab5a84 Back-out wcstok deprecation suppression and updates calls to use wcstok_s. 2015-02-25 20:48:01 -08:00
Steve Dower d671213744 Closes #23018: Replace copyright symbol with escape. 2015-02-20 09:08:48 -08:00
Serhiy Storchaka 4d0d982985 Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer
overflows.  Added few missed PyErr_NoMemory().
2015-02-16 13:33:32 +02:00
Serhiy Storchaka 1a1ff29659 Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer
overflows.  Added few missed PyErr_NoMemory().
2015-02-16 13:28:22 +02:00
Steve Dower bb24087a2c Issue #23260: Update Windows installer 2015-02-05 22:08:48 -08:00
Steve Dower 9c13bd9ac2 Updated copyright year (after my patch from last year reverted it) 2015-01-17 14:29:01 -08:00
Steve Dower ab04064756 Issue 23018: Add version info to python[w].exe 2015-01-15 09:10:43 -08:00
Steve Dower 2587952f2f Fixes sys.winver generation and removes dependency on user32.dll 2015-01-15 09:10:16 -08:00
Steve Dower 84bcfb35da Changes %s to %ls in wprintf in launcher.c for C99 compatibility. 2015-01-02 18:07:46 -08:00
Benjamin Peterson 52074ac866 merge 3.4 2014-12-31 18:11:34 -06:00
Benjamin Peterson a453749a78 merge 3.3 2014-12-31 18:11:22 -06:00
Benjamin Peterson 7919acb920 merge 3.2 2014-12-31 18:10:13 -06:00
Benjamin Peterson 47e782a67a update for copyright for 2015 2014-12-31 18:09:36 -06:00
Steve Dower 03a144bb6a #22980 Adds platform and version tags to .pyd files 2014-12-15 20:45:23 -08:00
Steve Dower 89fc3caedb Make bdist_wininst build only on demand 2014-12-15 17:19:27 -08:00
Steve Dower 1f6c29a914 Removes bdist_wininst dependency on MFC. 2014-12-15 15:03:44 -08:00
Benjamin Peterson 25c7d3fb21 give a nice message when installer is launched w/o admin rights (closes #16561) 2014-11-27 20:39:02 -06:00