Commit Graph

890 Commits

Author SHA1 Message Date
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
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
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
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
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