972 Commits

Author SHA1 Message Date
Guido van Rossum
a1a5a89b48 Add a dummy test_queue output file to make regrtest happy. 2002-08-08 19:46:10 +00:00
Jeremy Hylton
25fae7caab Update test output. 2002-07-12 16:04:27 +00:00
Jeremy Hylton
def3b5051e Backport changes.
Change _begin() back to begin().
Fix for SF bug 579107.
Fix for SF bug #432621: httplib: multiple Set-Cookie headers
Fix SF bug #575360
Handle HTTP/0.9 responses.
2002-07-12 15:22:09 +00:00
Jeremy Hylton
f395df091e Backport various bug fixes from trunk.
The 2.1 maintenance branch is now identical to the trunk through rev
1.54 of httplib.py.
2002-07-02 20:42:50 +00:00
Barry Warsaw
31cc898c79 Backport patch for revision 1.58 to the Py2.1.x maintenance branch.
This fixes parseaddr() for the following RFC 2822 valid field:

    To: User J. Person <person@dom.ain>
2002-05-03 04:23:02 +00:00
Fred Drake
b040bc1221 Update a SourceForge issue number; IDs less than 200000 are no longer valid.
(The issues were re-numbered, not lost.)
2002-05-02 16:37:31 +00:00
Fred Drake
1625eb8cc3 Added regression tests for xrange object attributes.
See SF bug #551285.
2002-05-02 16:25:30 +00:00
Fred Drake
d4a0500df5 Backport buffer() tests from trunk to avoid regression failures. 2002-05-02 05:27:28 +00:00
Anthony Baxter
047fa8194d *sigh* did a 'make test' in the wrong window. fixing this up to
not include 'True'. test_queue passes again.
2002-04-23 02:19:03 +00:00
Jeremy Hylton
f599b7424d Backport fixes for two nested scopes bugs.
frameobject.c: make sure free and cell vars make it into locals, which
    makes eval work.

bltinmodule.c & ceval.c: make sure a code object with free variables
    that is passed to exec or eval raises an exception.

Also duplicate the current trunk test suite in the 2.1 branch, except
for certain necessary changes: different warnings raised by 2.1, need
for __future__.
2002-04-20 18:21:29 +00:00
cvs2svn
402a928ed3 This commit was manufactured by cvs2svn to create branch
'release21-maint'.
2002-04-19 00:11:32 +00:00
cvs2svn
fc4afb313a This commit was manufactured by cvs2svn to create branch
'release21-maint'.
2002-04-08 04:42:09 +00:00
Fred Drake
585a30c529 Add a test that was added in Python 2.2: test Weak*Dictionary.setdefault().
The purpose is to avoid regression on SF bug #529273.
This test is stronger than the one submitted with the bug report.
2002-03-13 05:49:06 +00:00
Anthony Baxter
770139cac8 backport 1.14:
Fix the second reincarnation of SF #456395 -- failure on IRIX.  This
  time use .replace() to change all \r\n into \n, not just the last one.

This makes test_pty work on Irix.
2002-01-10 15:51:52 +00:00
Anthony Baxter
645ea48314 backport guido's 1.20 - test sktobj.sendall()
needed this anyway.
2001-11-01 14:18:29 +00:00
Guido van Rossum
0039bd73ef The 2.1 regrest.py doesn't have the test_main() feature yet, so always
call test_main() at the end.
2001-10-19 16:05:55 +00:00
cvs2svn
a939b7a831 This commit was manufactured by cvs2svn to create branch
'release21-maint'.
2001-10-19 15:13:51 +00:00
Thomas Wouters
041a51b596 Backport Guido's checkin 1.3:
Should raise TestSkipped, not ImportError, when deciding to skip the
test.
2001-07-19 09:44:37 +00:00
Thomas Wouters
800f6774be Backport of the socketserver test, including output file (which is still
necessary in the 2.1 branch.) Guido's original checkin message:

A test suite for SocketServer.py that exposes the various bugs just
fixed.  Regrettably, this must be run manually -- somehow the I/O
redirection of the regression test breaks the test.  When run under
the regression test, this raises ImportError with a warning to that
effect.
2001-07-11 12:15:15 +00:00
cvs2svn
1a2d894b13 This commit was manufactured by cvs2svn to create branch
'release21-maint'.
2001-07-11 12:15:15 +00:00
Fred Drake
f14452e155 When reading a continuation line, make sure we still use the transformed
name when filling in the internal data structures, otherwise we incorrectly
raise a KeyError.

This fixes SF bug #432369.
2001-07-06 17:23:22 +00:00
Thomas Wouters
b24ffe47ae Backport of Tim's checkin 1.35:
SF bug 434186: 0x80000000/2 != 0x80000000>>1
i_divmod:  New and simpler algorithm.  Old one returned gibberish on most
boxes when the numerator was -sys.maxint-1.  Oddly enough, it worked in the
release (not debug) build on Windows, because the compiler optimized away
some tricky sign manipulations that were incorrect in this case.
Makes you wonder <wink> ...
2001-06-27 14:26:58 +00:00
Thomas Wouters
780843ec23 Re-incarnate dead turd of old test_mutants output file. 2001-05-23 14:56:36 +00:00
Thomas Wouters
44c69c91e1 Now that the backporting of test_mutants.py worked successfully (Barnevelder
chickens work best!) adapt test_mutants to the absense of 'key in dict'.
2001-05-23 14:55:54 +00:00
cvs2svn
36e23e056f This commit was manufactured by cvs2svn to create branch
'release21-maint'.
2001-05-23 14:52:45 +00:00