82216 Commits

Author SHA1 Message Date
Victor Stinner
a89ecc7d23 Cleanup test_tracemalloc.py. Patch written by Vajrasky Kok. 2013-11-25 09:29:45 +01:00
Georg Brandl
d476ab1276 merge with 3.3 2013-11-25 08:52:24 +01:00
Georg Brandl
37b70bb908 Closes #19622: clarify message about bufsize changes in 3.2.4 and 3.3.1. 2013-11-25 08:48:37 +01:00
Georg Brandl
dbce53dec5 merge with 3.3 2013-11-25 08:29:54 +01:00
Georg Brandl
db5e74fab3 Fix doc markup error. 2013-11-25 08:29:44 +01:00
Guido van Rossum
16c42391f1 asyncio: Fix docstring of get_nowait(). 2013-11-24 22:41:35 -08:00
Alexandre Vassalotti
ded929b300 Merge save_int into save_long in cpickle to remove redundant code.
Also, replace unnessary uses of the #if preprocessor directive.
2013-11-24 22:41:13 -08:00
Guido van Rossum
a58d1c32f8 asyncio: Add BoundedSemaphore to export list in locks.__all__. 2013-11-24 22:32:09 -08:00
Alexandre Vassalotti
8a67f52463 Simplify save_bool in cpickle. 2013-11-24 21:40:18 -08:00
Ezio Melotti
fb310a9ec6 Merge broken link fix from 3.3. 2013-11-25 06:41:00 +02:00
Ezio Melotti
f5005883ba Fix broken link in html.entities docs. 2013-11-25 06:40:12 +02:00
Ezio Melotti
250a06c3cb Add whatsnew section about the html package. 2013-11-25 06:18:47 +02:00
Ezio Melotti
5833c00427 #19620: merge with 3.3. 2013-11-25 05:16:09 +02:00
Ezio Melotti
4bcc796acc #19620: Fix typo in docstring (noticed by Christopher Welborn). 2013-11-25 05:14:51 +02:00
Raymond Hettinger
799f81b14c merge 2013-11-24 14:53:54 -08:00
Raymond Hettinger
97fc2ba6bf Document that @property can incorporate a docstring from the getter method. Improve readabilty with additional whitespace. 2013-11-24 14:53:29 -08:00
Christian Heimes
217f5c4eda Issue #19758: silence PendingDeprecationWarnings in test_hmac
I also removed some bare excepts from the tests.
2013-11-24 23:14:16 +01:00
Larry Hastings
99e101013f Merged 3.4.0b1 release head back into trunk. 2013-11-24 14:05:57 -08:00
Serhiy Storchaka
2480c2ed59 Issue #15204: Silence and check the 'U' mode deprecation warnings in tests.
Changed deprecation message in the fileinput module.
2013-11-24 23:13:26 +02:00
Alexandre Vassalotti
ed8c906127 Use Clinic to process arguments in cpickle.
This doesn't make any functional changes to the exisiting implementation.  The
conversion did help however uncover documentation bugs. The best thing about
this conversion is less C code to maintain by hand.
2013-11-24 12:25:48 -08:00
Stefan Krah
daa96b7669 Merge from 3.3. 2013-11-24 19:56:23 +01:00
Stefan Krah
45059eb1d0 1) Prepare libmpdec for the 2.4.0 release. None of the following changes affects
_decimal:

      o Make all "mpd_t to C integer" conversion functions available in both the
        64-bit and the 32-bit versions.

      o Make all mixed mpd_t/C integer arithmetic functions available in the
        32-bit version.

      o Better handling of __STDC_LIMIT_MACROS for C++ users.

      o Add struct tags (at the request of C++ users).

2) Check for libmpdec.so.2 if --with-system-libmpdec is used.
2013-11-24 19:44:57 +01:00
Victor Stinner
7587507a97 Issue #19636: Fix usage of MAX_PATH in posixmodule.c 2013-11-24 19:23:25 +01:00
Victor Stinner
6edddfaf5b Issue #19636: Fix posix__getvolumepathname(), raise an OverflowError if
the length doesn't fit in an DWORD
2013-11-24 19:22:57 +01:00
Victor Stinner
f4a4898c18 Issue #19753: Try to fix test_gdb on SystemZ buildbot 2013-11-24 18:55:25 +01:00
Richard Oudkerk
71196e7f55 Issue #19740: Use WaitForSingleObject() instead of trusting TimerOrWaitFired. 2013-11-24 17:50:40 +00:00
Serhiy Storchaka
b5d386314f Issue #19545: Avoid chained exceptions while passing stray % to
time.strptime().  Initial patch by Claudiu Popa.
2013-11-24 18:17:11 +02:00
Serhiy Storchaka
cdac302af3 Issue #19545: Avoid chained exceptions while passing stray % to
time.strptime().  Initial patch by Claudiu Popa.
2013-11-24 18:15:37 +02:00
Georg Brandl
4d01c4b6bb merge with 3.3 2013-11-24 16:18:23 +01:00
Georg Brandl
44d2429a25 Doc/Makefile: also do "make suspicious" during daily autobuild 2013-11-24 16:17:54 +01:00
Georg Brandl
ed007d5b1b Fix suspicious markup in the docs. 2013-11-24 16:09:26 +01:00
Larry Hastings
d34b620cc3 Added tag v3.4.0b1 for changeset 3405dc9a6afa 2013-11-24 07:01:59 -08:00
Larry Hastings
7e611dab4a Bump version number to 3.4.0b1. v3.4.0b1 2013-11-24 06:59:35 -08:00
Eli Bendersky
163d7f02a1 Cosmetic fixes 2013-11-24 06:55:04 -08:00
Larry Hastings
37b7900fcf Updated pydoc topics for 3.4.0b1. 2013-11-24 06:53:15 -08:00
Antoine Pitrou
f4b8e60ae3 Null merge 2013-11-24 15:01:39 +01:00
Antoine Pitrou
a8892a1aa5 Issue #19743: fix test_gdb on some optimized Python builds 2013-11-24 14:58:17 +01:00
Antoine Pitrou
f6eb31fdc6 Issue #19743: fix test_gdb on some optimized Python builds 2013-11-24 14:58:17 +01:00
Antoine Pitrou
3ab9cfc501 Selectively re-enable framing tests 2013-11-24 14:33:37 +01:00
Larry Hastings
dc6aaec9e3 Clinic: fix "self converters" with METH_NOARGS functions. 2013-11-24 04:41:57 -08:00
Larry Hastings
2f9a9aaf21 Clinic: Add warning for untested (and unused in CPython!) format units. 2013-11-24 04:23:35 -08:00
Georg Brandl
472a65a710 Fix a few markup problems in the new import doc. 2013-11-24 12:39:56 +01:00
Victor Stinner
08facd2009 Issue #19741: cleanup tracemalloc_realloc()
Explain that unhandled error case is very unlikely
2013-11-24 12:27:59 +01:00
Alexandre Vassalotti
fc91285c93 Remove code path in cpickle that does not exist in pickle. 2013-11-24 03:07:35 -08:00
Victor Stinner
52968676f1 Issue #19741: tracemalloc: report tracemalloc_log_alloc() failure to the caller
for new allocations, but not when a memory block was already resized
2013-11-24 11:37:15 +01:00
Alexandre Vassalotti
c49477b184 Make Ellipsis and NotImplemented picklable through the reduce protocol. 2013-11-24 02:53:45 -08:00
Alexandre Vassalotti
4c05d3bc56 Make built-in methods picklable through the reduce protocol. 2013-11-24 02:41:05 -08:00
Victor Stinner
d606ba7f55 Issue #19741: fix tracemalloc_log_alloc(), handle _Py_HASHTABLE_SET() failure 2013-11-24 11:28:20 +01:00
Zachary Ware
7119b454fd Issue #3158: Relax new doctests a bit.
Apparently, the number of objects with docstrings in builtins varies
with --with-pydebug (non-debug has one fewer).

Also, skip the new tests entirely if built --without-doc-strings.
2013-11-24 02:21:57 -06:00
Zachary Ware
fe94d8adfc Merge heads 2013-11-24 01:20:14 -06:00