Commit Graph

465 Commits

Author SHA1 Message Date
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 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