Martin v. Loewis
cfc1cc2996
Issue #14642 : Add "hg touch" extension, and "make touch" target.
2012-04-27 16:10:21 +02:00
Marc-Andre Lemburg
aed97733df
Issue #14605 and #14642 : Issue a warning in case Python\importlib.h needs to
...
be rebuilt, but there's no Python interpreter around to freeze the bootstrap
script.
Forgot to include Makefile.pre.in in changeset 76549:acfdf46b8de1.
2012-04-25 19:45:11 +02:00
Antoine Pitrou
a49323537b
Avoid rebuilding all C files when importlib.h is updated.
2012-04-16 18:29:28 +02:00
Brett Cannon
fd0741555b
Issue #2377 : Make importlib the implementation of __import__().
...
importlib._bootstrap is now frozen into Python/importlib.h and stored
as _frozen_importlib in sys.modules. Py_Initialize() loads the frozen
code along with sys and imp and then uses _frozen_importlib._install()
to set builtins.__import__() w/ _frozen_importlib.__import__().
2012-04-14 14:10:13 -04:00
Vinay Sajip
eba2428002
Issue #14541 : Merged addition of test/sndhdrdata to Makefile.pre.in from 3.2.
2012-04-10 18:44:41 +01:00
Vinay Sajip
935b62968e
Issue #14541 : Added test/sndhdrdata to Makefile.pre.in for installation.
2012-04-10 18:41:48 +01:00
Matthias Klose
597e6b4cc5
Followup for issue #14321 , remove references to Parser/pgen.stamp
2012-04-04 13:20:55 +02:00
Ned Deily
e8b416e754
Issue #14382 : Ensure new unittest.test.testmock is installed.
...
(Original patch by Vinay Sajip)
2012-03-22 13:34:11 -07:00
Matthias Klose
93a0ef16c9
- Issue #14321 : Do not run pgen during the build if files are up to date.
2012-03-15 18:08:34 +01: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
Georg Brandl
2fb477c0f0
Merge 3.2: Issue #13703 plus some related test suite fixes.
2012-02-21 00:33:36 +01:00
Georg Brandl
8848255d8a
Run tests with -R on "make test" and the buildbots.
2012-02-20 21:34:31 +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
Nick Coghlan
4fcad3c7ab
Change the python3 hardlink to a symlink, and correct some misuse of the PYTHON var in the makefile
2012-02-17 23:17:34 +10:00
Benjamin Peterson
1f918c1480
make Python-ast.c depend on Python-ast.h
2012-01-13 08:45:55 -05:00
Victor Stinner
e0a669e50c
Close #13596 : Only recompile Lib/_sysconfigdata.py when needed
2011-12-15 21:48:39 +01:00
Stefan Krah
221ea5d931
Merge fix for issue #13547 .
2011-12-08 23:31:40 +01:00
Stefan Krah
383dd58533
Issue #13547 : clean Lib/_sysconfigdata.py and Modules/_testembed
2011-12-08 23:25:15 +01:00
Antoine Pitrou
0a3229de6b
Issue #13417 : speed up utf-8 decoding by around 2x for the non-fully-ASCII case.
...
This almost catches up with pre-PEP 393 performance, when decoding needed
only one pass.
2011-11-21 20:39:13 +01:00
Antoine Pitrou
3e623243d5
Issue #13217 : add missing header dependencies in the Makefile for unicodeobject.o.
...
Patch by John O'Connor.
2011-11-13 19:37:58 +01:00
Petri Lehtinen
6ab96e41bd
Remove __pycache__ directories correctly on OpenBSD
...
Closes #13326 .
2011-11-05 21:24:45 +02:00
Petri Lehtinen
bc74ee039c
Remove __pycache__ directories correctly on OpenBSD
...
The find utility of OpenBSD doesn't support the "-exec cmd {} +"
action. Change it to use "-depth -exec cmd {} ;" instead.
Also, remove __pycache__ before *.py[co], as most bytecode files are
in __pycache__ directories. Only those generated by Python 2 under
Doc/tools are not.
Closes #13326 .
2011-11-05 21:17:08 +02:00
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