Commit Graph

9389 Commits

Author SHA1 Message Date
Victor Stinner 2662133a05 Issue #10570: curses.tigetstr() is now expecting a byte string, instead of a
Unicode string.

This is an incompatible change, but the previous behaviour was completly wrong.
2011-11-02 23:45:29 +01:00
Charles-François Natali cf85c300cf test_asyncore: Actually try to received OOB data. 2011-11-02 20:30:59 +01:00
Charles-François Natali b2cca00c14 Issue #13308: Fix test_httpservers failures when run as root. 2011-11-02 19:36:02 +01:00
Charles-François Natali f7ed9fc063 Issue #13308: Fix test_httpservers failures when run as root. 2011-11-02 19:35:14 +01:00
Florent Xicluna 2fbc185209 Issue #13312: skip the failing negative years for now. 2011-11-02 08:13:43 +01:00
Florent Xicluna dfee6c8dee Actually, there's more than one failing value. (changeset 9cb1b85237a9, issue #13312). 2011-11-02 03:22:15 +01:00
Florent Xicluna e2a732e706 Issue #13312: skip the single failing value for now. 2011-11-02 01:28:17 +01:00
Florent Xicluna 91d5193b3a Closes #2892: preserve iterparse events in case of SyntaxError. 2011-11-01 23:31:09 +01:00
Florent Xicluna d1bd7f7730 Additional tests for negative years. 2011-11-01 23:42:05 +01:00
Florent Xicluna f24e7e6c41 Merge 3.2: issue #2892 2011-11-01 23:33:14 +01:00
Ezio Melotti f588dd60cc Merge test improvements from 3.2. 2011-11-01 18:58:19 +02:00
Ezio Melotti c1e73c30e9 Make sure that the tolerant parser still parses valid HTML correctly. 2011-11-01 18:57:15 +02:00
Florent Xicluna 725af4dc1d Lowercase the test name, to run last. 2011-11-01 17:42:24 +01:00
Florent Xicluna 050c7e64cd Replace temporary tests with the real test case for issue #13309 on Gentoo. 2011-11-01 16:58:54 +01:00
Senthil Kumaran 6c5bd40a3e issue13287 - Define __all__ for urllib.request and urllib.error and expose only
the relevant module. Other cleanup improvements. Patch by flox.
2011-11-01 23:20:31 +08:00
Florent Xicluna 712b14fc2a Troubleshoot issue #13309 on Gentoo buildbot. 2011-11-01 16:07:23 +01:00
Florent Xicluna 752c1d4c02 Add temporary tests to troubleshoot issue #13309 on Gentoo buildbot. 2011-11-01 15:12:34 +01:00
Florent Xicluna bceb528af5 Test the year range supported by time.strftime() and time.asctime(). 2011-11-01 14:11:34 +01:00
Ezio Melotti 629a2c336e Merge test fixes from 3.2. 2011-11-01 15:02:16 +02:00
Ezio Melotti b9a48f7144 Avoid reusing the same collector in the tests. 2011-11-01 15:00:59 +02:00
Ezio Melotti 829c3dac3b #12008: merge with 3.2. 2011-11-01 14:43:51 +02:00
Ezio Melotti 18b0e5b79b #12008: add a test. 2011-11-01 14:42:54 +02:00
Ezio Melotti 7de56f6a04 #670664: Fix HTMLParser to correctly handle the content of ``<script>...</script>`` and ``<style>...</style>``. 2011-11-01 14:12:22 +02:00
Ned Deily 316f573d9c Issue #13304: Skip test case if user site-packages disabled (-s or
PYTHONNOUSERSITE).  (Patch by Carl Meyer)
2011-10-31 16:16:35 -07:00
Senthil Kumaran ce260142c6 Fix issue 10817 - Fix urlretrieve function to raise ContentTooShortError
even when reporthook is None. Patch by Jyrki Pulliainen.
2011-11-01 01:35:17 +08:00
Florent Xicluna c4fec937dc Cleanup xmlrpc: remove obsolete comments, unused imports. Add test for bytes marshalling. 2011-10-30 20:19:32 +01:00
Florent Xicluna 3fa29f7cd7 Closes #13291: NameError in xmlrpc package. 2011-10-30 20:18:50 +01:00
Benjamin Peterson b3b8ba6121 bring is_integer into tested existence 2011-10-28 19:42:48 -04:00
Barry Warsaw 46ae0efce1 - Issue #13218: Fix test_ssl failures on Debian/Ubuntu. 2011-10-28 16:52:17 -04:00
Florent Xicluna 5d1155c08e Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
Ezio Melotti f50ffa94ab #13273: fix a bug that prevented HTMLParser to properly detect some tags when strict=False. 2011-10-28 13:21:09 +03:00
Petri Lehtinen e119c403a1 Issue #10860: Skip the new test if HTTPS is not available 2011-10-26 21:29:15 +03:00
Charles-François Natali f8859e1808 Issue #10332: multiprocessing: fix a race condition when a Pool is closed
before all tasks have completed.
2011-10-24 18:45:29 +02:00
Nick Coghlan de31b191e5 Issue 1294232: Fix errors in metaclass calculation affecting some cases of metaclass inheritance. Patch by Daniel Urban. 2011-10-23 22:04:16 +10:00
Senthil Kumaran 29fa9d4d68 3.2 - Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated
exceptions, when a document with timestamp earlier than 1980 is provided to
zipfile. Patch contributed by  Petri Lehtinen.
2011-10-20 01:46:00 +08:00
Senthil Kumaran 1ef0c0349e 3.2 - Fix closes Issue12529 - cgi.parse_header failure on double quotes and
semicolons. Patch by Ben Darnell and Petri Lehtinen.
2011-10-20 01:05:44 +08:00
Ezio Melotti e130a52d8a Remove duplication. 2011-10-19 10:58:56 +03:00
Łukasz Langa a5a9a9c369 Fixes #10860: Handle empty port after port delimiter in httplib 2011-10-18 21:17:39 +02:00
Antoine Pitrou 551ba20e8e Issue #13188: When called without an explicit traceback argument,
generator.throw() now gets the traceback from the passed exception's
`__traceback__` attribute.  Patch by Petri Lehtinen.
2011-10-18 16:40:50 +02:00
Raymond Hettinger 4b779b3785 Issue 13177: Make tracebacks more readable by avoiding chained exceptions in the lru_cache. 2011-10-15 23:50:42 -07:00
Ezio Melotti 7903913fa6 #670664: merge with 3.2. 2011-11-01 14:14:15 +02:00
Florent Xicluna 49ce06858b Strengthen the tests for format '%Y', in relation with issue #13305. 2011-11-01 12:56:14 +01:00
Ned Deily d61f9d1715 Issue #13304: Skip test case if user site-packages disabled (-s or
PYTHONNOUSERSITE).  (Patch by Carl Meyer)
2011-10-31 16:22:53 -07:00
Ross Lagerwall 59142db6d3 Issue #12797: Added custom opener parameter to builtin open() and FileIO.open(). 2011-10-31 20:34:46 +02:00
Senthil Kumaran ab06e3f285 merge from 3.2 - Fix issue 10817 - Fix urlretrieve function to raise ContentTooShortError
even when reporthook is None. Patch by Jyrki Pulliainen.
2011-11-01 01:39:49 +08:00
Charles-François Natali 39648d11ab test_asyncore: Enable tests of Unix domain sockets with poll(). 2011-10-31 12:08:09 +01:00
Florent Xicluna f70fd7092d Merge 3.2 2011-10-30 20:24:40 +01:00
Charles-François Natali fea6cb0285 Issue #5661: on EPIPE/ECONNRESET, OS X returns the FD with the POLLPRI flag... 2011-10-29 14:29:39 +02:00
Charles-François Natali d4621190c9 Issue #5661: Add a test for ECONNRESET/EPIPE handling to test_asyncore. Patch
by Xavier de Gaye.
2011-10-29 12:45:56 +02:00
Benjamin Peterson 29037720d1 merge 3.2 2011-10-28 19:44:00 -04:00
Barry Warsaw c21a81bf76 - Issue #13218: Fix test_ssl failures on Debian/Ubuntu. 2011-10-28 17:08:12 -04:00
Florent Xicluna 68f71a34f4 Simplify and remove few dependencies on 'errno', thanks to PEP 3151. 2011-10-28 16:06:23 +02:00
Florent Xicluna aabbda5354 Merge 3.2 2011-10-28 14:52:29 +02:00
Ezio Melotti 91ec2e8a31 #13273: merge with 3.2. 2011-10-28 13:23:57 +03:00
Antoine Pitrou 41032a69c1 Issue #11183: Add finer-grained exceptions to the ssl module, so that
you don't have to inspect the exception's attributes in the common case.
2011-10-27 23:56:55 +02:00
Benjamin Peterson 2f8dfcd6f4 add a test for an assertion with tuple msg 2011-10-27 08:20:01 -04:00
Victor Stinner 2f3ca9f20e Close #13247: Add cp65001 codec, the Windows UTF-8 (CP_UTF8) 2011-10-27 01:38:56 +02:00
Petri Lehtinen cc9695643f Issue #10860: Skip the new test if HTTPS is not available 2011-10-26 21:29:54 +03:00
Vinay Sajip b9e46e95f8 Changed warn() to warning() in logging tests. 2011-10-26 13:17:20 +01:00
Victor Stinner 8b905bd9d4 Issue #13226: Add RTLD_xxx constants to the os module. These constants can by
used with sys.setdlopenflags().
2011-10-25 13:34:04 +02:00
Victor Stinner e0be423297 Close #10278: Add clock_getres(), clock_gettime() and CLOCK_xxx constants to
the time module. time.clock_gettime(time.CLOCK_MONOTONIC) provides a monotonic
clock
2011-10-25 13:06:09 +02:00
Ezio Melotti 90bf5f1171 Remove mention of narrow/wide builds and update array doc, add a test. 2011-10-25 10:05:34 +03:00
Charles-François Natali feeb3a366c Issue #10332: multiprocessing: fix a race condition when a Pool is closed
before all tasks have completed.
2011-10-24 18:47:43 +02:00
Mark Dickinson 39411f60a2 Issue #13248, issue #8540: Remove deprecated Context._clamp attribute from Decimal module. 2011-10-24 10:31:52 +01:00
Antoine Pitrou 24d659daaf Use InterruptedError instead of checking for EINTR 2011-10-23 23:49:42 +02:00
Mark Dickinson 30970e9e44 Issue #10925: Add equivalent pure Python code for the builtin int-to-float conversion to test_long. 2011-10-23 20:07:13 +01:00
Mark Dickinson 36645681c8 Issue #13201: equality for range objects is now based on equality of the underlying sequences. Thanks Sven Marnach for the patch. 2011-10-23 19:53:01 +01:00
Nick Coghlan 9715d26305 Merge issue 1294232 patch from 3.2 2011-10-23 22:36:42 +10:00
Ezio Melotti 931b8aac80 #12753: Add support for Unicode name aliases and named sequences. 2011-10-21 21:57:36 +03:00
Antoine Pitrou ac65d96777 Issue #12170: The count(), find(), rfind(), index() and rindex() methods
of bytes and bytearray objects now accept an integer between 0 and 255
as their first argument.  Patch by Petri Lehtinen.
2011-10-20 23:54:17 +02:00
Raymond Hettinger cd9fdfd652 Issue 13227: Option to make the lru_cache() type specific (suggested by Andrew Koenig). 2011-10-20 08:57:45 -07:00
Raymond Hettinger becd56822a Issue #13121: Support in-place math operators for collections.Counter(). 2011-10-19 13:40:37 -07:00
Senthil Kumaran 7e3062b320 default - Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated
exceptions, when a document with timestamp earlier than 1980 is provided to
zipfile. Patch contributed by  Petri Lehtinen.
2011-10-20 01:52:41 +08:00
Senthil Kumaran 294c231aa5 default - Fix closes Issue12529 - cgi.parse_header failure on double quotes and
semicolons. Patch by Ben Darnell and Petri Lehtinen.
2011-10-20 01:06:59 +08:00
Ezio Melotti f10644983e Merge with 3.2. 2011-10-19 11:06:26 +03:00
Łukasz Langa 6c4e1aed4b Merged fix for #10860 from 3.2 2011-10-19 02:04:46 +02:00
Victor Stinner 9e92188f53 Issue #12281: Fix test_codecs.test_cp932() on Windows XP
Cool! Decoding b'\x81\x00abc' from cp932 with replace error handler is now
giving the same result on all Windows versions.
2011-10-18 21:55:25 +02:00
Victor Stinner 62be4fb21f Issue #12281: Skip code page tests on non-Windows platforms 2011-10-18 21:46:37 +02:00
Victor Stinner 3a50e7056e Issue #12281: Rewrite the MBCS codec to handle correctly replace and ignore
error handlers on all Windows versions. The MBCS codec is now supporting all
error handlers, instead of only replace to encode and ignore to decode.
2011-10-18 21:21:00 +02:00
Antoine Pitrou cf28eacafe Issue #13188: When called without an explicit traceback argument,
generator.throw() now gets the traceback from the passed exception's
``__traceback__`` attribute.  Patch by Petri Lehtinen.
2011-10-18 16:42:55 +02:00
Victor Stinner 9ea8e4c29d Instantiate the OS-related exception as soon as we raise it, so that "except"
works properly.

PyErr_SetFromErrnoWithFilenameObject() was already fixed by the changeset
793c75177d28. This commit fixes PyErr_SetExcFromWindowsErrWithFilenameObject(),
used on Windows.
2011-10-17 20:18:58 +02:00
Victor Stinner ecd0207444 Issue #12367: Test test_select.test_errno() on FreeBSD
See the FreeBSD bug:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/155606
2011-10-17 19:55:31 +02:00
Victor Stinner f12e5068c3 Close #13174: Fix extended attributes tests in test_os for SELinux
On Fedora, new files get the 'security.selinux' attribute.
2011-10-16 22:12:03 +02:00
Victor Stinner 386c2d8b4e test_select: use a timeout=0 in test_errno() 2011-10-16 20:48:52 +02:00
Senthil Kumaran de49d64dbc Fix closes issue 1673007 urllib.request to support HEAD requests with a new method arg. 2011-10-16 23:54:44 +08:00
Raymond Hettinger d8886fc831 Merge 2011-10-16 00:00:51 -07:00
Lars Gustäbel ac3d137a30 Issue #13158: Fix decoding and encoding of base-256 number fields in tarfile.
The nti() function that converts a number field from a tar header to a number
failed to decode GNU tar specific base-256 fields. I also added support for
decoding and encoding negative base-256 number fields.
2011-10-14 12:46:40 +02:00
Lars Gustäbel 01277d166a Merge with 3.2: Issue #13158: Fix decoding and encoding of base-256 number fields in tarfile.
The nti() function that converts a number field from a tar header to a number
failed to decode GNU tar specific base-256 fields. I also added support for
decoding and encoding negative base-256 number fields.
2011-10-14 12:53:10 +02:00
Victor Stinner 0e7e715a11 (Merge 3.2) Issue #13025: mimetypes is now reading MIME types using the UTF-8
encoding, instead of the locale encoding.
2011-10-14 03:05:10 +02:00
Victor Stinner 82ac9bcdb3 Issue #13025: mimetypes is now reading MIME types using the UTF-8 encoding,
instead of the locale encoding.
2011-10-14 03:03:35 +02:00
Victor Stinner 21d29c377b Issue #12367: Add a test on error attribute of select.error
Thanks to the PEP 3151, select.error (which is just an alias to OSError) has
now an error attribute.
2011-10-12 21:01:46 +02:00
Antoine Pitrou 5d6fbe8207 Instantiate the OS-related exception as soon as we raise it, so that
"except" works properly.
2011-10-12 19:39:57 +02:00
Antoine Pitrou 6b4883dec0 PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy. 2011-10-12 02:54:14 +02:00
Antoine Pitrou ffa547e139 Fix deprecation warning 2011-10-11 22:43:37 +02:00
Antoine Pitrou 2c3b2302ad Issue #13134: optimize finding single-character strings using memchr 2011-10-11 20:29:21 +02:00
Antoine Pitrou 86fe86055b Fix the threading infrastructure in test_socket to support skipping
tests from the setUp() routine.
This fixes a refleak in test_socket on some machines.
2011-10-10 20:15:59 +02:00
Éric Araujo 9255464dfb Branch merge 2011-10-09 08:55:04 +02:00
Éric Araujo a5bc34fa00 Branch merge 2011-10-09 07:32:35 +02:00
Antoine Pitrou 798b4df812 test_unicode was forgetting to run the common string tests for str.find() 2011-10-08 22:42:00 +02:00
Antoine Pitrou c0bbe7d38a test_unicode was forgetting to run the common string tests for str.find() 2011-10-08 22:41:35 +02:00
Éric Araujo 6ebea15e0b Merge fixes for #10526, #10359, #11254, #9100 and the bug without number 2011-10-08 02:57:45 +02:00
Éric Araujo de504550af Fix test_sysconfig when prefix != exec-prefix (#9100).
I tested this manually; it would be great to have buildbots using
installed Pythons, including Pythons configured with different prefix
and exec-prefix.

Reported by Zsolt Cserna.
2011-10-08 01:55:07 +02:00
Barry Warsaw 146177503c - Re-enable lib2to3's test_parser.py tests, though with an expected failure
(see issue 13125).
2011-10-07 15:26:54 -04:00
Barry Warsaw de8c723ddd Merged 2011-10-07 15:16:20 -04:00
Barry Warsaw 35d18782fb Trunk merge 2011-10-07 15:15:38 -04:00
Barry Warsaw cb9c5ba736 - Re-enable lib2to3's test_parser.py tests, though with an expected failure
(see issue 13125).
2011-10-07 15:14:53 -04:00
Ned Deily 532c363ac7 Merge with 3.2 2011-10-07 12:02:29 -07:00
Ned Deily 7010a07bd0 Issue #7367: Ensure test directory always gets removed. 2011-10-07 12:01:40 -07:00
Barry Warsaw 78f89d8c38 - Issue #11250: Back port fix from 3.3 branch, so that 2to3 can handle files
with line feeds.  This was ported from the sandbox to the 3.3 branch, but
  didn't make it into 3.2.

- Re-enable lib2to3's test_parser.py tests, though with an expected failure
  (see issue 13125).
2011-10-07 14:44:49 -04:00
Victor Stinner 1d972ad12a Mark 'abc'.expandtab() optimization as specific to CPython
Improve also str.replace(a, a) test
2011-10-07 13:31:46 +02:00
Victor Stinner 59de0ee9e0 str.replace(a, a) is now returning str unchanged if a is a 2011-10-07 10:01:28 +02:00
Antoine Pitrou 0959554b39 Fix memory consumption estimate in test_unicode_repr_wide
(on Martin's buildbot it still seems a bit inaccurate)
2011-10-07 02:35:00 +02:00
Ned Deily 9403071277 merge from 3.2 2011-10-06 14:24:31 -07:00
Ned Deily caf5a22c5f Issue #7367: Add test case to test_pkgutil for walking path with
an unreadable directory.
2011-10-06 14:19:06 -07:00
Ned Deily 92a81a1eec Issue #7425: Refactor test_pydoc test case for '-k' behavior and add
new test cases for importing bad packages and unreadable packages dirs.
2011-10-06 14:19:03 -07:00
Antoine Pitrou 399df55496 Fix expected memory consumption for test_translate 2011-10-06 22:41:08 +02:00
Antoine Pitrou b6080b6967 Fix size estimate for test_unicode_repr 2011-10-06 22:32:10 +02:00
Antoine Pitrou a5d9917d21 Fix test_splitlines to reach its size estimate 2011-10-06 22:19:07 +02:00
Antoine Pitrou f81ad6fa5a Make the formula for this estimate more explicit 2011-10-06 22:09:18 +02:00
Antoine Pitrou 8ac582f746 Fix size estimation for test_bigmem.StrTest.test_format 2011-10-06 21:55:51 +02:00
Antoine Pitrou de21f84680 Fix the expected memory consumption for some tests 2011-10-06 21:46:23 +02:00
Charles-François Natali 47413c1171 Issue #10141: socket: add SocketCAN (PF_CAN) support. Initial patch by Matthias
Fuchs, updated by Tiago Gonçalves.
2011-10-06 19:47:44 +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
Antoine Pitrou 45d9c91d4b Issue #3163: The struct module gets new format characters 'n' and 'N'
supporting C integer types `ssize_t` and `size_t`, respectively.
2011-10-06 15:27:40 +02:00
Éric Araujo 0f4ee93b06 Branch merge 2011-10-06 13:22:21 +02:00
Éric Araujo bb2095f1e2 Branch merge 2011-10-06 13:10:34 +02:00
Éric Araujo 76558e12ad Add regrtest check for caches in packaging.database (see #12167) 2011-10-06 02:44:19 +02:00
Amaury Forgeot d'Arc 3484c09c97 Merge from 3.2 2011-10-05 22:37:06 +02:00
Amaury Forgeot d'Arc 3e961a5fd1 Enable the only tests for sys.gettrace 2011-10-05 22:36:05 +02:00
Charles-François Natali 42c28cdd1d Issue #13070: Fix a crash when a TextIOWrapper caught in a reference cycle
would be finalized after the reference to its underlying BufferedRWPair's
writer got cleared by the GC.
2011-10-05 19:53:43 +02:00
Senthil Kumaran 1b7da519b0 Issue13104 - Fix urllib.request.thishost() utility function. 2011-10-06 00:32:02 +08:00
Éric Araujo 1079bdfde3 Merge 3.2 2011-10-05 01:52:45 +02:00
Éric Araujo 4300f69afd Update skip message printed by test.support.get_attribute.
This helper was changed to work with any object instead of only modules
(or technically something with a __name__ attribute, see code in 3.2)
but the message stayed as is.
2011-10-05 01:50:22 +02:00
Éric Araujo 63ba97b586 Fix typo and case in a recently added test 2011-10-05 01:29:22 +02:00
Charles-François Natali 035018d078 os.geteuid() may not be available... 2011-10-04 23:35:47 +02:00
Charles-François Natali 79164c8c71 Issue #11956: Always skip test_import.test_unwritable_directory when run as
root, since the semantics varies across Unix variants.
2011-10-04 20:40:58 +02:00
Charles-François Natali a13b1faa78 Issue #11956: Skip test_import.test_unwritable_directory on FreeBSD when run as
root (directory permissions are ignored).
2011-10-04 19:17:26 +02:00
Antoine Pitrou b7591d4780 Also fix pickletester 2011-10-04 16:18:15 +02:00
Antoine Pitrou 382e8b515c An embarassing litle typo 2011-10-04 16:07:27 +02:00
Antoine Pitrou e19aa388e8 When expandtabs() would be a no-op, don't create a duplicate string 2011-10-04 16:04:01 +02:00
Antoine Pitrou 87a484caf5 Migrate test_bigmem to PEP 393-compliant size calculations (hopefully) 2011-10-04 15:55:44 +02:00
Antoine Pitrou bf009f0bce Issue #13087: BufferedReader.seek() now always raises UnsupportedOperation
if the underlying raw stream is unseekable, even if the seek could be
satisfied using the internal buffer.  Patch by John OConnor.
2011-10-04 12:28:52 +02:00
Antoine Pitrou 1e44fecc52 Issue #13087: BufferedReader.seek() now always raises UnsupportedOperation
if the underlying raw stream is unseekable, even if the seek could be
satisfied using the internal buffer.  Patch by John O'Connor.
2011-10-04 12:26:20 +02:00
Antoine Pitrou 5b99df68b0 Collect stats a bit more often 2011-10-04 12:06:06 +02:00
Antoine Pitrou 75e78b6c77 Use the faulthandler module's infrastructure to write a GIL-less
memory watchdog for timely stats collection.
2011-10-04 11:51:23 +02:00
Antoine Pitrou 031487eb3b Fix test failure 2011-10-04 10:39:54 +02:00
Antoine Pitrou 1a3ff48c55 Start fixing test_bigmem:
- bigmemtest is replaced by precisionbigmemtest
- add a poor man's watchdog thread to print memory consumption
2011-10-04 10:28:37 +02:00
Antoine Pitrou 94190bb6e7 Start fixing test_bigmem:
- bigmemtest is replaced by precisionbigmemtest
- add a poor man's watchdog thread to print memory consumption
2011-10-04 10:22:36 +02:00
Antoine Pitrou 5a688dbf97 Issue #7689: Allow pickling of dynamically created classes when their
metaclass is registered with copyreg.  Patch by Nicolas M. Thiéry and
Craig Citro.
2011-10-04 09:25:28 +02:00