Commit graph

44815 commits

Author SHA1 Message Date
Nick Coghlan
8c1ffeb614 Don't invoke reload(sys) and use StringIO objects instead of real files to capture stdin and stdout when needed (ensures all sys attributes remain unmodified after test_xmlrpc runs) 2009-10-17 15:09:41 +00:00
Nick Coghlan
7df72dcdf9 Restore original sys.path when running TTK tests 2009-10-17 14:40:54 +00:00
Georg Brandl
e363b1434d Fix refleaks in _ctypes PyCSimpleType_New, which fixes the refleak seen in test___all__. 2009-10-17 08:57:43 +00:00
Nick Coghlan
b6edf193fb Check and revert expected sys.path alterations 2009-10-17 08:21:21 +00:00
Nick Coghlan
a3e97ad5ba Formatting tweak so that before and after values are vertically aligned 2009-10-17 07:34:27 +00:00
Nick Coghlan
2ee358eed3 Enhancement to the new environment checking code to print the changed items under -vv. Also includes a small tweak to allow underscores in the names of resources. 2009-10-17 07:30:40 +00:00
Mark Dickinson
59ca92093c test_math ulp computation was wrong on big-endian systems 2009-10-17 07:06:37 +00:00
Nick Coghlan
0447cd6fdc Correctly restore sys.stdout in test_descr 2009-10-17 06:33:05 +00:00
Tarek Ziadé
19e6f0160d this test requires zlib support 2009-10-16 23:04:16 +00:00
Eric Smith
b327258d4f Removed usage of unsafe PyFloat_AsString. 2009-10-16 14:26:36 +00:00
Vinay Sajip
03d5c346c0 Issue #7120: logging: Removed import of multiprocessing which is causing crash in GAE. 2009-10-16 14:06:44 +00:00
Mark Dickinson
026ac7cf69 Allow core Python build to succeed under WITHOUT_COMPLEX. The module build stage still fails. 2009-10-15 17:45:39 +00:00
Mark Dickinson
08133af12e Issue #7142: Fix uses of unicode in memoryview objects 2009-10-15 15:53:58 +00:00
Benjamin Peterson
196b0925ca only clear a module's __dict__ if the module is the only one with a reference to it #7140 2009-10-15 15:44:46 +00:00
Benjamin Peterson
96e319e5ac don't need to mess up sys.path 2009-10-15 15:39:15 +00:00
Mark Dickinson
9d109742c0 Fix missing semicolon 2009-10-15 15:18:55 +00:00
Benjamin Peterson
c63457b18e make inspect.isabstract() always return a boolean; add a test for it, too #7069 2009-10-15 03:06:55 +00:00
Benjamin Peterson
ca2d2529ce some cleanups 2009-10-15 03:05:39 +00:00
Benjamin Peterson
e52657220c change test to what I intended 2009-10-15 01:56:25 +00:00
Benjamin Peterson
447dc15658 use floor division and add a test that exercises the tabsize codepath 2009-10-15 01:49:37 +00:00
Benjamin Peterson
e537adfd08 pep8ify if blocks 2009-10-15 01:47:28 +00:00
Neil Schemenauer
973f8b4ca6 Make cPickle.Unpickler.noload() handle dict subclasses. noload() is
an obscure, undocumentated feature so no test was added. Closes
issue #1101399.
2009-10-14 19:33:31 +00:00
Neil Schemenauer
e6039f0978 Add support to the ihooks module for relative imports. 2009-10-14 19:23:53 +00:00
Antoine Pitrou
04437ebadd Fix py3k warnings in the uuid module 2009-10-14 19:09:48 +00:00
Antoine Pitrou
92331d5e1b Fix py3k warnings in httplib 2009-10-14 19:04:48 +00:00
Antoine Pitrou
b844ef7950 Silence py3k warning claiming to affect the random module 2009-10-14 18:56:11 +00:00
Georg Brandl
9b4e5820cb #7116: str.join() takes an iterable. 2009-10-14 18:48:32 +00:00
Antoine Pitrou
bb86314d22 Fix failures in test_profilehooks when run with -3 2009-10-14 18:47:13 +00:00
Antoine Pitrou
79d923b8c4 Silence some py3k warnings claiming to affect _pyio 2009-10-14 18:39:46 +00:00
Antoine Pitrou
8d6c9eeef7 Fix a py3k warning in the sndhdr module (found with test_email) 2009-10-14 18:31:05 +00:00
Antoine Pitrou
daa524a293 Fix py3k warnings in the socket module 2009-10-14 18:27:32 +00:00
Antoine Pitrou
e08dd117fa Fix a py3k warning in the StringIO module (exhibited in test_codecencodings_cn) 2009-10-14 18:12:54 +00:00
Antoine Pitrou
e22997ec7c Silence a py3k warning claiming to affect Lib/calendar.py 2009-10-14 18:09:45 +00:00
Antoine Pitrou
63b0cb2f39 Fix py3k warnings in bsddb 2009-10-14 18:01:33 +00:00
Antoine Pitrou
868817eaf5 Fix a test_atexit failure when run with -3 2009-10-14 17:34:31 +00:00
Antoine Pitrou
bca7b4894a Fix py3k warnings in the aifc module 2009-10-14 17:30:52 +00:00
Neil Schemenauer
7fdd1cb583 Issue #1754094: Improve the stack depth calculation in the compiler.
There should be no other effect than a small decrease in memory use.
Patch by Christopher Tur Lesniewski-Laas.
2009-10-14 17:17:14 +00:00
Georg Brandl
647e9d2652 #7126: os.environ changes *do* take effect in subprocesses started with os.system(). 2009-10-14 15:57:46 +00:00
Georg Brandl
e1254d748d #7125: fix typo. 2009-10-14 15:51:48 +00:00
R. David Murray
14dcd43d0b Enhanced Issue 7058 patch, which will not be backported. Refactors the
code, adds checks for stdin/out/err, cwd, and sys.path, and adds a new
section in the summary for tests that modify the environment (thanks to
Ezio Melotti for that suggestion).
2009-10-14 13:58:07 +00:00
Amaury Forgeot d'Arc
5c92d4301d #7112: Fix compilation warning in unicodetype_db.h
makeunicodedata now generates double literals
2009-10-13 21:29:34 +00:00
Georg Brandl
5ffa146fde Fix markup. 2009-10-13 18:10:59 +00:00
Andrew M. Kuchling
5c4e6ebbf5 Various link, textual, and markup fixes 2009-10-13 16:11:49 +00:00
Andrew M. Kuchling
7fe65a0a94 Link to PEP 2009-10-13 15:49:33 +00:00
Benjamin Peterson
526bec21d0 platform we don't care about 2009-10-12 01:26:07 +00:00
Georg Brandl
65e50555f8 Update Misc/README. 2009-10-11 21:17:14 +00:00
Georg Brandl
0b74edd9aa Add find_recursionlimit.py to README. 2009-10-11 21:14:37 +00:00
Georg Brandl
2bd92a5961 Move find_recursionlimit.py to Tools/scripts; it is out of place in Misc. 2009-10-11 21:10:07 +00:00
Antoine Pitrou
beaf6a02f4 Issue #7084: Fix a (very unlikely) crash when printing a list from one
thread, and mutating it from another one.  Patch by Scott Dial.
2009-10-11 21:03:26 +00:00
Georg Brandl
a4314c2b21 Fix broken links found by "make linkcheck". scipy.org seems to be done right now, so I could not verify links going there. 2009-10-11 20:16:16 +00:00