Commit Graph

78747 Commits

Author SHA1 Message Date
Antoine Pitrou a85017fbe3 Issue #16694: Add a pure Python implementation of the operator module.
Patch by Zachary Ware.
2013-04-20 19:21:44 +02:00
Eli Bendersky c9f5ca232a Remove superfluous try/except 2013-04-20 09:11:37 -07:00
Eli Bendersky 3bdead1113 Add some documentation for IncrementalParesr 2013-04-20 09:06:27 -07:00
Eli Bendersky ddcc6798f6 Remove useless #define and #ifdefs 2013-04-20 06:36:43 -07:00
Eli Bendersky 10e0af8493 Fix trailing whitespace 2013-04-20 05:54:29 -07:00
Eli Bendersky ab2a76c8a8 Update ET documentation reprhasing the mention of the new IncrementalParser in
the doc for iterparse.
2013-04-20 05:53:50 -07:00
Eli Bendersky bf05df2396 Make license notices more consistent and remove old changelog.
Also remove unused macro.
2013-04-20 05:44:01 -07:00
R David Murray 87e984c1ed #9607: restore keywords.kwlist after testing it. 2013-04-19 22:38:58 -04:00
R David Murray 32a23c36b4 #9607: Add tests for the keyword module.
Based on the testing ideas in a patch written by Greg Malcolm.
2013-04-19 22:15:26 -04:00
R David Murray f097f175dd Merge #17413: make sure settrace funcs get passed exception instances for 'value'.
Patch by Ingrid Cheung and Brendan McLoughlin.
2013-04-19 12:57:54 -04:00
R David Murray 3583761bcd #17413: make sure settrace funcs get passed exception instances for 'value'.
Patch by Ingrid Cheung and Brendan McLoughlin.
2013-04-19 12:56:57 -04:00
Barry Warsaw 24aa15959b Merge 3.3 2013-04-19 11:32:54 -04:00
Barry Warsaw 0aa685a33c Minor typo in example. 2013-04-19 11:32:25 -04:00
Ezio Melotti 03a0c27569 Merge indentation fix from 3.3. 2013-04-19 07:10:45 +03:00
Ezio Melotti 1b6424fc4b Fix indentation. 2013-04-19 07:10:09 +03:00
Ezio Melotti 77badf32c9 #17790: merge with 3.3. 2013-04-19 05:59:17 +03:00
Ezio Melotti ab5ba7918e #17790: test_set now works with unittest test discovery. Patch by Zachary Ware. 2013-04-19 05:58:44 +03:00
Ezio Melotti ba5da9437e #17789: merge with 3.3. 2013-04-19 05:46:08 +03:00
Ezio Melotti 3e4a98bd1c #17789: test_random now works with unittest test discovery. Patch by Zachary Ware. 2013-04-19 05:45:27 +03:00
Ezio Melotti a108112680 #17779: merge with 3.3. 2013-04-19 05:38:48 +03:00
Ezio Melotti aaa5d1c582 #17779: test_osx_env now works with unittest test discovery. Patch by Zachary Ware. 2013-04-19 05:38:18 +03:00
Ezio Melotti f7520dc0d7 Fix uploadTestCase to work even when HTTPSConnection is not available. 2013-04-19 04:23:09 +03:00
Ezio Melotti 72b8502992 #11182: remove the unused and undocumented pydoc.Scanner class. Patch by Martin Morrison. 2013-04-19 02:53:12 +03:00
Victor Stinner f476405503 fix typo in a comment 2013-04-18 23:21:19 +02:00
Antoine Pitrou 5b235d0923 Issue #17741: Add ElementTree.IncrementalParser, an event-driven parser for non-blocking applications. 2013-04-18 19:37:06 +02:00
R David Murray 323d2927f0 Null merge. 2013-04-18 09:53:30 -04:00
R David Murray bca1a2629a #17135: Add note in imp to use importlib for new programs. 2013-04-18 09:51:17 -04:00
Victor Stinner bb4503f61e Partial revert of changeset 9744b2df134c
PyUnicode_Append() cannot call directly resize_compact(): I forgot that a
string can be ready *and* not compact (a legacy string can also be ready).
2013-04-18 09:41:34 +02:00
Victor Stinner fb161b1b6d Split PyUnicode_DecodeCharmap() into subfunction for readability 2013-04-18 01:44:27 +02:00
R David Murray 33a3c50db5 #17135: mark imp as deprecated as of 3.4. 2013-04-17 18:50:12 -04:00
Victor Stinner 170ca6f84b Fix bug in Unicode decoders related to _PyUnicodeWriter
Bug introduced by changesets 7ed9993d53b4 and edf029fc9591.
2013-04-18 00:25:28 +02:00
Victor Stinner 376cfa122d Fix typo in unicode_decode_call_errorhandler_writer()
Bug introduced by changeset 7ed9993d53b4.
2013-04-17 23:58:16 +02:00
Victor Stinner 8f674ccd64 Close #17694: Add minimum length to _PyUnicodeWriter
* Add also min_char attribute to _PyUnicodeWriter structure (currently unused)
 * _PyUnicodeWriter_Init() has no more argument (except the writer itself):
   min_length and overallocate must be set explicitly
 * In error handlers, only enable overallocation if the replacement string
   is longer than 1 character
 * CJK decoders don't use overallocation anymore
 * Set min_length, instead of preallocating memory using
   _PyUnicodeWriter_Prepare(), in many decoders
 * _PyUnicode_DecodeUnicodeInternal() checks for integer overflow
2013-04-17 23:02:17 +02:00
Richard Oudkerk e84a51c38e Merge. 2013-04-17 21:27:17 +01:00
Richard Oudkerk 245bbee0d5 Merge. 2013-04-17 21:24:58 +01:00
Richard Oudkerk 0471ac3d80 Merge. 2013-04-17 21:16:52 +01:00
Richard Oudkerk b147f60a38 Issue #17555: Fix ForkAwareThreadLock so that size of after fork
registry does not grow exponentially with generation of process.
2013-04-17 21:09:38 +01:00
Antoine Pitrou b8da0a5842 Issue #17782: Fix undefined behaviour on platforms where ``struct timespec``'s "tv_nsec" member is not a C long. 2013-04-17 22:07:51 +02:00
Antoine Pitrou cf8a1e51ec - Issue #17782: Fix undefined behaviour on platforms where ``struct timespec``'s "tv_nsec" member is not a C long. 2013-04-17 22:06:44 +02:00
Richard Oudkerk 409c31390f Issue #17555: Fix ForkAwareThreadLock so that size of after fork
registry does not grow exponentially with generation of process.
2013-04-17 20:58:00 +01:00
Benjamin Peterson c149902175 merge 3.3 2013-04-17 10:24:58 -04:00
Giampaolo Rodola' 308307190f Fix issue #17707: multiprocessing.Queue's get() method does not block for short timeouts. 2013-04-17 13:12:27 +02:00
Giampaolo Rodola' b38897fc91 Fix issue #17707: multiprocessing.Queue's get() method does not block for short timeouts. 2013-04-17 13:08:59 +02:00
Roger Serwy 22b9e651c2 #14735: merge with 3.3. 2013-04-17 00:27:31 -05:00
Roger Serwy 643ea53c14 #14735: Update IDLE docs to omit "Control-z on Windows". 2013-04-17 00:22:50 -05:00
Ezio Melotti 5aa7685a1c #17771: merge with 3.3. 2013-04-17 07:34:31 +03:00
Ezio Melotti a68c1ab571 #17771: fix typo. Patch by Andriy Mysyk. 2013-04-17 07:34:13 +03:00
Ezio Melotti abe46fd810 #17766: merge with 3.3. 2013-04-17 04:36:45 +03:00
Ezio Melotti d13c008bf4 #17766: test_iterlen now works with unittest test discovery. Patch by Zachary Ware. 2013-04-17 04:34:05 +03:00
Ezio Melotti 3533ef2d21 #17740: merge with 3.3. 2013-04-17 04:10:51 +03:00