Commit Graph

422 Commits

Author SHA1 Message Date
Antoine Pitrou 1e73a2467f Issue #13150: sysconfig no longer parses the Makefile and config.h files
when imported, instead doing it at build time.  This makes importing
sysconfig faster and reduces Python startup time by 20%.
2011-10-18 17:52:24 +02:00
Antoine Pitrou dd4e2f0153 Issue #13155: Optimize finding the optimal character width of an unicode string 2011-10-13 00:02:27 +02:00
Victor Stinner 69f55cc033 Issue #13157: Fix building Python outside its source tree 2011-10-12 22:09:40 +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
Martin v. Löwis d63a3b8beb Implement PEP 393. 2011-09-28 07:41:54 +02:00
Martin v. Löwis 91ef21f2b6 merged 2011-09-25 17:36:31 +02:00
Martin v. Löwis 6fb44728bb Depend setobject.o and dictobject.o on stringlib/eq.h. 2011-09-25 17:36:11 +02:00
Éric Araujo 65d81f4f98 Merge Makefile fix from 3.2 (thanks Georg) 2011-08-16 19:11:00 +02:00
Éric Araujo b5da6e9e48 Revert change that was not a syntax fix but actually a behavior change 2011-08-16 19:05:56 +02:00
Éric Araujo 14eba5fa41 Brench merge 2011-08-12 17:59:25 +02:00
Benjamin Peterson b684702259 make only files which use AST depend on Python-ast.h 2011-08-11 14:46:26 -05:00
Éric Araujo e9715b9001 Merge 3.2 2011-08-10 21:42:23 +02:00
Éric Araujo 1c608e3847 Fix find command in makefile “funny” target 2011-08-10 02:01:32 +02:00
Nadeem Vawda 3c01d16ed9 Issue #11651: Move options for running tests into a Python script.
This will be particularly useful to Windows users.

run_tests.py originally written by Brett Cannon.
2011-08-01 23:48:26 +02:00
Nadeem Vawda 4fbff6c631 Oops, "make buildbottest" isn't supposed to use -j0. 2011-07-31 13:58:05 +02:00
Nadeem Vawda ecd3e38ff8 Issue #11651: Improve Makefile test targets.
- Use -j0 option by default
- Remove duplicate test run in "make test" and "make testuniversal"
- Remove "make memtest" altogether
2011-07-31 01:09:04 +02:00
Ned Deily 368ff10c4d Issue #12497: Install test/data to prevent failures of the various codecmaps
tests.
2011-07-04 19:11:14 -07:00
Ned Deily e2d519035f Issue #12497: Install test/data to prevent failures of the various codecmaps
tests.
2011-07-04 19:06:20 -07:00
Ned Deily 4bd3e5d799 Issue #12496: Install test/capath directory to prevent test_connect_capath
testcase failure in test_ssl.
2011-07-04 17:51:48 -07:00
Ned Deily 8215f5df87 Issue #12496: Install test/capath directory to prevent test_connect_capath
testcase failure in test_ssl.
2011-07-04 17:48:01 -07:00
Benjamin Peterson e4a51e6543 use the Include in srcdir 2011-06-28 09:26:39 -05:00
Ned Deily 4a1ec12999 Issue #12141: Install copies of template C module file so that
test_build_ext of test_distutils and test_command_build_ext of
test_packaging are no longer silently skipped when
run outside of a build directory.
2011-06-28 00:53:54 -07:00
Ned Deily 58f27b203c Issue #12141: Install a copy of template C module file so that
test_build_ext of test_distutils is no longer silently skipped when
run outside of a build directory.
2011-06-28 00:42:50 -07:00
Benjamin Peterson 4b4b673eae remove duplicate -I 2011-06-19 17:17:30 -05:00
R David Murray 92cafb85dd #12313: update Makefile.pre.in to account for email tests moving to 'test' dir 2011-06-17 11:41:49 -04:00
Barry Warsaw 04fe64bf17 Make sure all the Lib/packaging subdirectories get installed. 2011-06-14 16:51:58 -04:00
Éric Araujo edd95dd3cb Remove *.egg-info from Makefile.pre.in (follow-up to d615eb7bce33, #12218) 2011-06-10 03:48:04 +02:00
Victor Stinner 9e586c2b35 Issue #12250: modify "make buildbottest" command line instead of TESTOPTS
Add TESTTIMEOUT variable (default: 3600 seconds). Use TESTTIMEOUT=0 to disable
the timeout.
***
fix
2011-06-06 12:04:36 +02:00
Victor Stinner 301968874b Close #12250: Disable the regrtest timeout by default
Keep a timeout of 1 hour for buildbots.
2011-06-03 12:53:26 +02:00
Ralf Schmitt 069456267e disable ASDLGEN if hg won't work, or if python is not installed.
This change makes configure check for
- the existence of a hg repository
- the hg executable itself
- the python executable

Running $(srcdir)/Parser/asdl_c.py (i.e. ASDLGEN) will fail if any of
the above prerequisites is missing, so we now disable it instead.

closes #12225
2011-05-31 17:10:03 -05:00
Ralf Schmitt 023f3a7cf6 disable ASDLGEN if hg won't work, or if python is not installed.
This change makes configure check for
- the existence of a hg repository
- the hg executable itself
- the python executable

Running $(srcdir)/Parser/asdl_c.py (i.e. ASDLGEN) will fail if any of
the above prerequisites is missing, so we now disable it instead.

closes #12225
2011-05-31 17:10:03 -05:00
Tarek Ziade 90fb9283fc promoted pysetup3 to a top-level script 2011-05-31 08:31:50 +02:00
Victor Stinner c520a1856f (Merge 3.2) Issue #12057: Add cjkencodings directory to the Makefile and
Tools/msi/msi.py
2011-05-25 01:16:49 +02:00
Victor Stinner 5b3265906f (Merge 3.1) Issue #12057: Add cjkencodings directory to the Makefile and
Tools/msi/msi.py
2011-05-25 01:15:59 +02:00
Victor Stinner 46f8264b8e Issue #12057: Add cjkencodings directory to the Makefile and Tools/msi/msi.py 2011-05-25 01:13:59 +02:00
Ned Deily 70b3ee5433 Issue #12131: Ensure that the sysconfig.cfg file, introduced by packaging,
is installed into the lib directory: prevents startup exception in site.py.
2011-05-21 16:06:58 -07:00
Martin v. Löwis 4e9da47d8f merge 11347. 2011-05-09 07:41:32 +02:00
Martin v. Löwis 48e14d3fda Use --as-needed when linking libpython3.so. Closes #11347.
Patch by Arfrever Frehtes Taifersar Arahesis.
2011-05-09 07:37:45 +02:00
Antoine Pitrou eec60603a8 Issue #10914: Add a minimal embedding test to test_capi. 2011-04-25 21:23:26 +02:00
Antoine Pitrou 8e60577693 Issue #10914: Add a minimal embedding test to test_capi. 2011-04-25 21:21:07 +02:00
Victor Stinner 7f2fee3640 Issue #10785: Store the filename as Unicode in the Python parser. 2011-04-05 00:39:01 +02:00
Ronald Oussoren 42d0f68458 Issue #1099: Fix the build on MacOSX when building a framework with pydebug using GCC 4.0. 2011-03-14 11:04:34 -04:00
Ronald Oussoren 250324952e Fixes #1099: Mac compile fails with pydebug and framework enabled
Without this patch "./configure --with-pydebug --enable-framework CC=gcc-4.0" fails on MacOSX
2011-03-14 10:11:59 -04:00
Ronald Oussoren a9d397bb05 Issue #1099: Fix the build on MacOSX when building a framework with pydebug
using GCC 4.0.
2011-03-14 11:34:21 -04:00
Thomas Wouters 63bd5f9fe3 Merge 3.2. 2011-03-06 11:52:15 -08:00
Thomas Wouters 6b1034392c Merge 3.1. 2011-03-06 11:51:24 -08:00
Thomas Wouters 81638f1351 Issue #11411: Fix typo in the Makefile that prevented 'make DESTDIR=' from
working correctly with a relative path.
2011-03-06 11:49:15 -08:00
Georg Brandl 776e586114 Remove sys.subversion and svn build identification leftovers. 2011-03-06 10:35:42 +01:00