Commit Graph

1058 Commits

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