Commit Graph

55915 Commits

Author SHA1 Message Date
Brett Cannon 98979b85e7 Issue #15166: Re-implement imp.get_tag() using sys.implementation.
Also eliminates some C code in Python/import.c as well.

Patch by Eric Snow with verification by comparing against another
patch from Jeff Knupp.
2012-07-02 15:13:11 -04:00
Brett Cannon 8e2f5564b3 Issue #15210: If _frozen_importlib is not found in sys.modules by
importlib.__init__, then catch the KeyError raised, not ImportError.
2012-07-02 14:53:10 -04:00
Brett Cannon 1e331560ee Closes #15030: Make importlib.abc.PyPycLoader respect the new .pyc
file size header field.

Thanks to Marc Abramowitz and Ronan Lamy for helping out with various
parts of the patch.
2012-07-02 14:35:34 -04:00
Stefan Krah d57caf36bd Remove ISSUES.txt. 2012-07-01 12:24:20 +02:00
doko@ubuntu.com 15bac0f4da - Issue #15235: Allow Berkley DB versions up to 5.3 to build the dbm module. 2012-07-01 10:35:54 +02:00
Georg Brandl 487f191b79 Fix filename. 2012-07-01 10:04:35 +02:00
Georg Brandl c9d2fc390d Merge with 3.2. 2012-07-01 09:56:07 +02:00
Georg Brandl 29feb1ffca Make call of os.getppid() conditional: it is not available on Windows. 2012-07-01 09:47:54 +02:00
Georg Brandl 3aa0c9dcf3 Fix inconsistent function name in embedding howto. 2012-07-01 09:43:20 +02:00
Raymond Hettinger e4870b5117 Limit which operators get colorized 2012-07-01 00:37:05 -07:00
Raymond Hettinger 9b8ede60c1 Set title to the source filename 2012-06-30 23:19:30 -07:00
Raymond Hettinger fd490cc052 Small cleanups 2012-06-30 22:19:04 -07:00
Raymond Hettinger 410afbc5d8 Fix local variable 2012-06-30 17:10:25 -07:00
Raymond Hettinger 461fcaa6d4 Add author tag 2012-06-30 17:00:14 -07:00
Raymond Hettinger bc09cf1f35 Add syntax highlighter tool 2012-06-30 16:58:06 -07:00
doko@ubuntu.com d4ea23f200 - Issue #15194: check in the missing m4/ax_append_flag.m4 file.
Regenerate aclocalm4 and configure.
2012-07-01 01:08:20 +02:00
doko@ubuntu.com 41f9d04e06 null merge 2012-07-01 00:38:34 +02:00
doko@ubuntu.com 49a7da30aa - Issue #15194: check in the missing m4/ax_check_compile_flag.m4 file.
Regenerate aclocalm4 and configure.
2012-07-01 00:37:47 +02:00
doko@ubuntu.com cc5addd3b6 - Issue #14330: Don't derive the include and library search dirs
from GCC for native builds
2012-07-01 00:23:51 +02:00
Antoine Pitrou f87289bb58 Issue #15229: An OSError subclass whose __init__ doesn't call back
OSError.__init__ could produce incomplete instances, leading to crashes
when calling str() on them.
2012-06-30 23:37:47 +02:00
doko@ubuntu.com 4c99071c9b - fix the OS X build failure, only try to remove the temporary file if it exists 2012-06-30 23:28:09 +02:00
Antoine Pitrou 7f7902ce9c Merge 2012-06-30 23:03:18 +02:00
Antoine Pitrou d06f9742db Try to fix compilation failure under OS X 2012-06-30 22:56:37 +02:00
doko@ubuntu.com b14168d64a null merge 2012-06-30 22:36:12 +02:00
doko@ubuntu.com 36f98051af - Regenerate the libffi configure file 2012-06-30 22:35:52 +02:00
doko@ubuntu.com 7e6c2e2cc4 - Issue #14330: For cross builds, don't use host python, use host search paths
for host compiler.

  Add NEWS entry, rename _PROJECT_BASE to _PYTHON_PROJECT_BASE.
2012-06-30 22:35:00 +02:00
Stefan Krah 5431e30853 After 79d2eb29c755 it is no longer necessary to zero the output array:
None of the _mpd_shortadd() or _mpd_shortmul() functions read uninitialized
values. Previously zeroing was required since _mpd_real_size() was called
on the output array.
2012-06-30 21:57:49 +02: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 b457b9be4d - Issue #3754: Fix /dev/ptmx, /dev/ptc file checks for cross builds,
require values set in CONFIG_SITE.
2012-06-30 19:28:16 +02:00
Stefan Krah 536f1b909c Null merge. 2012-06-30 18:42:32 +02:00
Stefan Krah 4cf1cc71a6 Issue #15171: Quote the variable that expands to the current directory. 2012-06-30 18:35:15 +02:00
Matthias Klose e344eca3ff previous patch needs patch from issue #14330
set cross_compiling = False for now.
2012-06-30 18:32:06 +02:00
Matthias Klose fe39bd12f8 - merge branches 2012-06-30 18:26:26 +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
Stefan Krah 3746aee905 Whitespace. 2012-06-30 18:20:33 +02:00
Stefan Krah c35a8e5c98 Proactive reliability fix for broken FPUs: The base conversion functions
use log10() to calculate the size of the output array. The current code
has been tested on x86/amd64 (and to a lesser extent on qemu-mips qemu-sparc)
and produces sufficiently large values for all inputs tested so far (coefficient
sizes of 10**18 - 1 are hard to test exhaustively).

The new code does not rely on the correctness of log10() and resizes
the output arrays if the allocated space is insufficient.
2012-06-30 18:05:33 +02:00
Antoine Pitrou e38c98f974 Merge 2012-06-30 17:33:13 +02:00
Antoine Pitrou f93b705bd0 Issue #9239: add tests for modifying zipfile comments in append mode. 2012-06-30 17:32:41 +02:00
doko@ubuntu.com f2967c73ad - check for libtinfo as a termcap library 2012-06-30 17:32:23 +02:00
Antoine Pitrou c399185fcc Issue #9239: add tests for modifying zipfile comments in append mode. 2012-06-30 17:31:37 +02:00
Antoine Pitrou 24ef3e967f Issue #15225: improve error message when hmac is passed a wrong key type.
Patch by Marc Abramowitz.
2012-06-30 17:27:56 +02:00
doko@ubuntu.com 9c7817e9ee - Issue #3754: Some unrelated configure.ac cleanups. 2012-06-30 17:05:13 +02:00
doko@ubuntu.com ba01583eef - Issue #14324: use a linker test to check for profiling support 2012-06-30 16:52:05 +02:00
doko@ubuntu.com 51f6594054 - Issue #3754: Use AC_PATH_TOOL and AC_CHECK_TOOLS instead of
AC_PATH_PROG and AC_CHECK_PROGS for the target tools.
2012-06-30 14:42:46 +02:00
doko@ubuntu.com 93df16bb16 - Issue #3754, refactor sys.platform / get_platform bits, use a
global host_platform instead.
2012-06-30 14:32:08 +02:00
Nadeem Vawda 83a4dd3fdf Update GzipFile docstring to mention gzip.open()'s new text-mode support. 2012-06-30 13:34:28 +02:00
Tim Golden 07a616d19e Merged 2012-06-29 22:12:39 +01:00
Tim Golden 4854533f6d Merged 2012-06-29 22:11:38 +01:00
Senthil Kumaran a1632e65fa urllib.parse cleanup. rename keywords used as variables 2012-06-29 11:08:51 -07:00
Senthil Kumaran eda29f4718 urllib.parse cleanup. rename keywords used as variables 2012-06-29 11:08:20 -07:00