Steve Dower
22d0698d3b
Adds test.support.PGO and skips tests that are not useful for PGO.
2016-09-06 19:38:15 -07:00
Brett Cannon
63d98bcd4c
Issue #26359 : Add the --with-optimizations configure flag.
...
The flag will activate LTO and PGO build support when available.
Thanks to Alecsandur Patrascu of Intel for the original patch.
2016-09-06 17:12:40 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
c083476bde
Fixes issue26307: The profile-opt build now applys PGO to the built-in modules.
2016-09-06 23:58:32 +00:00
Christian Heimes
3c397e4c39
Fix out-of-tree builds for blake2
2016-09-06 22:35:14 +02:00
Christian Heimes
121b9487d1
Issue #26798 : Add BLAKE2 (blake2b and blake2s) to hashlib.
2016-09-06 22:03:25 +02:00
Zachary Ware
a582af8a5c
Merge with 3.5
2016-08-30 02:12:43 -05:00
Zachary Ware
de354bc7fc
Include test/test_warnings/data as well
2016-08-30 02:12:27 -05:00
Zachary Ware
6dd11094f2
Merge with 3.5
2016-08-30 01:41:35 -05:00
Zachary Ware
19e5064e24
Include test_tools and test_warnings in install
...
test_tools is pretty much useless unless somebody copies the scripts
it tests into the proper location, but we might as well install it
anyway to make sure it skips properly. test_warnings just didn't get
included when it was turned into a package in 94966dfd3bd3.
2016-08-30 00:28:40 -05:00
Benjamin Peterson
201c328524
remove unused list of pgen srcs
2016-08-21 12:53:09 -07:00
Victor Stinner
034fb564b1
Issue #27726 : Fix "make tags"
...
* Memove -t option of ctags. The option was kept for backward compatibility,
but it was completly removed recently. Patch written by Stéphane Wirtel.
* Set locale to C to call sort. vim expects that the tags file is sorted using
english collation, so it fails if the locale is french for example. Use
LC_ALL=C to force english sorting order. .
2016-08-17 14:00:58 +02:00
Victor Stinner
cf0ac6a71a
Fix "make tags": set locale to C to call sort
...
vim expects that the tags file is sorted using english collation, so it fails
if the locale is french for example. Use LC_ALL=C to force english sorting
order. Issue #27726 .
2016-08-17 13:58:12 +02:00
Victor Stinner
9c4bfa6669
"make tags": remove -t option of ctags
...
The option was kept for backward compatibility, but it was completly removed
recently. Patch written by Stéphane Wirtel.
2016-08-17 13:51:52 +02:00
Victor Stinner
f7457001a6
Tests: add --slowest option to buildbots
...
Display the top 10 slowest tests.
2016-08-17 11:27:40 +02:00
Martin Panter
c57e4d16ea
Issue #25825 : Merge AIX fix from 3.5
2016-08-12 13:26:01 +00:00
Martin Panter
5401e87b01
Issue #25825 : Fix references to Modules/python.exp
...
These were incorrectly changed in revision 88a532a31eb3.
2016-08-12 13:21:05 +00:00
Martin Panter
0c859f362c
Issue #27641 : Merge cross-compiling improvement from 3.5
2016-08-04 01:53:40 +00:00
Martin Panter
43a94a7e2f
Issue #27641 : Comment out regeneration rules when cross compiling
2016-07-29 05:52:32 +00:00
Martin Panter
4b53359090
Issue #27490 : Merge pgen cross-compile logic from 3.5
2016-07-28 01:30:06 +00:00
Martin Panter
eac67be948
Issue #27490 : Do not build pgen when cross-compiling
...
The dependendency on the $(PGEN) variable must only be
set when not cross-compiling. When cross-compiling,
$(PGEN) will not be used, so no need to build it.
Patch by Thomas Perl.
2016-07-28 01:28:27 +00:00
Xavier de Gaye
8d4989687c
(merge from 3.5) Issue #26662 : Set PYTHON_FOR_GEN in configure
...
as the Python program to be used for file generation during the build.
2016-07-26 12:55:20 +02:00
Xavier de Gaye
fd0d5939bd
Issue #26662 : Set PYTHON_FOR_GEN in configure
...
as the Python program to be used for file generation during the build.
2016-07-26 12:48:08 +02:00
Ned Deily
b8d3e40567
Issue #23968 : Fix installs of the renamed config directory for OS X
...
framework builds.
2016-06-18 15:58:52 -04:00
doko@ubuntu.com
5553231b91
- Issue #23968 : Rename the platform directory from plat-$(MACHDEP) to
...
plat-$(PLATFORM_TRIPLET).
Rename the config directory (LIBPL) from config-$(LDVERSION) to
config-$(LDVERSION)-$(PLATFORM_TRIPLET).
Install the platform specifc _sysconfigdata module into the platform
directory and rename it to include the ABIFLAGS.
2016-06-14 08:55:19 +02:00
Brett Cannon
82029ac14c
Issue #27186 : add Include/osmodule.h to the proper build rules
2016-06-12 13:21:22 -07:00
Martin Panter
cb3a581636
Issue #27229 : Merge makefile fix from 3.5
2016-06-07 01:08:48 +00:00
Martin Panter
6827fd867b
Issue #27229 : Comment in middle of shell command fails on BSD and OS X
2016-06-07 01:07:32 +00:00
Martin Panter
bb707607ea
Issue #27229 : Merge cross-compiling fix from 3.5
2016-06-07 00:30:49 +00:00
Martin Panter
9c2a8f97da
Issue #27229 : Fix in-tree cross-build rule, by Xavier de Gaye
2016-06-07 00:27:17 +00:00
Martin Panter
3e04d5b306
Issue #27076 : Merge spelling from 3.5
2016-05-26 06:03:19 +00:00
Martin Panter
46f50726a0
Issue #27076 : Doc, comment and tests spelling fixes
...
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:35:26 +00:00
Martin Panter
da28494d0a
Issue #22359 : Merge cross-compilation fix from 3.5
2016-04-23 01:18:54 +00:00
Martin Panter
1046d5c653
Issue #22359 : Disable running cross-compiled _freeze_importlib and pgen
...
Patch by Xavier de Gaye.
2016-04-23 00:58:44 +00:00
Gregory P. Smith
79a12a2aa5
Issue #25702 : A --with-lto configure option has been added that will
...
enable link time optimizations at build time during a make profile-opt.
2016-04-15 16:58:51 -07:00
Gregory P. Smith
d82da9f7f2
Issue #25702 : A --with-lto configure option has been added that will
...
enable link time optimizations at build time during a make profile-opt.
2016-04-15 16:57:04 -07:00
Gregory P. Smith
65f315e1ef
Exclude super long running tests from the PROFILE_TASK for PGO
...
builds. multiprocessing and subprocess tests in particular
along with test_asyncore and test_gdb. Running them does not
meaningfully add to the profile guidance.
2016-04-15 16:46:14 -07:00
Gregory P. Smith
ad45ab876f
Exclude super long running tests from the PROFILE_TASK for PGO
...
builds. multiprocessing and subprocess tests in particular
along with test_asyncore and test_gdb. Running them does not
meaningfully add to the profile guidance.
2016-04-15 16:45:43 -07:00
doko@ubuntu.com
b9e0834f46
Merge 3.5
2016-03-23 12:58:00 +01:00
doko@ubuntu.com
3a56b775da
Makefile.pre.in (profile-opt): Fix bashism.
2016-03-23 12:57:29 +01:00
Victor Stinner
d65e0c7560
Makefile: change default value of TESTTIMEOUT from 1 hour to 15 min
...
The whole test suite takes 6 minutes on my laptop. It takes less than 30
minutes on most buildbots. The TESTTIMEOUT is the timeout for a single test
file.
2016-03-23 02:05:39 +01:00
Serhiy Storchaka
885bdc4946
Issue #25985 : sys.version_info is now used instead of sys.version
...
to format short Python version.
2016-02-11 13:10:36 +02:00
Martin Panter
63d096ddab
Issue #24421 : Compile _math.c separately to avoid race condition
2016-02-03 05:19:44 +00:00
Martin Panter
c9deece272
Issue #24421 : Compile _math.c separately to avoid race condition
2016-02-03 05:19:44 +00:00
Zachary Ware
266514ae93
Issue #25827 : Merge with 3.5
2015-12-21 14:17:12 -06:00
Zachary Ware
5af856404a
Issue #25827 : Add support for ICC to configure
2015-12-21 12:09:17 -06:00
Victor Stinner
e33baf8b83
Merge 3.5
2015-12-13 21:26:34 +01:00
Victor Stinner
8de795f4d2
Issue #25696 : Don't ignore errors in 'make bininstall' on creating $(LIBPC) directory
2015-12-13 21:26:17 +01:00
Victor Stinner
117051afa9
(Merge 3.5) Issue #25696 : Fix installation of Python on UNIX with make -j9.
2015-12-13 21:21:36 +01:00
Victor Stinner
c2021558ef
Issue #25696 : Fix installation of Python on UNIX with make -j9.
2015-12-13 21:20:36 +01:00
Victor Stinner
dc0965551e
Issue #25694 : Install test.libregrtest to be able to run tests on the installed
...
Python
2015-11-22 15:18:40 +01:00
Brett Cannon
be7c1638e2
Issue #25188 : Add a -P/--pgo flag to regrtest to silence error output.
...
Since PGO building doesn't care about test failures, silence them when
running the test suite for performance reasons. Initial patch by
Alecsandru Patrascu of Intel.
2015-10-02 16:16:44 -07:00
Brett Cannon
7188a3efe0
Issue #24915 : Add Clang support to PGO builds and use the test suite
...
for profile data.
Thanks to Alecsandru Patrascu of Intel for the initial patch.
2015-09-18 15:13:44 -07:00
Eric Snow
96c6af9b20
Issue #16991 : Add a C implementation of collections.OrderedDict.
2015-05-29 22:21:39 -06:00
Eric Snow
32439d6eb6
Issue #23911 : Move path-based bootstrap code to a separate frozen module.
2015-05-02 19:15:18 -06:00
doko@ubuntu.com
dd2693fc1f
- merge 3.4
2015-04-30 13:44:43 +02:00
doko@ubuntu.com
ca40e4315c
- remove unused EXTRAPLATDIR macro in Makefile.pre.in
2015-04-30 13:44:18 +02:00
Gregory P. Smith
8cb6569fe1
Implements issue #9951 : Adds a hex() method to bytes, bytearray, & memoryview.
...
Also updates a few internal implementations of the same thing to use the
new built-in code.
Contributed by Arnon Yaari.
2015-04-25 23:22:26 +00:00
doko@ubuntu.com
ae18f387e4
merge 3.4
2015-04-13 22:10:47 +02:00
doko@ubuntu.com
100aa18556
- Makefile.pre.in (LIBPL): Use the definition from configure.ac
2015-04-13 22:10:21 +02:00
doko@ubuntu.com
4b761bf79a
- merge 3.4
2015-04-13 22:00:30 +02:00
doko@ubuntu.com
1345d20193
- Use PLATDIR for the platform directory everywhere (refactoring only)
2015-04-13 21:59:57 +02:00
Brett Cannon
f299abdafa
Issue #23731 : Implement PEP 488.
...
The concept of .pyo files no longer exists. Now .pyc files have an
optional `opt-` tag which specifies if any extra optimizations beyond
the peepholer were applied.
2015-04-13 14:21:02 -04:00
Nick Coghlan
8d11ccceeb
Rebuild _freeze_importlib.o when Makefile changes
2015-04-13 11:30:49 -04:00
Robert Collins
c7965e0c21
Issue #23585 : make patchcheck will ensure the interpreter is built.
2015-03-16 15:30:31 +13:00
Ned Deily
914db0f11c
Issue #23285 : Install new test directory.
2015-02-08 15:48:40 +11:00
Gregory P. Smith
28fe496598
Fixes issue23390: make profile-opt causes -fprofile-generate and related flags
...
to end up in distutils CFLAGS.
2015-02-04 02:16:13 -08:00
Gregory P. Smith
2f90aa6366
Fixes issue23390: make profile-opt causes -fprofile-generate and related flags
...
to end up in distutils CFLAGS.
2015-02-04 02:11:56 -08:00
Ned Deily
7c562f670c
Issue #17636 : Install new test directories.
2014-12-13 02:05:15 -08:00
Nick Coghlan
d600951748
Issue #22869 : Split pythonrun into two modules
...
- interpreter startup and shutdown code moved to a new
pylifecycle.c module
- Py_OptimizeFlag moved into the new module with the other
global flags
2014-11-20 21:39:37 +10:00
Georg Brandl
4f8fed28f0
merge with 3.4
2014-10-06 16:19:20 +02:00
Georg Brandl
2a3e396b24
Closes #21480 : better explanation of "hg touch" in the Makefile.
2014-10-06 14:58:17 +02:00
Antoine Pitrou
895ce149c1
Issue #22359 : Remove incorrect uses of recursive make. Patch by Jonas Wagner.
2014-09-21 00:21:58 +02:00
Ned Deily
87018afeae
Issue #21166 : fix typo in comment
2014-08-23 18:10:49 -07:00
Ned Deily
ec7aaf5de4
Issue #21166 : fix typo in comment
2014-08-23 18:10:16 -07:00
Ned Deily
682c04c70c
Issue #21166 : merge from 3.4
2014-08-22 13:36:30 -07:00
Ned Deily
fcbc246e9f
Issue #21166 : Prevent possible segfaults and other random failures of
...
python --generate-posix-vars in pybuilddir.txt build target by ensuring
that pybuilddir.txt is always regenerated when configure is run and
that the newly built skeleton python does not inadvertently import
modules from previously installed instances.
2014-08-22 13:32:49 -07:00
Benjamin Peterson
acb8c52343
add -Werror=declaration-after-statement only to stdlib extension modules ( closes #21121 )
...
Patch from Stefan Krah.
2014-08-09 20:01:49 -07:00
Benjamin Peterson
b30802b7a8
merge 3.4 ( #21121 )
2014-08-09 20:04:19 -07:00
Nick Coghlan
973fe0ba7a
Issue #18093 : Factor out the programs that embed the runtime
2014-07-25 21:52:14 +10:00
Ned Deily
05278eeac9
Issue 21383: merge from 3.4
2014-05-11 21:47:21 -07:00
Ned Deily
a869fd3dc0
Issue #21383 : Allow "make touch" to work when building outside of the
...
source directory.
2014-05-11 21:45:13 -07:00
Thomas Wouters
67d8dc1f58
Fix Tools/scripts/generate_opcode_h.py from issue #17861 to work correctly
...
when building in a separate object tree. More people should build this way.
This may still fail if the source is unwritable, I haven't tested that yet.
2014-04-17 01:13:29 +02:00
Kushal Das
02d23a212a
Closes Issue 17861: Autogenerate Include/opcode.h from opcode.py.
...
It includes required changes in Makefile.pre.in and configure.ac
among other files.
2014-04-15 23:50:06 +05:30
Ned Deily
490e53b853
Issue #21097 : Update Makefile with changed install locations of test directories.
2014-04-08 18:54:49 -07:00
Ned Deily
2f2ecaa484
Issue #19990 : Install test/imghdrdata.
2014-02-02 14:00:39 -08:00
Ned Deily
6bb21c48bc
Issue #19990 : Install test/imghdrdata.
2014-02-02 13:59:49 -08: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
Charles-François Natali
250a452fcf
Issue #19965 : Make sure that Python-ast.h is properly taken into account in the
...
makefile.
2013-12-15 19:12:52 +01:00
Charles-François Natali
46c686fc40
Issue #19965 : Make sure that Python-ast.h is properly taken into account in the
...
makefile.
2013-12-15 19:09:00 +01:00
Christian Heimes
1969e01ae5
Fix make distclean for out-of-tree builds
2013-11-24 03:32:51 +01:00
Christian Heimes
f8471862d6
Fix make distclean for out-of-tree builds
2013-11-24 03:32:40 +01:00
Larry Hastings
dcd340eeeb
Issue #19358 : "make clinic" now runs the Argument Clinic preprocessor
...
over all CPython source files.
2013-11-23 14:58:45 -08:00
Ned Deily
322f5ba0d8
Issue #19553 : PEP 453 - "make install" and "make altinstall" now install or
...
upgrade pip by default, using the bundled pip provided by the new ensurepip
module. A new configure option, --with-ensurepip[=upgrade|install|no], is
available to override the default ensurepip "--upgrade" option. The option
can also be set with "make [alt]install ENSUREPIP=[upgrade|install\no]".
2013-11-21 23:01:59 -08:00
Ned Deily
b8f944f0b7
Issue #19649 : On OS X, the same set of file names are now installed
...
in bin directories for all configurations: non-framework vs framework,
and single arch vs universal builds. pythonx.y-32 is now always
installed for 64-bit/32-bit universal builds. The obsolete and
undocumented pythonw* symlinks are no longer installed anywhere.
2013-11-21 22:42:25 -08: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
Nick Coghlan
d0cf0635b3
Close #19406 : Initial implementation of ensurepip
...
Patch by Donald Stufft and Nick Coghlan
2013-11-11 22:11:55 +10:00
Ned Deily
db5ab780e8
Issue #15392 : merge from 3.3
2013-11-03 20:09:51 -08:00
Ned Deily
c3909e5af7
Issue #15392 : Install idlelib/idle_test.
2013-11-03 20:08:53 -08: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
Ned Deily
65657c27fa
Issue #1584 : Provide options to override default search paths for Tcl and Tk
...
when building _tkinter. configure has two new options; if used, both must
be specified:
./configure \
--with-tcltk-includes="-I/opt/local/include" \
--with-tcltk-libs="-L/opt/local/lib -ltcl8.5 -ltk8.5"
In addition, the options can be overridden with make:
make \
TCLTK_INCLUDES="-I/opt/local/include" \
TCLTK_LIBS="-L/opt/local/lib -ltcl8.6 -ltk8.6"
2013-10-25 00:34:44 -07:00
Ned Deily
3c97e46f63
Issue #19262 : Install asyncio and test_asyncio directories.
2013-10-17 18:08:00 -07:00
Serhiy Storchaka
e1426b61f6
Issue #18919 : Add test/audiodata to LIBSUBDIRS.
2013-10-14 21:19:24 +03:00
Serhiy Storchaka
c3a9b35588
Issue #18919 : Add test/audiodata to LIBSUBDIRS.
2013-10-14 21:18:50 +03:00
Martin v. Löwis
706f0f5f57
Drop buildbottouch again; the master is using "make touch" now.
2013-10-02 16:59:23 +02:00
Martin v. Löwis
73c6ee0080
Merge 3.3
2013-10-02 16:59:41 +02:00
Martin v. Löwis
2512caedd7
Merge 3.3
2013-09-30 16:22:05 +02:00
Martin v. Löwis
7ab8c872d3
Issue #19106 : Add buildbottouch target.
2013-09-30 16:21:44 +02:00
Ned Deily
d819b931f3
Issue #1584 : Provide options to override default search paths for Tcl and Tk
...
when building _tkinter. configure has two new options; if used, both must
be specified:
./configure \
--with-tcltk-includes="-I/opt/local/include" \
--with-tcltk-libs="-L/opt/local/lib -ltcl8.5 -ltk8.5"
In addition, the options can be overridden with make:
make \
TCLTK_INCLUDES="-I/opt/local/include" \
TCLTK_LIBS="-L/opt/local/lib -ltcl8.6 -ltk8.6"
2013-09-06 01:07:05 -07:00
Richard Oudkerk
84ed9a68bd
Issue #8713 : Support alternative start methods in multiprocessing on Unix.
...
See http://hg.python.org/sandbox/sbt#spawn
2013-08-14 15:35:41 +01:00
Ezio Melotti
5cc06fde43
#18273 : merge with 3.3.
2013-08-08 15:18:26 +03:00
Ezio Melotti
66f2ea042a
#18273 : move the tests in Lib/test/json_tests to Lib/test/test_json and make them discoverable by unittest. Patch by Zachary Ware.
2013-08-08 15:03:45 +03:00
doko@ubuntu.com
0df35b0a57
- Issue #18257 : Fix readlink usage in python-config. Install the python
...
version again on Darwin.
2013-08-01 15:32:49 +02:00
Christian Heimes
49e52f9375
Issue #18481 : Add C coverage reporting with gcov and lcov. A new make target
...
"coverage-report" creates an instrumented Python build, runs unit tests
and creates a HTML. The report can be updated with "make coverage-lcov".
2013-07-31 00:55:18 +02:00
Ned Deily
3b998d1086
Issue #15494 : merge from 3.3
2013-07-30 14:32:52 -07:00
Ned Deily
cdc75d967b
Issue #15494 : Install new test/support directory.
2013-07-30 14:30:15 -07:00
Christian Heimes
273c292dfa
use $(LN) makefile variable instead of ln
2013-07-09 14:30:22 +02:00
Christian Heimes
ae6275d8c8
use $(LN) makefile variable instead of ln
2013-07-09 14:30:04 +02:00
Ned Deily
78094ac53e
Avoid spurious non-fatal install errors for OS X frameworks:
...
for a framework install, the python shared library is installed in
the frameworkinstallstructure target, not in altbininstall.
2013-07-08 14:33:03 -07:00
Eric V. Smith
ee31bc09cf
#18312 : merge from 3.3.
2013-07-02 09:07:53 -04:00
Eric V. Smith
f4c47b5a35
Closes #18312 : 'make distclean' no longer deletes files in dot-directories.
2013-07-02 09:06:54 -04:00
Serhiy Storchaka
e2cef885a2
Issue #16061 : Speed up str.replace() for replacing 1-character strings.
2013-04-13 22:45:04 +03:00
doko@ubuntu.com
6d3d0fe0b2
- Issue #16754 : Fix the incorrect shared library extension on linux. Introduce
...
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:39:52 -07:00
doko@ubuntu.com
1621d77fc8
- Issue #16754 : Fix the incorrect shared library extension on linux. Introduce
...
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:31:41 -07:00
doko@ubuntu.com
d5537d071c
- Issue #16754 : Fix the incorrect shared library extension on linux. Introduce
...
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:21:49 -07:00
Serhiy Storchaka
e4ad8aacd1
Issue #4591 : Uid and gid values larger than 2**31 are supported now.
2013-02-12 09:24:16 +02:00
Serhiy Storchaka
008deb7f04
Clean trailing whitespaces in Makefile.pre.in.
2013-02-12 09:21:36 +02:00
Serhiy Storchaka
c2d020090b
Issue #4591 : Uid and gid values larger than 2**31 are supported now.
2013-02-10 22:03:08 +02:00
Serhiy Storchaka
7cf5599346
Issue #4591 : Uid and gid values larger than 2**31 are supported now.
2013-02-10 21:56:49 +02:00
Ned Deily
1ce9595e87
Issue #17161 : merge from 3.3
2013-02-08 23:05:10 -08:00
Ned Deily
aa20b000d1
Issue #17161 : make install now also installs a python3 man page.
2013-02-08 23:02:09 -08:00
Ned Deily
a48b61f8f2
Issue #17161 : make install now also installs a python3 man page.
2013-02-08 22:53:51 -08:00
doko@python.org
874211978c
- Issue #16235 : Implement python-config as a shell script.
2013-01-26 11:39:31 +01:00
doko@python.org
90c8d06d68
- Issue #17031 : Fix running regen in cross builds.
2013-01-25 18:45:41 +01:00
doko@python.org
a10e4a9afb
- Issue #17031 : Fix running regen in cross builds.
2013-01-25 18:45:12 +01:00
doko@python.org
6951fea3ab
- Issue #17029 : Let h2py search the multiarch system include directory.
2013-01-25 13:20:46 +01:00
doko@python.org
0c77bf757f
- Issue #17029 : Let h2py search the multiarch system include directory.
2013-01-25 13:19:35 +01:00
doko@python.org
3e6e2ac31d
- Issue #17029 : Let h2py search the multiarch system include directory.
2013-01-25 13:12:29 +01:00
Serhiy Storchaka
05aba6ce39
Issue #16320 : Remove redundant Makefile dependencies for strings and bytes.
2013-01-06 21:36:21 +02:00
Christian Heimes
98cd0f262d
Issue #16593 : Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
2012-12-02 08:23:05 +01:00
Christian Heimes
8ca1d5f762
- Issue #16593 : Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
2012-12-02 08:14:50 +01:00
Christian Heimes
17ad40e46e
Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
2012-12-02 07:37:35 +01:00
Matthias Klose
1348747052
- Issue #16262 : fix out-of-src-tree builds, if mercurial is not installed.
2012-10-21 23:14:39 +02:00
Matthias Klose
aee3c76acf
- Issue #16262 : fix out-of-src-tree builds, if mercurial is not installed.
2012-10-21 23:12:35 +02:00
Matthias Klose
c4c4842d86
- Issue #16262 : fix out-of-src-tree builds, if mercurial is not installed.
2012-10-21 23:05:35 +02:00
Antoine Pitrou
74375fc06a
Followup to issue #15958 : add join.h to Makefile dependencies for byte strings
...
(thanks Serhiy).
2012-10-18 21:31:22 +02:00
Trent Nelson
5595ab564c
Issue #15819 : use standard autoconf preset output variables.
...
Reported by: Roumen Petrov
2012-10-17 04:47:31 -04:00
Trent Nelson
739fc541b1
Issue #15819 : use standard autoconf preset output variables.
...
Reported by: Roumen Petrov
2012-10-17 04:45:30 -04:00
Trent Nelson
4d4ec6502d
Merge issue #15819 : additional fixes for out-of-tree builds from read-only src.
...
Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.
Fix typeslots.inc so that it gets generated into the build directory.
In addition, for 3.3, make sure importlib.h gets generated into the
build directory.
2012-10-16 08:51:24 -04:00
Trent Nelson
9effe699b7
Issue #15819 : additional fixes for out-of-tree builds from read-only src.
...
Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.
Fix typeslots.inc so that it gets generated into the build directory.
2012-10-16 08:41:32 -04:00
Trent Nelson
c101bf32c4
Issue #15298 : ensure _sysconfigdata is generated in build directory,
...
not source directory.
Patch by Richard Oudkerk (sbt).
2012-10-16 08:13:12 -04:00
Ned Deily
4725b13ab3
Issue #15822 : Fix installation of lib2to3 grammar pickles to ensure
...
they are created in the install locations and with the proper timestamp.
(Solution suggested by MvL)
2012-09-08 19:04:47 -07:00
Ned Deily
47bcfff26b
Issue #15822 : Fix installation of lib2to3 grammar pickles to ensure
...
they are created in the install locations and with the proper timestamp.
(Solution suggested by MvL)
2012-09-08 18:50:56 -07:00
Christian Heimes
4e2514031a
Fix for fcc629208842
...
BSD's make doesn't support some of the features.
2012-09-07 02:26:26 +02:00
Christian Heimes
5f381210c4
Fix for fcc629208842
...
BSD's make doesn't support some of the features.
2012-09-07 02:24:58 +02:00
Christian Heimes
74b65c8ebc
Issue #15591 and Issue #11715 : silence output of setup.py when make is run with -s option.
2012-09-07 00:56:56 +02:00
Christian Heimes
0897683381
Issue #15591 and Issue #11715 : silence output of setup.py when make is run with -s option.
2012-09-07 00:55:33 +02:00
Trent Nelson
e60ee2985c
Issue #15819 : Fix out-of-tree builds from a readonly source.
2012-08-30 14:52:38 +00:00
Trent Nelson
a45afcada3
Issue #15819 : Fix out-of-tree builds from a readonly source.
2012-08-30 14:32:02 +00:00
Matthias Klose
fc35ecec29
- fix paste error (whitespace) from previous commit
2012-08-28 19:08:42 +02:00
Matthias Klose
2412c93a60
- fix paste error (whitespace) from previous commit
2012-08-28 19:07:38 +02:00
Matthias Klose
2d652bacf4
- Issue #15591 : Fix parsing MAKEFLAGS in the sharedmods target.
2012-08-28 19:00:01 +02:00
Matthias Klose
25b10a28f5
- Issue #15591 : Fix parsing MAKEFLAGS in the sharedmods target.
2012-08-28 18:55:07 +02:00
Ned Deily
6fc81d7eec
Issue #15645 : Ensure 2to3 grammar pickles are properly installed.
...
(Patch by Ronald Oussoren)
2012-08-22 23:34:13 -07:00
Ned Deily
01d183732e
Issue #15645 : Ensure 2to3 grammar pickles are properly installed.
...
(Patch by Ronald Oussoren)
2012-08-22 23:27:26 -07:00
Ned Deily
c59cc8f5ea
Issue #14197 : merge
2012-07-24 03:45:39 -07:00
Ned Deily
ecd4e9de5a
Issue #14197 : For OS X framework builds, ensure links to the shared
...
library are created with the proper ABI suffix.
2012-07-24 03:31:48 -07:00
Ned Deily
cc409f4ecc
Issue #15168 : Ensure test_importlib subdirectories are installed.
2012-07-20 13:24:58 -07:00
doko@ubuntu.com
1abe1c5fe1
- Issue #14330 : For cross builds, don't use host python, use host search paths
...
for host compiler.
2012-06-30 20:42:45 +02:00
doko@ubuntu.com
5884449539
- Issue #3754 : Use readelf instead of ldd for the cross build readline check
2012-06-30 18:25:32 +02:00
Matthias Klose
39b1e5dff3
build_all_use_profile: Build using -fprofile-correction to automatically
...
correct inconsistent profiles for multi-threaded programs.
2012-06-27 14:13:33 +02:00
Eric V. Smith
714370fad1
Give test directory a more reasonable name.
2012-06-24 19:55:18 -04:00
Eric V. Smith
e51a36922f
Fixes issue 15039: namespace packages are no longer imported in preference to modules of the same name.
2012-06-24 19:13:55 -04:00
Ned Deily
99ac2f1d06
Packaging removal: remove pysetup3 install from Makefile.
2012-06-24 01:20:58 -07:00
Éric Araujo
ec177c14d3
Packaging removal: also revert introduction of sysconfig.cfg.
...
We need a discussion to define what should be customized how; this new
config file is premature. It was added to serve the needs of the
resources system in install_data / packaging.database, so it can be
removed alongside packaging for 3.3.
2012-06-24 03:27:43 -04:00
Éric Araujo
859aad6a36
Remove packaging from the standard library.
...
Distutils2 will live on on PyPI and be included in the stdlib when it
is ready. See discussion starting at
http://mail.python.org/pipermail/python-dev/2012-June/120430.html
2012-06-24 00:07:41 -04:00
Antoine Pitrou
e67f48ce5e
Issue #14928 : Fix importlib bootstrap issues by using a custom executable (Modules/_freeze_importlib) to build Python/importlib.h.
2012-06-19 22:29:35 +02:00
Antoine Pitrou
2d9db1dfce
Try to fix issue #15086 : build failure on Ubuntu shared buildbot.
2012-06-17 00:27:30 +02:00
Barry Warsaw
409da157d7
Eric Snow's implementation of PEP 421.
...
Issue 14673: Add sys.implementation
2012-06-03 16:18:47 -04:00
Ned Deily
7e18f43ec8
Issue #14660 : Install namespace_pkgs test directories and files.
2012-05-27 22:34:33 -07:00
Vinay Sajip
7ded1f0f69
Implemented PEP 405 (Python virtual environments).
2012-05-26 03:45:29 +01:00
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
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
Ned Deily
d5a91961dd
Issue #12205 : Fix test_subprocess failure due to uninstalled test data.
2011-05-29 02:39:02 -07: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