Serhiy Storchaka
55fe1ae970
bpo-30022: Get rid of using EnvironmentError and IOError (except test… ( #1051 )
2017-04-16 10:46:38 +03:00
Serhiy Storchaka
0b3ec19225
Use NULL rather than 0. ( #778 )
...
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.
2017-03-23 17:53:47 +02:00
Serhiy Storchaka
4dadcd4ed7
bpo-26121: Use C library implementation for math functions erf() and erfc() on Windows. ( #632 )
2017-03-12 13:39:22 +02:00
Xiang Zhang
0710d75425
bpo-29770: remove outdated PYO related info (GH-590)
2017-03-11 13:02:52 +08:00
Steve Dower
824c6fdfaa
Issue #29326 : Ignores blank lines in ._pth files (Patch by Alexey Izbyshev)
2017-02-04 15:19:46 -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
38dbaced03
Issue #29392 : Prevent crash when passing invalid arguments into msvcrt module.
2017-02-04 15:05:50 -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
6e08baf12d
Issue #27867 : Function PySlice_GetIndicesEx() is deprecated and 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. Added functions
PySlice_Unpack() and PySlice_AdjustIndices().
2017-01-25 13:27:44 +02: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
228b12edcc
Issue #28999 : Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever
...
possible. Patch is writen with Coccinelle.
2017-01-23 09:47:21 +02:00
Victor Stinner
259f0e4437
Run Argument Clinic: METH_VARARGS=>METH_FASTCALL
...
Issue #29286 . Run Argument Clinic to get the new faster METH_FASTCALL calling
convention for functions using only positional arguments.
2017-01-17 01:35:17 +01:00
Victor Stinner
3e1fad6913
Rename _PyArg_ParseStack to _PyArg_ParseStackAndKeywords
...
Issue #29286 .
2017-01-17 01:29:01 +01:00
Serhiy Storchaka
683cb8347a
Issue #23903 : Added missed Windows-specific names to PC/python3.def.
2016-12-27 17:44:18 +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
fd54a74539
Issue #23903 : Added missed names to PC/python3.def.
2016-12-27 12:17:41 +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
b6dc37e88d
Issue #23903 : Fixed errors and remove non-existing names in python3.def.
2016-12-27 11:51:56 +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
1dd81012e9
Sort and remove duplicates from PC/python3.def (issue #23903 ).
2016-12-23 22:13:29 +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
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
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
Steve Dower
65e4cb10d9
Issue #22919 : Windows build updated to support VC 14.0 (Visual Studio 2015), which will be used for the official 3.5 release.
2014-11-22 12:54:57 -08:00
Benjamin Peterson
2292defb3d
merge 3.4 ( #16561 )
2014-11-27 20:41:36 -06:00
Victor Stinner
f427a14156
Issue #22592 : Drop support of the Borland C compiler to build Python
...
The distutils module still supports it to build extensions.
2014-10-22 12:33:23 +02:00
Georg Brandl
edc3cbaaba
Copyright year update, add version to licenses.
2014-10-04 14:16:59 +02:00
Antoine Pitrou
0676a406bf
Issue #18711 : Add a new `PyErr_FormatV` function, similar to `PyErr_Format` but accepting a `va_list` argument.
2014-09-30 21:16:27 +02:00
Zachary Ware
54701f303f
Issue #21958 : Merge with 3.4
2014-07-25 14:47:29 -05:00
Zachary Ware
64ba60aa57
Issue #21958 : Define HAVE_ROUND when building with VS 2013 and above.
...
Patch by Zachary Turner.
2014-07-25 14:34:19 -05:00
Zachary Ware
d8b129f279
Closes #21151 : Merge with 3.4
2014-07-03 11:03:46 -05:00
Zachary Ware
ad4690fcca
Issue #21151 : Fixed a segfault in the winreg module.
...
When ``None`` was passed as a ``REG_BINARY`` value to SetValueEx,
PyMem_DEL was called on an uninitialized buffer. Patch by John Ehresman.
(Also an incidental typo fix in a comment in test_winreg)
2014-07-03 10:58:06 -05:00
Zachary Ware
dbb7aa5bd1
Closes #21713 : Merge with 3.4
2014-06-11 15:28:31 -05:00
Zachary Ware
732ac3214b
Issue #21713 : Fix typo in a comment. Found by Joseph Shen.
2014-06-11 15:27:04 -05:00
Martin v. Löwis
b9e71d4a55
Merge with 3.4
2014-05-01 15:18:43 +02:00
Martin v. Löwis
3d5c9e2c67
Update to 1.0.1g
2014-05-01 14:28:48 +02:00
Brett Cannon
be9acefc6b
Finish up signal -> _signal change
2014-04-04 10:36:43 -04:00
Giampaolo Rodola'
e09fb7198a
fix #21076 : turn signal module constants into enums
2014-04-04 15:34:17 +02:00
Zachary Ware
6373ba5199
Bump Windows build to 3.5
2014-03-17 15:57:38 -05:00
Victor Stinner
9cb1ec5fb5
Issue #20908 : PyMem_Malloc() must be used with PyMem_Free(), not with free()
2014-03-13 19:08:10 +01:00
Jesus Cea
58c767fa30
MERGE: Closes #20908 : Memory leak in Reg2Py()
2014-03-13 17:38:20 +01:00
Jesus Cea
782c4cf155
Closes #20908 : Memory leak in Reg2Py()
2014-03-13 17:35:32 +01:00
Martin v. Löwis
09257f7ced
Issue #20465 : Update Windows installer to SQLite 3.8.3.1.
2014-03-02 19:42:50 +01:00
Zachary Ware
52855719f5
Issue #20221 : Removed conflicting (or circular) hypot definition
...
when compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.
2014-02-20 15:39:29 -06:00
Zachary Ware
2d659518aa
Issue #20221 : Removed conflicting (or circular) hypot definition
...
when compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.
2014-02-20 15:36:34 -06:00
Larry Hastings
71d4e44fd7
Add PyType_GetSlot to python3 def file. Patch courtesy Martin v. Löwis.
2014-02-10 14:40:04 -08:00
Serhiy Storchaka
18cc3da508
Issue #19936 : Remove executable bits from C source files and several forgotten
...
test files.
2014-01-16 18:50:53 +02:00
Serhiy Storchaka
7f470d0f9c
Issue #19936 : Remove executable bits from C source files and several forgotten
...
test files.
2014-01-16 18:48:45 +02:00
Martin v. Löwis
8d805d751b
Regenerate python34stub.def.
2014-01-04 11:20:45 +01:00
Martin v. Löwis
7476289873
Issue #17432 : Drop UCS2 from names of Unicode functions in python3.def.
2014-01-04 10:01:42 +01:00
Martin v. Löwis
dd3c36d125
Merge 3.3
2014-01-04 11:21:15 +01:00
Martin v. Löwis
6087646ec0
Merge with 3.3: Issue #17432 : Drop UCS2 from names of Unicode functions in python3.def.
2014-01-04 10:06:28 +01:00
Martin v. Löwis
24e43308b7
* Issue #16113 : Remove sha3 module again.
...
Patch by Christian Heimes, with modifications.
2014-01-03 14:05:06 +01:00
Benjamin Peterson
a015bb1e2b
merge 3.3
2013-12-31 22:02:41 -06:00
Benjamin Peterson
fa10ae0978
update copyright year
2013-12-31 22:02:22 -06:00
Christian Heimes
71135ac72d
Add _opcode to Windows build env
2013-11-24 01:11:57 +01:00
Victor Stinner
ed3b0bca3e
Issue #18874 : Implement the PEP 454 (tracemalloc)
2013-11-23 12:27:24 +01:00
Martin v. Löwis
baacf4d293
Update xz to 5.0.5.
2013-11-22 19:13:51 +01:00
Martin v. Löwis
bc2f0ba6b8
Update SQLite to 3.8.1 on Windows.
2013-11-22 18:36:28 +01:00
Christian Heimes
552e6c7284
Issue #17791 : Drop PREFIX and EXEC_PREFIX definitions from PC/pyconfig.h
2013-11-20 17:40:31 +01:00
Christian Heimes
888dcc32cd
Add workaround for VS 2010 nmake clean issue. VS 2010 doesn't set up PATH for nmake.exe correctly.
2013-11-20 00:50:38 +01:00
Christian Heimes
2658dd7cab
Add workaround for VS 2010 nmake clean issue. VS 2010 doesn't set up PATH for nmake.exe correctly.
2013-11-20 00:41:29 +01:00
Victor Stinner
6715828d89
_msi.c: Fix compiler warnings on Windows 64-bit
...
"hf" type is INT_PTR, it is used to store an int in _msi.c.
2013-11-20 00:14:49 +01:00
Vinay Sajip
9c10d6b800
Issue #19504 : Used American spelling for 'customize'.
2013-11-15 20:58:13 +00:00
Vinay Sajip
56b04352f8
Issue #19504 : Used American spelling for 'customize'.
2013-11-15 20:58:47 +00:00
Tim Golden
f2f48c5620
Issue 15792 Correct build options on Win64. Patch by Jeremy Kloth.
2013-10-29 21:02:25 +00:00
Tim Golden
bb4b0aa51b
Issue 15792 Correct build options on Win64. Patch by Jeremy Kloth.
2013-10-27 20:04:12 +00:00
Serhiy Storchaka
8444ebbd72
Issue #18685 : Extract template part of _sre.c into separated sre_lib.h file.
2013-10-26 11:18:42 +03:00
Christian Heimes
c20bcde58d
Issue #18527 : Upgrade internal copy of zlib to 1.2.8
2013-10-21 12:03:09 +02:00
Victor Stinner
daf455554b
Issue #18571 : Implementation of the PEP 446: file descriptors and file handles
...
are now created non-inheritable; add functions os.get/set_inheritable(),
os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
2013-08-28 00:53:59 +02:00
Serhiy Storchaka
46e1ce214b
Issue #18783 : Removed existing mentions of Python long type in docstrings,
...
error messages and comments.
2013-08-27 20:17:03 +03:00
Serhiy Storchaka
9594942716
Issue #18783 : Removed existing mentions of Python long type in docstrings,
...
error messages and comments.
2013-08-27 19:40:23 +03:00
Serhiy Storchaka
8fa8ee3970
Issue #18701 : Remove support of old CPython versions (<3.0) from C code.
2013-08-17 00:48:02 +03:00
Vinay Sajip
c985d08e51
Closes #18491 : Added script-wrapper functionality to launcher source (but not to executable).
2013-07-25 11:20:55 +01:00
Victor Stinner
b64049183c
Issue #18203 : Replace malloc() with PyMem_Malloc() in Python modules
...
Replace malloc() with PyMem_Malloc() when the GIL is held, or with
PyMem_RawMalloc() otherwise.
2013-07-07 16:21:41 +02:00
Victor Stinner
1a7425f67a
Issue #18203 : Replace malloc() with PyMem_RawMalloc() at Python initialization
...
* Replace malloc() with PyMem_RawMalloc()
* Replace PyMem_Malloc() with PyMem_RawMalloc() where the GIL is not held.
* _Py_char2wchar() now returns a buffer allocated by PyMem_RawMalloc(), instead
of PyMem_Malloc()
2013-07-07 16:25:15 +02:00
Christian Heimes
c44ff863b8
add _stat to list of builtin Windows modules
2013-06-23 15:46:56 +02:00
Christian Heimes
c77d9f38c2
Issue #11016 : Add C implementation of the stat module as _stat
2013-06-22 21:05:02 +02:00
Christian Heimes
13728a57c8
comparing with http://hg.python.org/cpython/
...
searching for changes
changeset: 84118:98343392fd81
tag: tip
user: Christian Heimes <christian@cheimes.de>
date: Fri Jun 14 14:54:48 2013 +0200
files: PC/VS9.0/_socket.vcproj PC/VS9.0/_ssl.vcproj
description:
Fix compilation of Python with VS 2008
Contrary to VS 2010 the compiler doesn't like semicolon seperated
dependency names
2013-06-14 15:01:03 +02:00
Christian Heimes
46bebee25f
Issue #17134 : Add ssl.enum_cert_store() as interface to Windows' cert store.
2013-06-09 19:03:31 +02:00
Vinay Sajip
22c039bf50
Issue #17903 : Added path search changes to launcher.
2013-06-07 15:37:28 +01:00
Richard Oudkerk
ac0ad884d1
Issue #17931 : Resolve confusion on Windows between pids and process handles.
2013-06-05 23:29:30 +01:00
Victor Stinner
8bda465cae
Issue #9566 : Fix compiler warning on Windows 64-bit
2013-06-05 00:22:34 +02:00
Victor Stinner
7e91e771a9
Close #17931 : Fix PyLong_FromPid() on Windows 64-bit: processes are identified
...
by their HANDLE which is a pointer (and not a long, which is smaller).
2013-06-04 23:56:38 +02:00
Charles-Francois Natali
74ca886788
Issue #17917 : Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant()
...
when applicable.
2013-05-20 19:13:19 +02:00
Georg Brandl
3bfc5f5d83
merge with 3.3
2013-05-12 19:57:26 +02:00
Georg Brandl
84fc4ba67e
Closes #17962 : Build with OpenSSL 1.0.1e on Windows.
2013-05-12 19:50:34 +02:00
Antoine Pitrou
a85017fbe3
Issue #16694 : Add a pure Python implementation of the operator module.
...
Patch by Zachary Ware.
2013-04-20 19:21:44 +02:00
Serhiy Storchaka
e2cef885a2
Issue #16061 : Speed up str.replace() for replacing 1-character strings.
2013-04-13 22:45:04 +03:00
Victor Stinner
247109e74d
Issue #17615 : On Windows (VS2010), Performances of wmemcmp() to compare Unicode
...
strings are not convincing. For UCS2 (16-bit wchar_t type), use a dummy loop
instead of wmemcmp(). The dummy loop is as fast, or a little bit faster.
wchar_t is only 16-bit long on Windows. wmemcmp() is still used for 32-bit
wchar_t.
2013-04-09 23:53:26 +02:00
Victor Stinner
cd777eaf53
Issue #17615 : Comparing two Unicode strings now uses wmemcmp() when possible
...
wmemcmp() is twice faster than a dummy loop (342 usec vs 744 usec) on Fedora
18/x86_64, GCC 4.7.2.
2013-04-08 22:43:44 +02:00
Georg Brandl
98297f4807
merge with 3.3
2013-04-06 16:47:34 +02:00
Georg Brandl
2fd4abe6a1
merge with 3.2 branch
2013-04-06 16:39:49 +02:00
Georg Brandl
4eb5f1a567
merge with main repo 3.2 branch
2013-03-25 06:56:31 +01:00
Martin v. Löwis
5fe5b4ead3
#17425 : merge 3.3
2013-03-24 22:53:04 +01:00
Martin v. Löwis
005fb742b9
Fix typo
2013-03-24 22:52:14 +01:00
Martin v. Löwis
cc0b927b74
Issue #17425 : Build with openssl 1.0.1d on Windows.
2013-03-24 22:45:50 +01:00
Martin v. Loewis
5be6d74a0d
Issue #17425 : Build with openssl 1.0.0k on Windows.
2013-03-24 22:03:30 +01:00
Gregory P. Smith
d6f1d1647b
Fixes issue4653 - Correctly specify the buffer size to FormatMessageW and
...
correctly check for errors on two CreateFileMapping calls.
2013-03-23 16:06:06 -07:00
Gregory P. Smith
b803c6c4b8
Fixes issue4653 - Correctly specify the buffer size to FormatMessageW and
...
correctly check for errors on two CreateFileMapping calls.
2013-03-23 16:05:36 -07:00
Georg Brandl
a7d2f0061f
Copyright update to 2013.
2013-03-23 16:06:13 +01:00
Vinay Sajip
8ff7f7207c
Closes #17290 : Merged fix from 3.3.
2013-02-26 16:29:46 +00:00
Vinay Sajip
66fef9f049
Closes #17290 : Loading cursor now does not persist when launching GUI scripts.
2013-02-26 16:29:06 +00:00
Vinay Sajip
404229b02d
Fix compilation error under Windows.
2013-01-29 22:52:57 +00:00
Vinay Sajip
2ae8c6316f
Closes #17028 : Allowed Python arguments to be supplied to launcher.
2013-01-29 22:29:25 +00:00
Martin v. Löwis
e5581f9d68
Identify the ARM compiler.
2013-01-29 18:17:05 +01:00
Brian Curtin
591c4282d7
Fix #16769 . Remove outdated Visual Studio project directories for VC6, VS7.1, and VS8.
2013-01-25 17:11:34 -06:00
Martin v. Löwis
b26a9b10ea
Replace WaitForSingleObject with WaitForSingleObjectEx,
...
for better WinRT compatibility.
2013-01-25 14:25:48 +01:00
Martin v. Löwis
3f50bf652b
Drop support for Windows 2000; allow any XP API (but not Vista+).
...
Drop SDK version configuration for Tk compilation, to not bind it to W2k
anymore. Binding it to XP would conflict with Tk's own binding of tkMenu to W2k.
2013-01-25 14:06:18 +01:00
Brian Curtin
f8704fb24e
Merge 3.3
2012-12-27 14:06:38 -06:00
Brian Curtin
e6bfa2911a
Merge 3.2
2012-12-27 14:06:06 -06:00
Brian Curtin
172e42295f
Fix #16759 . Convert DWORD registry values using PyLong_FromUnsignedLong.
...
When converting REG_DWORD registry values into Python ints, the conversion
needs to be made from an *unsigned* long to match the DWORD type.
2012-12-27 14:04:42 -06:00
Brian Curtin
4482b01d23
Merge 3.3
2012-12-27 10:15:54 -06:00
Brian Curtin
62cf69ec7c
Merge 3.2
2012-12-27 10:14:30 -06:00
Brian Curtin
12706f2082
Fix #14420 . Use PyLong_AsUnsignedLong to support the full range of DWORD.
...
This fixes an OverflowError seen in winreg.SetValueEx when passed
winreg.REG_DWORD values that should be supported by the underlying API.
2012-12-27 10:12:45 -06:00
Andrew Svetlov
3ba3a3ee56
Issue #15422 : get rid of PyCFunction_New macro
2012-12-25 13:32:35 +02:00
Brian Curtin
abb4f4814e
Fix #14470 . Remove mentions of w9xpopen on old versions of Visual Studio.
2012-12-24 10:44:31 -06:00
Brian Curtin
445ad997ab
Fix #14470 . Remove w9xpopen per PEP 11.
...
As stated in PEP 11, 3.4 removes code on Windows platforms where
COMSPEC points to command.com. The w9xpopen project in Visual Studio
was added to support that case, and there was a special case in subprocess
to cover that situation. This change removes the w9xpopen project from
the Visual Studio solution and removes any references to the w9xpopen
executable.
2012-12-23 16:53:21 -06:00
Andrew Svetlov
2606a6f197
Issue #16719 : Get rid of WindowsError. Use OSError instead
...
Patch by Serhiy Storchaka.
2012-12-19 14:33:35 +02:00
Andrew Svetlov
6b2cbeba58
Issue #16421 : allow to load multiple modules from the same shared object.
...
Patch by Václav Šmilauer.
2012-12-14 17:04:59 +02:00
Andrew Svetlov
0a4dfc3db9
Merge issue #16197 : Fix several small errors in winreg documentation.
...
Initial patch by Zachary Ware.
2012-10-31 19:30:00 +02:00
Andrew Svetlov
616f8035a8
Issue #16197 : Fix several small errors in winreg documentation.
...
Initial patch by Zachary Ware.
2012-10-31 19:29:33 +02:00
Brian Curtin
a5e7cd06bb
Merge 3.3
2012-10-29 18:20:18 -05:00
Brian Curtin
6b879fa402
Merge 3.2
2012-10-29 18:18:43 -05:00
Brian Curtin
e9aeca7c24
Fix #16197 . Update docstrings and documentation to match winreg code.
...
Patch by Zachary Ware.
2012-10-29 18:16:39 -05:00
Christian Heimes
8a915499f6
backout ce9c9cbd1b11, Build the _sha3 module with VS 2008
2012-10-21 21:26:38 +02:00
Christian Heimes
a3bc779fb1
Add VS 9 project file for _sha3 module
2012-10-21 21:22:26 +02:00
Antoine Pitrou
ca4a52513b
Build the _sha3 module with VS 2008.
2012-10-21 17:21:04 +02:00
Jesus Cea
f1af705720
#16135 : Removal of OS/2 support (Remove OS2 and OS/2 references)
2012-10-05 02:48:46 +02:00
Jesus Cea
b176203dda
#16135 : Removal of OS/2 support (C code and Docs)
2012-10-05 02:27:40 +02:00
Jesus Cea
ab70e2ab32
#16135 : Removal of OS/2 support (posixmodule y platform dependent files)
2012-10-05 01:48:08 +02:00
Georg Brandl
08a9012352
Bump version to 3.4.0 alpha 0.
2012-09-29 09:34:13 +02:00
Martin v. Löwis
a562ed012d
Issue #8847 : Merge with 3.2
2012-08-01 11:09:55 +02:00
Martin v. Löwis
75aeaa9b18
Issue #11626 : Add _SizeT functions to stable ABI.
2012-06-24 00:00:30 +02:00
Martin v. Löwis
9c56409d33
Issue #15146 : Add PyType_FromSpecWithBases. Patch by Robin Schreiber.
2012-06-23 23:20:45 +02:00
Martin v. Löwis
1641cea02b
Issue #15150 : regenerate python3stub.def.
2012-06-23 19:56:19 +02:00
Martin v. Löwis
2c30ee1bd8
Merge with 3.2
2012-06-23 19:51:48 +02:00
Martin v. Löwis
7349eb27d7
The build target of this makefile is python3.dll, not python32.dll.
2012-06-23 19:36:08 +02:00
Martin v. Löwis
7800f75827
Issue #15042 : Add PyState_AddModule and PyState_RemoveModule.
...
Add version guard for Py_LIMITED_API additions.
Issue #15081 : Document PyState_FindModule.
Patch by Robin Schreiber.
2012-06-22 12:20:55 +02:00
Brian Curtin
fe078f7920
branch merge
2012-06-21 16:36:05 -05:00
Brian Curtin
6b2cf01744
Remove associator project - it's not needed
2012-06-21 16:35:12 -05:00
Martin v. Löwis
6a8ca3edfd
Remove the original license, as this was contributed under Vinay Sajip's agreement.
2012-06-21 19:29:37 +02:00
Martin v. Löwis
af21ebb424
Fix UNICODE glitch.
2012-06-21 18:15:54 +02:00
Martin v. Löwis
91a3468f45
Fix off-by-one error.
2012-06-21 17:36:15 +02:00
Martin v. Löwis
f36d65c7c8
Use GetEnvironmentVariableW instead of _wgetenv to silence VC warnings.
2012-06-21 16:33:09 +02:00
Martin v. Löwis
56bf6f8202
Add version resource.
2012-06-21 16:27:58 +02:00
Brian Curtin
9698bde3c2
Add associator
2012-06-20 22:48:54 -05:00
Brian Curtin
07165f73c4
Add launcher source and resources
2012-06-20 15:36:14 -05:00
Antoine Pitrou
58440c91ce
Issue #15070 : fix VS9.0 build regression
2012-06-14 21:51:12 +02:00
Vinay Sajip
7ded1f0f69
Implemented PEP 405 (Python virtual environments).
2012-05-26 03:45:29 +01:00
Martin v. Löwis
e01eb4cc80
Upgrade OpenSSL to 1.0.1c
2012-05-18 16:29:33 +02:00
Martin v. Löwis
3f90311bfe
merge 3.2
2012-05-18 15:34:22 +02:00
Martin v. Löwis
3407dfbaf9
Upgrade OpenSSL to 1.0.0j
2012-05-18 15:28:01 +02:00
Stefan Krah
f398a94818
Issue 14813: Fix Visual Studio 2008 build after the move into the PC/VS9.0
...
directory.
2012-05-17 00:21:57 +02:00
Martin v. Löwis
29e861d155
Upgrade sqlite to 3.7.12.
2012-05-14 16:51:35 +02:00
Martin v. Löwis
87960da3e3
Upgrade bzip2 to 1.0.6.
2012-05-14 14:13:48 +02:00
Martin v. Löwis
b43233412d
Relabel bzip2 filters.
2012-05-14 14:12:00 +02:00
Martin v. Löwis
ecc5877f5a
Upgrade bzip2 to 1.0.6.
2012-05-14 13:52:03 +02:00
Brian Curtin
61009468c5
Move out VS9 project files to PC\VS9.0 folder. Fixes #13210
2012-05-13 12:40:15 -05:00
Brian Curtin
401f9f3d32
Fix #13210 . Port the Windows build from VS2008 to VS2010.
2012-05-13 11:19:23 -05:00
Antoine Pitrou
3ad58f261d
Kill remaining mentions of import_nt.c
2012-05-04 22:15:57 +02:00
Brett Cannon
6b9b727695
Remove dead Windows code which no longer will compile.
2012-05-04 16:04:14 -04:00
Brett Cannon
ce418b448f
Issue #14605 : Stop having implicit entries for sys.meta_path.
...
ImportWarning is raised if sys.meta_path is found to be empty.
2012-04-27 14:01:58 -04:00
Antoine Pitrou
23bba4ca39
Issue #11750 : The Windows API functions scattered in the _subprocess and
...
_multiprocessing.win32 modules now live in a single module "_winapi".
Patch by sbt.
2012-04-18 20:51:15 +02:00
Brett Cannon
6f44d66bc4
Issue #13959 : Rename imp to _imp and add Lib/imp.py and begin
...
rewriting functionality in pure Python.
To start, imp.new_module() has been rewritten in pure Python, put into
importlib (privately) and then publicly exposed in imp.
2012-04-15 16:08:47 -04:00
Kristján Valur Jónsson
c014df7edf
Merge with 3.2: use ws2_32.lib rather than wsock32.lib on windows.
2012-04-15 11:14:46 +00:00
Kristján Valur Jónsson
473fde60dc
Make all socket related modules link with ws2_32.lib on windows, like
...
_socket does. Some were using the older wsock32.lib.
2012-04-15 11:12:57 +00:00
Amaury Forgeot d'Arc
8963943fc3
hg merge 3.2
2012-04-13 02:23:59 +02:00
Amaury Forgeot d'Arc
a9d33a21b3
Issue14559: Fix build files old Microft compilers.
...
With VS8.0 at least Python compiles and works correctly.
2012-04-13 02:14:28 +02:00
Kristján Valur Jónsson
2247775bfa
Merge with 3.2 (Issue #14471 )
2012-04-02 15:41:06 +00:00
Kristján Valur Jónsson
984dfa7eed
Issue #14471 : Fix a possible buffer overrun in the winreg module.
2012-04-02 15:23:29 +00:00
Matthias Klose
5ce31cc4fc
merge 3.2
2012-03-14 23:17:31 +01:00
Matthias Klose
d83be23689
merge 3.1
2012-03-14 23:14:35 +01:00
Matthias Klose
0f4c16e29c
- rename configure.in to configure.ac
...
- change references from configure.in to configure.ac
2012-03-14 23:10:15 +01:00
Antoine Pitrou
b69ef16fe6
Issue #14252 : Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited.
2012-03-11 19:33:29 +01:00
Antoine Pitrou
1f9a835400
Issue #14252 : Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited.
2012-03-11 19:29:12 +01:00
Georg Brandl
f125bf5f94
Update copyright years and version name.
2012-03-04 16:26:19 +01:00
Benjamin Peterson
6eaaeff00e
merge 3.2
2012-02-24 11:48:47 -05:00
Georg Brandl
2142ee8718
Update copyright year.
2012-02-23 21:19:25 +01:00
Martin v. Löwis
50590f111b
Use GetModuleHandleW to avoid *A functions where possible.
2012-01-14 17:54:09 +01:00
Victor Stinner
9d3b93ba30
Use the new Unicode API
...
* Replace PyUnicode_FromUnicode(NULL, 0) by PyUnicode_New(0, 0)
* Replce PyUnicode_FromUnicode(str, len) by PyUnicode_FromWideChar(str, len)
* Replace Py_UNICODE by wchar_t
* posix_putenv() uses PyUnicode_FromFormat() to create the string, instead
of PyUnicode_FromUnicode() + _snwprintf()
2011-11-22 02:27:30 +01:00
Victor Stinner
be49244bdc
winreg module avoids the deprecated Unicode API
2011-11-21 12:43:50 +01:00
Victor Stinner
9e30aa52fd
Fix misuse of PyUnicode_GET_SIZE() => PyUnicode_GET_LENGTH()
...
And PyUnicode_GetSize() => PyUnicode_GetLength()
2011-11-21 02:49:52 +01:00
Victor Stinner
dcbbd9ea21
Fix a typo in PC/_subprocess.c
2011-11-21 02:17:08 +01:00
Victor Stinner
3335447646
Check for PyUnicode_AS_UNICODE() failure
2011-11-21 02:01:41 +01:00
Nadeem Vawda
2b9f36cdb6
Merge #13194 : zlib.compressobj().copy() and zlib.decompressobj().copy() are now available on Windows.
2011-10-17 19:40:47 +02:00
Nadeem Vawda
bcb86c5246
Issue #13194 : zlib.compressobj().copy() and zlib.decompressobj().copy() are now available on Windows.
2011-10-17 19:34:22 +02:00
Martin v. Löwis
bd928fef42
Rename _Py_identifier to _Py_IDENTIFIER.
2011-10-14 10:20:37 +02:00