Commit Graph

911 Commits

Author SHA1 Message Date
Zachary Ware e08f376ed2 Fix another old mention of "Standard Edition" VS in PCbuild/readme.txt.
Also removes a mention of using "Express Edition with the Windows SDK
64-bit compilers" to build 64-bit Python.  If that can be made to work,
it will need some extra instructions somewhere.
2014-03-28 23:31:04 -05:00
Zachary Ware 92497a42b7 Issue #21017: Enable Tix debug build on Windows 2014-03-22 10:37:06 -05:00
Zachary Ware 4bcf5a52ae Issue #15968: Temporarily revert change to PCbuild/rt.bat
to prevent buildbot failures on test_idle.  This change
should go back in once #20035 is fixed.
2014-03-22 00:36:25 -05:00
Zachary Ware a191b91a43 Issue #15968: Incorporated Tcl, Tk, and Tix builds into the Windows build
solution.

Currently, Tix is not built in Debug configuration.

This change also:
- simplifies some Tcl/Tk-related msbuild properties for _tkinter
- copies the Tcl and Tk DLLs into the build output directory, meaning
  they will always be available after a build without having to copy
  them manually or change PATH
- removes PCbuild/build_tkinter.py: the solution does the build without
  needing to invoke Python (so Tcl/Tk/Tix can be built in parallel with
  the rest of the build using the `/m` msbuild command line switch)
- removes an outdated README concerning building Tcl/Tk on AMD64
2014-03-21 22:58:19 -05:00
Zachary Ware 26e417b182 Merge with 3.4 2014-03-19 14:47:49 -05:00
Zachary Ware 5f3e3c3429 Use the correct VS edition names in PCbuild/readme.txt 2014-03-19 14:46:25 -05:00
Zachary Ware 4278b2d782 Merge xxlimited compile warning fix from 3.4 2014-03-18 23:09:00 -05:00
Zachary Ware 232b017607 Avoid compile warning in xxlimited on 32-bit Windows non-Debug builds. 2014-03-18 23:05:01 -05:00
Zachary Ware 0e5e4a4085 Merge PCbuild/pcbuild.sln cleanup from 3.4 2014-03-18 22:40:23 -05:00
Zachary Ware 270e7377ce Clean up PCbuild/pcbuild.sln a bit:
- Remove configuration settings from removed _sha3.vcxproj
- Don't try to build configurations of _testembed that don't exist
  (namely, PGInstrument and PGUpdate)
2014-03-18 22:34:52 -05:00
Zachary Ware 6373ba5199 Bump Windows build to 3.5 2014-03-17 15:57:38 -05:00
Zachary Ware 5ccca9516a Make pywlauncher.vcxproj depend on make_versioninfo.vcxproj.
pylauncher.vcxproj already has the same dependency, and adding it to
the pywlauncher project eliminates the possibility of the pywlauncher
build failing when building the solution in parallel.  In particular,
pywlauncher may fail to build when doing a "Rebuild Solution" from the
VS Build menu.

Merge with 3.3.
2014-03-06 13:28:08 -06:00
Zachary Ware 54d04a46f3 Make pywlauncher.vcxproj depend on make_versioninfo.vcxproj.
pylauncher.vcxproj already has the same dependency, and adding it to
the pywlauncher project eliminates the possibility of the pywlauncher
build failing when building the solution in parallel.  In particular,
pywlauncher may fail to build when doing a "Rebuild Solution" from the
VS Build menu.
2014-03-06 13:21:45 -06: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 b59e4425d5 Issue #20609: Merge with 3.3. 2014-02-18 11:35:15 -06:00
Zachary Ware 9e5a9876ad Issue #20609: Fix building 64-bit binaries on 32-bit Windows. 2014-02-18 11:33:18 -06:00
Martin v. Löwis 5aaf8476fd Drop reference to pythoncore, to avoid linking python34.dll 2014-01-04 11:25:35 +01:00
Martin v. Löwis 7341b524af Revert accidental deletion of _overlapped. 2014-01-03 15:53:20 +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
Zachary Ware f06247d16a Properly filter some recent additions in the Windows build files. 2013-12-11 17:21:13 -06:00
Zachary Ware bdbffd0342 Filter namespaceobject's files properly in the pythoncore VS project. 2013-12-11 17:12:34 -06:00
Zachary Ware 14fff88773 Issue #19788: kill_python(_d).exe is now run as a PreBuildEvent on the
pythoncore sub-project.  This should prevent build errors due a previous
build's python(_d).exe still running.
2013-11-26 16:34:45 -06:00
Zachary Ware bb65b5bf1d Issue #19788: kill_python(_d).exe is now run as a PreBuildEvent on the
pythoncore sub-project.  This should prevent build errors due a previous
build's python(_d).exe still running.
2013-11-26 16:32:59 -06:00
Christian Heimes 71135ac72d Add _opcode to Windows build env 2013-11-24 01:11:57 +01:00
Martin v. Löwis 8d0d369067 Update Tcl/Tk to 8.6.1. 2013-11-23 23:05:27 +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 f3bf35eee4 Issue #16632: Enable DEP and ASLR on Windows. 2013-11-20 17:43:23 +01:00
Christian Heimes 985ecdcfc2 ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'.
Python now uses SipHash24 on all major platforms.
2013-11-20 11:46:18 +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
Zachary Ware e0881f464c #19439: Update PCbuild/readme.txt with new sub-project 2013-11-05 21:55:46 -06:00
Nick Coghlan 4e641df09b Close #19439: execute embedding tests on Windows
Patch by Zachary Ware
2013-11-03 16:54:46 +10:00
Tim Golden 79f5e1f59a Issue #19464 Suppress compiler warnings during clean. Patch by Zachary Ware. 2013-11-01 13:12:17 +00:00
Zachary Ware 200bcbc348 Issue #19391: Clean up PCbuild/readme.txt 2013-11-03 21:48:54 -06:00
Tim Golden 0bdcdecca7 Issue #19464 Suppress compiler warnings during clean. Patch by Zachary Ware. 2013-11-03 11:58:02 +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
Tim Golden 7d0523621c Closes issue #19273: clean up the pcbuild readme.txt (Patch by Zachary Ware) 2013-10-25 08:58:16 +01:00
Richard Oudkerk 48df60c847 Update more configurations in pcbuild.sln. 2013-10-18 17:04:31 +01:00
Richard Oudkerk 44455e8dba Update pcbuild.sln to build _overlapped. 2013-10-18 16:23:01 +01:00
Guido van Rossum 27b7c7ebf1 Initial checkin of asyncio package (== Tulip, == PEP 3156). 2013-10-17 13:40:50 -07:00
Christian Heimes cf892ace48 Issue #19130: mention historic VS 2008 build dir, too 2013-09-29 19:10:18 +02:00
Christian Heimes 5176337bf5 Issue #19130: mention historic VS 2008 build dir, too 2013-09-29 19:10:07 +02:00
Christian Heimes cb1915a17c Issue #19130: Correct PCbuild/readme.txt, Python 3.3 and 3.4 require VS 2010 2013-09-29 19:05:23 +02:00
Christian Heimes 9c99cc092e Issue #19130: Correct PCbuild/readme.txt, Python 3.3 and 3.4 require VS 2010 2013-09-29 19:02:35 +02:00
Ezio Melotti d640fe2af5 #18803: merge with 3.3. 2013-08-26 01:33:30 +03:00
Ezio Melotti 7c4a7e6f3c #18803: fix more typos. Patch by Févry Thibault. 2013-08-26 01:32:56 +03:00
Ezio Melotti a7e7497d88 #18466: merge with 3.3. 2013-08-17 16:58:13 +03:00
Ezio Melotti 85a8629d21 #18466: fix more typos. Patch by Févry Thibault. 2013-08-17 16:57:41 +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
Victor Stinner 24e33acf8c Issue #17206: On Windows, increase the stack size from 2 MB to 4.2 MB to fix
a stack overflow in the marshal module (fix a crash in test_marshal).
Patch written by Jeremy Kloth.
2013-07-07 02:49:07 +02:00
Christian Heimes 59b2401070 Add _stat module to VS project file -- this time with the GUI instead of manually. 2013-06-23 15:50:45 +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 09ec23f120 Issue #15172: Document NASM 2.10+ as requirement for building OpenSSL 1.0.1 on Windows 2013-06-14 15:48:16 +02:00
Christian Heimes c81549f476 Issue #15172: Document NASM 2.10+ as requirement for building OpenSSL 1.0.1 on Windows 2013-06-14 15:40:28 +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
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
Martin v. Löwis 5fe5b4ead3 #17425: merge 3.3 2013-03-24 22:53:04 +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. 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 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 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
Kristjan Valur Jonsson a2897e4bd7 Merge with 3.3: Issue #16295: Link "select" with ws2_32, the winsock2 lib. 2012-10-22 12:58:34 +00:00
Kristjan Valur Jonsson abb0febd0a Issue #16295: Link "select" with ws2_32.lib, the winsock2 stub library. 2012-10-22 12:56:47 +00:00
Christian Heimes 58f11831fe correct build configuration of sha3 project for debug builds 2012-10-07 18:20:07 +02:00
Christian Heimes a4018a2afe _sha3 was missing debug build targets. I used xxlimited.vcxproj as template. The project is now a copy of _multiprocessing.vcxproj with new GUID and without BaseAddress and ws2_32.lib 2012-10-07 18:09:39 +02:00
Christian Heimes 7f9dbaf1f8 fixed _sha3 VS project file 2012-10-06 03:40:10 +02:00
Christian Heimes 1b747d4f28 Issue #16133: add Windows project file for _sha3 module. I choose to build _sha3 as a sparat module as it's rather large (190k for AMD64). 2012-10-06 03:16:12 +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 4784e0267e Output lib files for PGO build into PGO directory. 2012-08-24 16:12:28 +02:00
Martin v. Löwis bddf7244f0 Drop PC\python_nt.h as it's not used.
Add input dependency on custom build step.
2012-08-24 15:47:53 +02:00
Martin v. Löwis b4b92becf1 Issue #15511: Drop explicit dependency on pythonxy.lib from amd64 configuration. 2012-08-24 15:21:24 +02:00
Martin v. Löwis 3234cc808c Add missing PGI/PGO configurations for pywlauncher. 2012-08-24 15:06:50 +02:00
Martin v. Löwis d49b323270 Issue #8847: Disable COMDAT folding in Windows PGO builds.
Patch by Stefan Krah.
2012-08-01 11:06:53 +02:00
Martin v. Löwis dbf616d9c3 Issue #15431: Drop _freeze_importlib from all build configurations,
to prevent constant regeneration of importlib.h.
2012-07-28 21:59:05 +02:00
Martin v. Löwis 96d97ec9c0 Issue #15431: Add _freeze_importlib project to regenerate importlib.h on Windows.
Patch by Kristján Valur Jónsson.
2012-07-28 20:46:52 +02:00
Martin v. Löwis 8ca5a840b3 Create PGInstrument/PGUpdate configurations for py.exe and pyw.exe 2012-06-26 09:18:14 +02:00
Stefan Krah 318c56c001 Issue #15102: Fix paths of python executables. 2012-06-24 19:04:35 +02:00
Martin v. Löwis f52f527c76 Issue #15102: find python.exe in OutDir, not SolutionDir. 2012-06-24 00:22:28 +02:00
Martin v. Löwis d5ecd49af9 Issue #15102: Use HOST_PYTHON only if it is set. 2012-06-23 21:07:39 +02:00
Martin v. Löwis 7c771ca413 Issue #15143: Define _DEBUG when compiling resources. 2012-06-22 22:16:42 +02:00
Brian Curtin 6b2cf01744 Remove associator project - it's not needed 2012-06-21 16:35:12 -05:00
Martin v. Löwis 8559b3cecf Build and bundle the 32-bit launcher in all configurations. 2012-06-21 18:24:32 +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 4bca286160 Add pywlauncher project 2012-06-20 16:11:39 -05:00
Brian Curtin 22bf8cbb5f Add the pyw launcher 2012-06-20 16:11:08 -05:00
Brian Curtin d029e5dc8c Get 64-bit building 2012-06-20 15:55:04 -05:00
Brian Curtin a7de612a48 Support 32-bit release building: 2012-06-20 15:45:12 -05:00
Brian Curtin 765dd11596 Initial changes to get the py launcher building 2012-06-20 15:37:24 -05:00
Kristján Valur Jónsson e75ff35af2 Issue #15038: Optimize python Locks on Windows
Extract cross-platform condition variable support into a separate file and
provide user-mode non-recursive locks for Windows.
2012-06-18 20:30:44 +00:00
Richard Oudkerk 9650d36498 Add namespaceobject.h and namespaceobject.c to pythoncore.vcxproj 2012-06-04 18:24:44 +01:00
Martin v. Löwis c11eba87d1 Update to Tcl/Tk 8.5.11. 2012-05-31 21:53:36 +02:00
Kristjan Valur Jonsson d2456556b2 Issue #14952: Fix incorrect output dll names for win64/debug builds, causing
the dll importer on windows to fail.
2012-05-31 15:09:21 +00:00
Brian Curtin 5c2725d750 Update build.bat for VS2010 2012-05-22 11:04:32 -05:00
Kristján Valur Jónsson a1df1cc767 Issue 14821:
If a dependency is expressed both in the .sln file and the .vcxproj file
msbuild is confused.  Removing the .sln dependencies which are
deprecated anyway.  See:
http://blogs.msdn.com/b/visualstudio/archive/2010/12/21/incorrect-solution-build-ordering-when-using-msbuild-exe.aspx
2012-05-20 11:25:48 +00:00
Kristján Valur Jónsson 77a1cf1622 Remove missing files from the PCbuild pythoncore project. This avoids a
"missing dependency", causing pythocore to be rebuilt every time.
2012-05-19 21:25:41 +00:00
Kristján Valur Jónsson c45ea9ebc7 Clean up the PCBuild project files, removing redundant settings and
use "references" to link to dependent projects.
Update readme and batch files.
2012-05-19 21:10:14 +00:00
Martin v. Löwis e01eb4cc80 Upgrade OpenSSL to 1.0.1c 2012-05-18 16:29:33 +02:00
Martin v. Löwis dcd1c0c627 Assume nasm. 2012-05-18 16:25:04 +02:00
Martin v. Löwis 3f90311bfe merge 3.2 2012-05-18 15:34:22 +02:00
Martin v. Löwis b15d1a7981 Drop double quoting again. I'm at a loss when to quote and when not. 2012-05-18 15:28:43 +02:00
Martin v. Löwis 3407dfbaf9 Upgrade OpenSSL to 1.0.0j 2012-05-18 15:28:01 +02:00
Martin v. Löwis 0857e4e81b merge heads 2012-05-18 14:23:13 +02:00
Martin v. Löwis d18c397ed6 Port to VS 2010. 2012-05-18 14:20:04 +02:00
Martin v. Löwis 207c4b686c Merge 3.2 build_ssl changes. 2012-05-18 14:18:26 +02:00
Martin v. Löwis e9dfb0f822 Add another set of quotes to make cmd.exe happy. 2012-05-18 14:17:43 +02:00
Martin v. Löwis 71f3f92262 Fetch openssl directory from pyproject.vsprops. 2012-05-18 14:16:53 +02:00
Martin v. Löwis c0181eb449 Stop including gzio in the build; it's not used. 2012-05-15 20:04:25 +02:00
Martin v. Löwis 4043d3dee2 Don't build xxlimited in debug mode. 2012-05-14 18:23:44 +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
Martin v. Löwis e8af53d018 Fix release build settings. 2012-05-14 12:22:08 +02:00
Brian Curtin 40e41bb77c changeset: 76969:0cbe1099226d
branch: vs2010
tag: tip
user: Brian Curtin <brian@python.org>
date: Sun May 13 16:15:11 2012 -0500
summary: Changes to allow Profile Guided Optimization builds to succeed on VS2010
2012-05-13 16:16:09 -05: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
Vinay Sajip 5182c18b1a Closes #14093: Added Mercurial version information to Windows builds. 2012-05-04 20:51:59 +01: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
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
Martin v. Löwis ffc3e1ab40 Add MASM define to PGI and PGO builds 2012-04-01 19:54:33 +02:00
Stefan Krah 1919b7e72b Issue #7652: Integrate the decimal floating point libmpdec library to speed
up the decimal module. Performance gains of the new C implementation are
between 12x and 80x, depending on the application.
2012-03-21 18:25:23 +01:00
krisvale 8bfccd852e Remove non-existing file from pythoncore project. 2012-03-21 11:37:09 +00:00
Victor Stinner 87adda502a Issue #14180: Fix pythoncore.vcproj, Modules/_time.[ch] have been removed 2012-03-13 17:42:18 +01:00
Martin v. Löwis ed7b51f20c Enable PGI/PGO builds for x64 python3.dll 2012-03-04 20:15:39 +01:00
Stefan Krah 9a2d99e28a - Issue #10181: New memoryview implementation fixes multiple ownership
and lifetime issues of dynamically allocated Py_buffer members (#9990)
  as well as crashes (#8305, #7433). Many new features have been added
  (See whatsnew/3.3), and the documentation has been updated extensively.
  The ndarray test object from _testbuffer.c implements all aspects of
  PEP-3118, so further development towards the complete implementation
  of the PEP can proceed in a test-driven manner.

  Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review
  and many ideas.

- Issue #12834: Fix incorrect results of memoryview.tobytes() for
  non-contiguous arrays.

- Issue #5231: Introduce memoryview.cast() method that allows changing
  format and shape without making a copy of the underlying memory.
2012-02-25 12:24:21 +01:00
Georg Brandl 2fb477c0f0 Merge 3.2: Issue #13703 plus some related test suite fixes. 2012-02-21 00:33:36 +01:00
Georg Brandl 09a7c72cad Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime)
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.

The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
2012-02-20 21:31:46 +01:00
Georg Brandl 2daf6ae249 Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime)
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.

The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
2012-02-20 19:54:16 +01:00
Nadeem Vawda 3ff069ebc6 Issue #6715: Add module for compression using the LZMA algorithm. 2011-11-30 00:25:06 +02:00
Antoine Pitrou c61c8d7a5e Issue #12911: Fix memory consumption when calculating the repr() of huge tuples or lists.
This introduces a small private API for this common pattern.
The issue has been discovered thanks to Martin's huge-mem buildbot.
2011-10-06 19:04:12 +02:00
Antoine Pitrou eeb7eea1f9 Issue #12911: Fix memory consumption when calculating the repr() of huge tuples or lists.
This introduces a small private API for this common pattern.
The issue has been discovered thanks to Martin's huge-mem buildbot.
2011-10-06 18:57:27 +02:00
Victor Stinner dfb866d127 Enhance Py_ARRAY_LENGTH(): fail at build time if the argument is not an array
Move other various macros to pymcacro.h

Thanks Rusty Russell for having written these amazing C macros!
2011-09-29 01:12:24 +02:00
Antoine Pitrou 87cf220972 Issue #11743: Rewrite multiprocessing connection classes in pure Python. 2011-05-09 17:04:27 +02:00
Antoine Pitrou 37dc5f85b8 Issue #5863: Rewrite BZ2File in pure Python, and allow it to accept
file-like objects using a new `fileobj` constructor argument.  Patch by
Nadeem Vawda.
2011-04-03 17:05:46 +02:00
Victor Stinner 024e37adcc Issue #11393: Add the new faulthandler module 2011-03-31 01:31:06 +02:00
Martin v. Löwis c142389218 Convert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
will have the right line ending even if the extension is not active.
2011-03-06 12:24:49 +01:00
Martin v. Löwis bb3e937a18 Convert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
will have the right line ending even if the extension is not active.
2011-03-06 12:23:39 +01:00
Martin v. Löwis 21967d0b4d Convert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
will have the right line ending even if the extension is not active.
2011-03-06 11:28:23 +01:00
Georg Brandl 49857f8a93 Add updated .hgeol file and fix newlines in the 3.2 branch. 2011-03-05 15:11:35 +01:00
Georg Brandl fa2c61a222 More automated version replacement. 2011-02-20 10:41:31 +00:00
Martin v. Löwis 0e74cacdff Upgrade to sqlite3 3.7.4. 2010-12-17 21:04:09 +00:00
Martin v. Löwis 910a4edbcd Upgrade Tcl/Tk to 8.5.9. 2010-12-17 20:43:27 +00:00
Kristján Valur Jónsson 8d28a92eda issue 10683
When the solution is converted to Visual Studio 2010, the command line to invoke make_buildinfo changes from:
$(SolutionDir)make_buildinfo.exe" Debug "$(IntDir)\"
to
$(SolutionDir)make_buildinfo.exe" Debug "$(IntDir)"
If the final backslash is omitted, the backslash in IntDir will escape the quote, thus passing the quote in as part of the path name.

This solution is a hack-fix to that problem by skipping any trailing quote from the path name.  It works as long as we don't need any additional arguments to make_buildinfo.exe.  This will help all those sould that are going to run this project through the visual studio autoconverter and get the same error.
2010-12-13 03:32:10 +00:00
Hirokazu Yamamoto ba466cd208 Merged revisions 85071-85072,85894,87132 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85071 | hirokazu.yamamoto | 2010-09-29 03:29:57 +0900 (水, 29 9 2010) | 1 line

  Now perl path with spaces can be used.
........
  r85072 | hirokazu.yamamoto | 2010-09-29 03:36:04 +0900 (水, 29 9 2010) | 1 line

  Updated PC/VC6 openssl build script. (for openssl-1.0.0a)
........
  r85894 | hirokazu.yamamoto | 2010-10-29 02:57:25 +0900 (金, 29 10 2010) | 1 line

  Updated readme.txt about OpenSSL.
........
  r87132 | hirokazu.yamamoto | 2010-12-08 23:47:07 +0900 (水, 08 12 2010) | 3 lines

  Mention NASM which is needed to build openssl-1.0.0a original source.
  (PC/VC6/readme.txt)
........
2010-12-09 09:25:38 +00:00
Martin v. Löwis d53ee5dd12 Automate build for python3.dll.
Package missing files.
2010-12-05 23:07:58 +00:00
Hirokazu Yamamoto 7f4bc00d9f I hope this will fix Win2008(x64) buildbot error. 2010-12-04 12:20:57 +00:00
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 2010-12-03 20:14:31 +00:00
Kristján Valur Jónsson 60fafa276c issue 10501
make_buildinfo regression with unquoted path
Make_buildinfo.exe should be called with a quoted path, and should quote the full paths to its temp files, to support spaces in filenames.
2010-11-22 11:37:06 +00:00
Hirokazu Yamamoto de5919dca7 Can build older OpenSSL in http://svn.python.org/projects/externals/
without Perl again.
2010-11-04 14:11:32 +00:00
Kristján Valur Jónsson 33d144aa36 issue 9981
let make_buildinfo use a temporary directory on windows
2010-11-03 13:57:00 +00:00
Hirokazu Yamamoto 7c3d709377 Updated readme.txt about OpenSSL. 2010-10-28 17:57:25 +00:00
Amaury Forgeot d'Arc c913989370 On Windows, remove compilation warnings with the zlib and gzip modules. 2010-10-17 08:26:13 +00:00
Hirokazu Yamamoto beae8efb1b Merged revisions 84763,85135 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84763 | hirokazu.yamamoto | 2010-09-13 15:21:54 +0900 | 1 line

  Cosmetic fix to project files.
........
  r85135 | hirokazu.yamamoto | 2010-10-01 19:40:49 +0900 | 1 line

  Cosmetic fix for PCBuild/readme.txt.
........
2010-10-08 09:32:13 +00:00
Victor Stinner 4e31443c4d Create fileutils.c/.h
* _Py_fopen() and _Py_stat() come from Python/import.c
 * (_Py)_wrealpath() comes from Python/sysmodule.c
 * _Py_char2wchar(), _Py_wchar2char() and _Py_wfopen() come from Modules/main.c
 * (_Py)_wstat(), (_Py)_wgetcwd(), _Py_wreadlink() come from Modules/getpath.c
2010-10-07 21:45:39 +00:00
Georg Brandl 4009c9edfc Merged revisions 82805-82806,83523-83527,83536,83538,83542,83546-83548,83550-83555,83558,83560 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r82805 | georg.brandl | 2010-07-11 11:42:10 +0200 (So, 11 Jul 2010) | 1 line

  #7935: cross-reference to ast.literal_eval() from eval() docs.
........
  r82806 | georg.brandl | 2010-07-11 12:22:44 +0200 (So, 11 Jul 2010) | 1 line

  #9223: link to Command class reference, and move Command interface docs nearer to class docs.
........
  r83523 | georg.brandl | 2010-08-02 14:06:18 +0200 (Mo, 02 Aug 2010) | 1 line

  #9209 and #7781: fix two crashes in pstats interactive browser.
........
  r83524 | georg.brandl | 2010-08-02 14:20:23 +0200 (Mo, 02 Aug 2010) | 1 line

  #9428: fix running scripts from profile/cProfile with their own name and the right namespace.  Same fix as for trace.py in #1690103.
........
  r83525 | georg.brandl | 2010-08-02 14:36:24 +0200 (Mo, 02 Aug 2010) | 1 line

  Get rid of spurious "threading" entries in trace output.
........
  r83526 | georg.brandl | 2010-08-02 14:40:22 +0200 (Mo, 02 Aug 2010) | 1 line

  Fix softspace relic.
........
  r83527 | georg.brandl | 2010-08-02 14:48:46 +0200 (Mo, 02 Aug 2010) | 1 line

  #3821: beginnings of a trace.py unittest.
........
  r83536 | georg.brandl | 2010-08-02 19:49:25 +0200 (Mo, 02 Aug 2010) | 1 line

  #8578: mention danger of not incref'ing weak referenced object.
........
  r83538 | georg.brandl | 2010-08-02 20:10:13 +0200 (Mo, 02 Aug 2010) | 1 line

  #6928: fix class docs w.r.t. new metaclasses.
........
  r83542 | georg.brandl | 2010-08-02 20:56:54 +0200 (Mo, 02 Aug 2010) | 1 line

  Move test_SimpleHTTPServer into test_httpservers.
........
  r83546 | georg.brandl | 2010-08-02 21:16:34 +0200 (Mo, 02 Aug 2010) | 1 line

  #7973: Fix distutils options spelling.
........
  r83547 | georg.brandl | 2010-08-02 21:19:26 +0200 (Mo, 02 Aug 2010) | 1 line

  #7386: add example that shows that trailing path separators are stripped.
........
  r83548 | georg.brandl | 2010-08-02 21:23:34 +0200 (Mo, 02 Aug 2010) | 1 line

  #8172: how does one use a property?
........
  r83550 | georg.brandl | 2010-08-02 21:32:43 +0200 (Mo, 02 Aug 2010) | 1 line

  #9451: strengthen warning about __*__ special name usage.
........
  r83551 | georg.brandl | 2010-08-02 21:35:06 +0200 (Mo, 02 Aug 2010) | 1 line

  Remove XXX comment that was displayed.
........
  r83552 | georg.brandl | 2010-08-02 21:36:36 +0200 (Mo, 02 Aug 2010) | 1 line

  #9438: clarify that constant names also cannot be assigned as attributes.
........
  r83553 | georg.brandl | 2010-08-02 21:39:17 +0200 (Mo, 02 Aug 2010) | 1 line

  Remove redundant information.
........
  r83554 | georg.brandl | 2010-08-02 21:43:05 +0200 (Mo, 02 Aug 2010) | 1 line

  #7280: note about nasmw.exe.
........
  r83555 | georg.brandl | 2010-08-02 21:44:48 +0200 (Mo, 02 Aug 2010) | 1 line

  #8861: remove unused variable.
........
  r83558 | georg.brandl | 2010-08-02 22:05:19 +0200 (Mo, 02 Aug 2010) | 1 line

  #8648: document UTF-7 codec functions.
........
  r83560 | georg.brandl | 2010-08-02 22:16:18 +0200 (Mo, 02 Aug 2010) | 1 line

  #9087: update json docstrings -- unicode and long do not exist anymore.
........
2010-10-06 08:26:09 +00:00
Hirokazu Yamamoto 0b0ebb4837 Cosmetic fix for PCBuild/readme.txt. 2010-10-01 10:40:49 +00:00
Hirokazu Yamamoto 313dab43fe Now perl path with spaces can be used. 2010-09-28 18:29:57 +00:00
Hirokazu Yamamoto 5e83da3d08 Issue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows) 2010-09-24 16:36:34 +00:00
Hirokazu Yamamoto 2f816e6a10 Issue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows) 2010-09-21 18:23:05 +00:00
Hirokazu Yamamoto e31f7d9e2e Revert r84902 before committing better solution. 2010-09-21 16:05:47 +00:00
Hirokazu Yamamoto ba45c2b6a7 Issue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows) 2010-09-19 09:24:20 +00:00
Hirokazu Yamamoto dc92bd8890 Merged revisions 84851 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84851 | hirokazu.yamamoto | 2010-09-17 02:50:57 +0900 | 3 lines

  Issue #9810: Compile bzip2 source files in python's project file
  directly. It used to be built with bzip2's makefile.
........
2010-09-18 22:53:25 +00:00
Hirokazu Yamamoto 90387ff4b0 regrtest.py now runs python in build/test_python_xxx. (deeper than here)
So failed to load tcl/tk dll because $(dist)/tcltk/bin was set to PATH as
relative path. (Windows)
2010-09-18 00:31:44 +00:00
Hirokazu Yamamoto fc2e1d10bc Let's see if tcl/tk test runs on windows buildbot with this fix. 2010-09-17 08:53:31 +00:00
Hirokazu Yamamoto 234f88dc73 Issue #9810: Compile bzip2 source files in python's project file
directly. It used to be built with bzip2's makefile.
2010-09-16 17:50:57 +00:00
Hirokazu Yamamoto 4cc96a16da Cosmetic fix to project files. 2010-09-13 06:21:54 +00:00
Hirokazu Yamamoto 8e0bb6a1e2 Merged revisions 84645 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84645 | hirokazu.yamamoto | 2010-09-09 15:24:43 +0900 | 5 lines

  PCBuild cosmetic fixes.
  * pythoncore.vcproj: Fixed indentation
  * _multiprocessing.vcproj: Converted ProjectGUID to uppercase. Otherwise,
    VS8 _multiprocessing.vcproj created by vs9to8.py was modified every time
    loads it in VS8 IDE.
........
2010-09-09 19:57:17 +00:00
Hirokazu Yamamoto 3cfe2e3677 PCBuild cosmetic fixes.
* pythoncore.vcproj: Fixed indentation
* _multiprocessing.vcproj: Converted ProjectGUID to uppercase. Otherwise,
  VS8 _multiprocessing.vcproj created by vs9to8.py was modified every time
  loads it in VS8 IDE.
2010-09-09 06:24:43 +00:00
Martin v. Löwis 9f59fa5d67 Fix various build problems. 2010-08-28 13:06:43 +00:00
Alexander Belopolsky 6fc4ade2bb Issue #9079: Added _PyTime_gettimeofday(_PyTime_timeval *tp) to C API
exposed in Python.h.  This function is similar to POSIX
gettimeofday(struct timeval *tp), but available on platforms without
gettimeofday().
2010-08-05 17:34:27 +00:00
Georg Brandl 0abcbd7a24 #7280: note about nasmw.exe. 2010-08-02 19:43:05 +00:00
Martin v. Löwis 26d3fc1738 Copy asm files into place. 2010-07-31 10:49:53 +00:00
Martin v. Löwis e38de851eb Use OpenSSL 1.0.0a on Windows. 2010-07-30 17:30:51 +00:00
Martin v. Löwis f10021dd80 Drop 2.4 support. Add disabled algorithms to Configure options. 2010-07-30 17:29:39 +00:00
Alexander Belopolsky cf86e368eb Issue #7989: Added pure python implementation of the datetime module. 2010-07-23 19:25:47 +00:00
Mark Dickinson 7ab54e4252 Issue #9089: Remove intobject.h from MSVC project files. 2010-06-27 18:18:01 +00:00
Thomas Heller b00697e67c Merged revisions 82126-82127 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82126 | thomas.heller | 2010-06-21 16:00:24 +0200 (Mo, 21 Jun 2010) | 1 line

  Fix #8959 by reverting revision 80761.
........
  r82127 | thomas.heller | 2010-06-21 17:01:18 +0200 (Mo, 21 Jun 2010) | 2 lines

  Add tests for problems reported in issue 8959.
........
2010-06-21 16:00:31 +00:00
Victor Stinner 79ee19f3db Issue #9012: Add _time.c and _time.h to the Visual Studio project file
Add these new files, added by r82034, to the pythoncore project.
2010-06-16 23:05:06 +00:00
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81032 | antoine.pitrou | 2010-05-09 17:52:27 +0200 (dim., 09 mai 2010) | 9 lines

  Recorded merge of revisions 81029 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines

    Untabify C files. Will watch buildbots.
  ........
................
2010-05-09 16:14:21 +00:00
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines

  Untabify C files. Will watch buildbots.
........
2010-05-09 15:52:27 +00:00
Thomas Heller 667ce06de4 Merged revisions 80761,80766 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80761 | thomas.heller | 2010-05-04 20:44:42 +0200 (Di, 04 Mai 2010) | 8 lines

  On Windows, ctypes does no longer check the stack before and after
  calling a foreign function.  This allows to use the unmodified libffi
  library.

  Remove most files from _ctypes/libffi_msvc, only two include files
  stay (updated from _ctypes/libffi/...).  Other files are used in the
  cross-platform _ctypes/libffi directory.
........
  r80766 | thomas.heller | 2010-05-04 21:08:18 +0200 (Di, 04 Mai 2010) | 2 lines

  Remove reference to unused source file.
........
2010-05-04 19:17:41 +00:00
Jeffrey Yasskin 39370830a9 Make (most of) Python's tests pass under Thread Sanitizer.
http://code.google.com/p/data-race-test/wiki/ThreadSanitizer is a dynamic data
race detector that runs on top of valgrind. With this patch, the binaries at
http://code.google.com/p/data-race-test/wiki/ThreadSanitizer#Binaries pass many
but not all of the Python tests. All of regrtest still passes outside of tsan.

I've implemented part of the C1x atomic types so that we can explicitly mark
variables that are used across threads, and get defined behavior as compilers
advance.

I've added tsan's client header and implementation to the codebase in
dynamic_annotations.{h,c} (docs at
http://code.google.com/p/data-race-test/wiki/DynamicAnnotations).
Unfortunately, I haven't been able to get helgrind and drd to give sensible
error messages, even when I use their client annotations, so I'm not supporting
them.
2010-05-03 19:29:34 +00:00
Ezio Melotti b46dfb0d24 Add -bb to rt.bat to do some extra checks during the tests (it is already used by the non-Windows buildbots). 2010-04-03 15:27:05 +00:00
Ezio Melotti 63b4355c75 Merged revisions 79540-79541 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

Add -Wd to the flags used to run the tests (-3 is not necessary here).

........
  r79540 | ezio.melotti | 2010-04-01 01:18:09 +0300 (Thu, 01 Apr 2010) | 1 line

  Add -Wd and -3 to the flags used to run the tests.
........
  r79541 | ezio.melotti | 2010-04-01 01:43:31 +0300 (Thu, 01 Apr 2010) | 1 line

  Add -Wd and -3 to the flags used to run the tests on Windows.
........
2010-04-02 13:56:40 +00:00
Antoine Pitrou f2c5484f9e Merged revisions 77461 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77461 | antoine.pitrou | 2010-01-13 08:55:48 +0100 (mer., 13 janv. 2010) | 5 lines

  Issue #7622: Improve the split(), rsplit(), splitlines() and replace()
  methods of bytes, bytearray and unicode objects by using a common
  implementation based on stringlib's fast search.  Patch by Florent Xicluna.
........
2010-01-13 08:07:53 +00:00
Martin v. Löwis 7df3b9eb15 Merged revisions 77226 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77226 | martin.v.loewis | 2010-01-02 10:25:21 +0100 (Sa, 02 Jan 2010) | 2 lines

  Update Windows build to sqlite 3.6.21.
........
2010-01-02 10:06:19 +00:00
Martin v. Löwis 5330aa5b26 Merged revisions 77003 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77003 | martin.v.loewis | 2009-12-22 09:57:39 +0100 (Di, 22 Dez 2009) | 13 lines

  Merged revisions 76990-76991 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76990 | martin.v.loewis | 2009-12-21 20:27:15 +0100 (Mo, 21 Dez 2009) | 1 line

    Switch to OpenSSL 0.9.8l.
  ........
    r76991 | martin.v.loewis | 2009-12-21 20:29:59 +0100 (Mo, 21 Dez 2009) | 1 line

    Add NEWS for OpenSSL changes.
  ........
................
2009-12-22 10:48:47 +00:00
Martin v. Löwis e5692cdaae Merged revisions 76990-76991 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76990 | martin.v.loewis | 2009-12-21 20:27:15 +0100 (Mo, 21 Dez 2009) | 1 line

  Switch to OpenSSL 0.9.8l.
........
  r76991 | martin.v.loewis | 2009-12-21 20:29:59 +0100 (Mo, 21 Dez 2009) | 1 line

  Add NEWS for OpenSSL changes.
........
2009-12-22 08:57:39 +00:00
Martin v. Löwis b90535f220 Merged revisions 76989 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76989 | martin.v.loewis | 2009-12-21 20:25:56 +0100 (Mo, 21 Dez 2009) | 1 line

  Drop 2.4 compatibility.
........
2009-12-22 08:54:52 +00:00
Mark Dickinson 664b511c0a Merged revisions 76861 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76861 | mark.dickinson | 2009-12-16 20:13:40 +0000 (Wed, 16 Dec 2009) | 3 lines

  Issue #3366: Add expm1 function to math module.  Thanks Eric Smith for
  testing on Windows.
........
2009-12-16 20:23:42 +00:00