Commit Graph

65761 Commits

Author SHA1 Message Date
Ned Deily 18fae3f954 Issue #13590: OS X Xcode 4 - improve support for universal extension modules
In particular, fix extension module build failures when trying to use
    32-bit-only installer Pythons on systems with Xcode 4 (currently
    OS X 10.8, 10.7, and optionally 10.6).
    * Backport 3.3.0 fixes to 2.7 branch (for release in 2.7.4)
    * Since Xcode 4 removes ppc support, extension module builds now
      check for ppc compiler support and by default remove ppc and
      ppc64 archs when they are not available.
    * Extension module builds now revert to using system installed
      headers and libs (/usr and /System/Library) if the SDK used
      to build the interpreter is not installed or has moved.
    * Try to avoid building extension modules with deprecated
      and problematic Apple llvm-gcc compiler.  If original compiler
      is not available, use clang instead by default.
2013-01-31 01:24:55 -08:00
Michael Foord 77cd8aab23 Issue 15505. unittest.installHandler and non callable signal handlers 2013-01-29 22:59:02 +00:00
Vinay Sajip b322621a53 Added clarification to logging HOWTO. 2013-01-29 22:36:39 +00:00
Serhiy Storchaka 64cca12622 Move NEWS entity from library to core section. 2013-01-29 12:04:55 +02:00
Serhiy Storchaka 74e449fe6a Add tests for raw-unicode-escape codec. 2013-01-29 11:39:44 +02:00
Serhiy Storchaka 7277f9d099 Clean up escape-decode decoder tests. 2013-01-29 11:06:28 +02:00
Serhiy Storchaka f89ad15b12 Merge heads 2013-01-29 10:39:19 +02:00
Serhiy Storchaka c8e58126a2 Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder. 2013-01-29 10:20:34 +02:00
Ned Deily e1c9794957 Issue #14018: Backport OS X installer updates from 3.3. 2013-01-29 00:07:46 -08:00
Benjamin Peterson 8d15ca3cc6 fix long fixer docs (#4590) 2013-01-28 18:28:38 -05:00
Serhiy Storchaka acf40179c8 Add Robert Xiao to Misc/ACKS for issue17051. 2013-01-28 20:27:28 +02:00
Serhiy Storchaka 46f5b35bc0 Issue #17051: Fix a memory leak in os.path.isdir() on Windows. Patch by Robert Xiao. 2013-01-28 20:19:50 +02:00
Serhiy Storchaka 80a0a1e170 Fix skip conditions in some docstings tests. 2013-01-28 13:24:01 +02:00
Serhiy Storchaka d7797c6e7a Remove trailing whitespaces in cStringIO.h. 2013-01-28 11:00:58 +02:00
Serhiy Storchaka 72121c6c30 - Issue #17041: Fix testing when Python is configured with the
--without-doc-strings option.
2013-01-27 19:45:49 +02:00
Stefan Krah 6d3a8605a5 Issue #11729: Backport commit bff052d9 from libffi upstream in order to fix
a ctypes build failure with clang.
2013-01-27 18:00:24 +01:00
Nadeem Vawda 221508cdef Issue #13886: Fix input() to not strip out supposedly-invalid input bytes. 2013-01-27 14:21:26 +01:00
Ned Deily 4511e276d5 Issue #14018: fix merge error 2013-01-26 18:08:22 -08:00
Sandro Tosi c19d7b6556 fix typo; thanks to Dmitry Northerner from docs@ 2013-01-27 00:22:33 +01:00
Stefan Krah 4216aa1e52 Adapt test for build --without-doc-strings. 2013-01-26 13:31:44 +01:00
Serhiy Storchaka c59c85c1ac Issue #10156: In the interpreter's initialization phase, unicode globals
are now initialized dynamically as needed.
2013-01-26 12:13:40 +02:00
Serhiy Storchaka 6fef14d7f3 Optimize the test for issue #13454.
Now it requires almost 4x less memory and is almost 2x faster.
2013-01-26 11:51:42 +02:00
Serhiy Storchaka 01b3a08f5e Issue #16975: Fix error handling bug in the escape-decode decoder. 2013-01-25 23:30:50 +02:00
Ronald Oussoren 1c60c7ac4c Issue #1602133: 'environ' is not really available with shared libraries on OSX
There already was a workaround for this for framework builds on OSX,
this changeset enables the same workaround for shared libraries.

Closes #1602133
2013-01-25 17:55:39 +01:00
doko@python.org fa3f9a38b2 - Issue #3754: fix typo in pthread AC_CACHE_VAL. 2013-01-25 15:32:31 +01:00
Serhiy Storchaka 9abc830c6a Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase
interface and support all mandatory methods and properties.
2013-01-25 15:30:35 +02:00
doko@python.org 4e63fbe04d - Issue #17029: Let h2py search the multiarch system include directory. 2013-01-25 13:08:27 +01:00
Serhiy Storchaka b09ec9b618 Issue #13454: Fix a crash when deleting an iterator created by itertools.tee()
if all other iterators were very advanced before.
2013-01-25 13:31:05 +02:00
Serhiy Storchaka 7ee79a2823 Don't run the test for issue #16335 when -M is not specified.
Increase memory limit in this test.
2013-01-25 10:03:12 +02:00
Eli Bendersky f4fbf24aad Issue #9708: clarify doc of iterparse - cElementTree doesn't support the parser argument 2013-01-24 07:28:33 -08:00
Vinay Sajip eb01949709 Corrected typo, added comment in cookbook recipe. 2013-01-23 09:30:34 +00:00
Ezio Melotti f5da3ec5ee #11379: rephrase minidom documentation to use the term "minimal" instead of "lightweight". Patch by Éric Araujo. 2013-01-22 22:47:57 +02:00
Vinay Sajip a0c9a4ed75 Added cookbook recipe for structured logging. 2013-01-22 15:57:12 +00:00
Serhiy Storchaka 353e54edc4 Issue #1159051: GzipFile now raises EOFError when reading a corrupted file
with truncated header or footer.
Added tests for reading truncated gzip and bzip2 files.
2013-01-22 17:13:26 +02:00
Vinay Sajip 0f2bd027a8 Updated logging HOWTO with a diagram. 2013-01-22 13:10:58 +00:00
Vinay Sajip 8a459d977d Issue #17007: Made minor changes to documentation wording. 2013-01-21 21:56:35 +00:00
Vinay Sajip cb309c5fae Issue #17007: Improved logging documentation based on suggestions in the issue. 2013-01-21 19:43:51 +00:00
Serhiy Storchaka e3adb43b4b Add bigmemtest decorator to test of issue #16335. 2013-01-21 20:23:01 +02:00
Serhiy Storchaka b1ecf80e04 Fix memory error in test_ucn.
unicode-escape decoder requires memory for result corresponding to input size.
Fixes test for issue #16335.
2013-01-21 13:03:58 +02:00
Christian Heimes 4d70e583ab fix for f4d30d1a529e
Python 2.7 has only assertRaisesRegexp, not assertRaisesRegex
2013-01-21 11:25:27 +01:00
Serhiy Storchaka 1d3acd4b59 Issue #16335: Fix integer overflow in unicode-escape decoder. 2013-01-21 11:48:24 +02:00
Stefan Krah b357db885c Backport 6df456f8fc6d. 2013-01-20 23:29:28 +01:00
Serhiy Storchaka 926f3a37de Issue #15989: Fix possible integer overflow in str formatting as in unicode formatting. 2013-01-19 23:35:46 +02:00
Benjamin Peterson 6b78bffa20 remove unnecessary clearing of list 2013-01-19 14:58:38 -05:00
Serhiy Storchaka 18a13933f9 Ensure that width and precision in string formatting test have type int, not long.
Fix a regression from changeset d544873d62e9 (issue #15989).
2013-01-19 21:06:35 +02:00
Ezio Melotti 302ad8d126 Fix a few typos in Misc/NEWS. 2013-01-19 19:44:58 +02:00
Charles-François Natali a41cf29c0b Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
Patch by Jeffrey Armstrong.
2013-01-19 12:15:56 +01:00
Serhiy Storchaka 74f49ab28b Issue #15989: Fix several occurrences of integer overflow
when result of PyInt_AsLong() or PyLong_AsLong() narrowed
to int without checks.

This is a backport of changesets 13e2e44db99d and 525407d89277.
2013-01-19 12:55:39 +02:00
Raymond Hettinger ac7b49f407 Improve tooltips by listing the most common argument pattern first. 2013-01-18 23:23:11 -08:00
Raymond Hettinger b077f9ce9f Ignore Mac's Data Services Store 2013-01-18 18:07:58 -08:00