Commit Graph

943 Commits

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