Zachary Ware
c4b53afce4
Issue #28046 : Remove platform-specific directories from sys.path
2016-09-09 17:59:49 -07:00
Łukasz Langa
a785c87d6e
DTrace support: function calls, GC activity, line execution
...
Tested on macOS 10.11 dtrace, Ubuntu 16.04 SystemTap, and libbcc.
Largely based by an initial patch by Jesús Cea Avión, with some
influence from Dave Malcolm's SystemTap patch and Nikhil Benesch's
unification patch.
Things deliberately left out for simplicity:
- ustack helpers, I have no way of testing them at this point since
they are Solaris-specific
- PyFrameObject * in function__entry/function__return, this is
SystemTap-specific
- SPARC support
- dynamic tracing
- sys module dtrace facility introspection
All of those might be added later.
2016-09-09 17:37:37 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
255295f13e
Fix make buildbottest to not re-trigger a profile-opt build. issue28035.
2016-09-09 12:22:49 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
e53592091a
Fix make buildbottest to not re-trigger a profile-opt build. issue28035.
2016-09-09 12:23:05 -07:00
Benjamin Peterson
7d895ac953
remove --with(out)-signal-module, since the signal module is non-optional
2016-09-09 12:01:10 -07:00
Brett Cannon
8c94f97465
Issue #26359 : Add the --with-optimizations flag.
2016-09-06 17:15:21 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
653c850919
Fixes issue26307: The profile-opt build now applys PGO to the built-in
...
modules.
2016-09-06 23:56:54 +00:00
Benjamin Peterson
41356f926d
indicate the dependence of odict and dictobject on dict-common.h
2016-09-08 13:19:14 -07:00
Zachary Ware
20737cc91e
Issue #28027 : Remove Lib/plat-* files
2016-09-08 11:38:46 -07:00
Eric Snow
97be87a5c8
Issue #15352 : Rebuild frozen modules when marshal.c is changed.
2016-09-07 18:48:06 -07:00
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