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