Commit Graph

11938 Commits

Author SHA1 Message Date
Armin Rigo
c0ba52d3fd Revert r53997 as per
http://mail.python.org/pipermail/python-dev/2007-March/071796.html .

I've kept a couple of still-valid extra tests in test_descr, but didn't
bother to sort through the new comments and refactorings added in r53997
to see if some of them could be kept.  If so, they could go in a
follow-up check-in.
2007-04-19 14:44:48 +00:00
Collin Winter
c20a250170 Check the availability of the urlfetch resource earlier than before. 2007-04-16 22:10:32 +00:00
Neal Norwitz
cbd9ee69ee When __slots__ are set to a unicode string, make it work the same as
setting a plain string, ie don't expand to single letter identifiers.
2007-04-14 05:25:50 +00:00
Barry Warsaw
25a3864541 Port r54805 from python25-maint branch:
Add code to read from master_fd in the parent, breaking when we get an OSError
(EIO can occur on Linux) or there's no more data to read.  Without this,
test_pty.py can hang on the waitpid() because the child is blocking on the
stdout write.  This will definitely happen on Mac OS X and could potentially
happen on other platforms.  See the comment for details.
2007-04-13 18:47:14 +00:00
Walter Dörwald
4234827e99 Fix utf-8-sig incremental decoder, which didn't recognise a BOM when the
first chunk fed to the decoder started with a BOM, but was longer than 3 bytes.
2007-04-12 10:35:00 +00:00
Žiga Seilnacht
9aba6d6905 Patch #1695862: remove the cleanup code, now that Windows buildbots are green
again.
2007-04-12 08:46:51 +00:00
Georg Brandl
e2d827d7ef Patch #1698951: clarify deprecation message in rexec and Bastion 2007-04-12 07:01:19 +00:00
Raymond Hettinger
4db5fe970c SF 1193128: Let str.translate(None) be an identity transformation 2007-04-12 04:10:00 +00:00
Georg Brandl
135c3174e7 Exceptions are no longer old-style instances. Fix accordingly. 2007-04-11 19:25:11 +00:00
Raymond Hettinger
13936697f6 SF 1191699: Make slices picklable 2007-04-11 18:40:58 +00:00
Andrew M. Kuchling
400a49ba79 Add window.chgat() method, submitted via e-mail by Fabian Kreutz 2007-04-11 13:39:00 +00:00
Facundo Batista
59c5884b4c General clean-up. Lot of margin corrections, comments, some typos.
Exceptions now are raised in the new style. And a mockup class is
now also new style. Thanks Santiago Pereson.
2007-04-10 12:58:45 +00:00
Collin Winter
8341aac123 Typo fix. 2007-04-10 04:44:49 +00:00
Facundo Batista
3bdc002e39 Minor fix to the tests pass ok even with -O. 2007-04-10 03:00:37 +00:00
Žiga Seilnacht
d5b3fed17d Patch #1695862: remove old test directory that causes test_urllib failures
on Windows buildbots.  The change is a one time fix and will be removed
after a successful buildbot run.
2007-04-09 19:10:29 +00:00
Vinay Sajip
aa7b16a888 Added optional timeout to SocketHandler.makeSocket (SF #1695948) 2007-04-09 16:16:10 +00:00
Collin Winter
bf61856427 Convert test_fileinput to use unittest. 2007-04-07 04:40:43 +00:00
Collin Winter
69c955f05d Convert test_module to use unittest. 2007-04-06 20:03:11 +00:00
Collin Winter
fef1dcf433 Convert test_gc to use unittest. 2007-04-06 20:00:05 +00:00
Collin Winter
e10deca7e0 Import cleanup in test_crypt. 2007-04-06 19:32:32 +00:00
Collin Winter
1dd9a2ccc3 Convert test_stringprep to use unittest. 2007-04-06 19:27:40 +00:00
Collin Winter
9405609c17 Convert test_normalization to use unittest. 2007-04-05 20:08:56 +00:00
Collin Winter
fe712fb9ca Convert test_long_future to use unittest. 2007-04-05 20:05:07 +00:00
Raymond Hettinger
7a3d41f4ca Bug #1563759: struct.unpack doens't support buffer protocol objects 2007-04-05 18:00:03 +00:00
Žiga Seilnacht
18ffe42b4b Fix WalkTests.test_traversal() on Windows. The cleanup in
MakedirTests.setUp() can now be removed.
2007-04-04 18:38:47 +00:00