cpython/Lib/test/output
Guido van Rossum 9e896b37c7 Marc-Andre's third try at this bulk patch seems to work (except that
his copy of test_contains.py seems to be broken -- the lines he
deleted were already absent).  Checkin messages:


New Unicode support for int(), float(), complex() and long().

- new APIs PyInt_FromUnicode() and PyLong_FromUnicode()
- added support for Unicode to PyFloat_FromString()
- new encoding API PyUnicode_EncodeDecimal() which converts
  Unicode to a decimal char* string (used in the above new
  APIs)
- shortcuts for calls like int(<int object>) and float(<float obj>)
- tests for all of the above

Unicode compares and contains checks:
- comparing Unicode and non-string types now works; TypeErrors
  are masked, all other errors such as ValueError during
  Unicode coercion are passed through (note that PyUnicode_Compare
  does not implement the masking -- PyObject_Compare does this)
- contains now works for non-string types too; TypeErrors are
  masked and 0 returned; all other errors are passed through

Better testing support for the standard codecs.

Misc minor enhancements, such as an alias dbcs for the mbcs codec.

Changes:
- PyLong_FromString() now applies the same error checks as
  does PyInt_FromString(): trailing garbage is reported
  as error and not longer silently ignored. The only characters
  which may be trailing the digits are 'L' and 'l' -- these
  are still silently ignored.
- string.ato?() now directly interface to int(), long() and
  float(). The error strings are now a little different, but
  the type still remains the same. These functions are now
  ready to get declared obsolete ;-)
- PyNumber_Int() now also does a check for embedded NULL chars
  in the input string; PyNumber_Long() already did this (and
  still does)

Followed by:

Looks like I've gone a step too far there... (and test_contains.py
seem to have a bug too).

I've changed back to reporting all errors in PyUnicode_Contains()
and added a few more test cases to test_contains.py (plus corrected
the join() NameError).
2000-04-05 20:11:21 +00:00
..
test_al
test_array
test_audioop
test_binascii Test output. 1999-10-19 19:09:00 +00:00
test_binhex Test output for test_binhex.py. 1999-10-19 19:07:33 +00:00
test_bsddb
test_builtin
test_cd
test_cl
test_cmath
test_contains test_contains output 2000-03-06 21:08:08 +00:00
test_cpickle Basic regr tests for pickle/cPickle 1999-03-25 22:38:49 +00:00
test_crypt
test_dbm
test_dl
test_errno
test_exceptions
test_extcall Two fixes for extended call syntax: 2000-03-30 23:55:31 +00:00
test_fcntl
test_fork1 Test case for fork1() behavior. 2000-02-25 19:25:05 +00:00
test_gdbm
test_gl
test_grammar fix previous checkin 2000-03-28 23:53:22 +00:00
test_grp
test_gzip Jonathan Giddy discovered this file was missing. 1999-03-29 15:28:54 +00:00
test_imageop
test_imgfile
test_long New test_long.py from Tim Peters. 1998-10-02 01:19:48 +00:00
test_math
test_md5
test_MimeWriter Now that test_MimeWriter is untabified, do the same here! 1998-06-11 22:22:39 +00:00
test_mmap Output for simple test case for mmap on Unix; someone needs to write a 2000-03-30 21:15:46 +00:00
test_new
test_nis
test_ntpath New test for ntpath module 1999-02-03 17:21:21 +00:00
test_opcodes
test_operations
test_operator
test_pickle Basic regr tests for pickle/cPickle 1999-03-25 22:38:49 +00:00
test_pkg
test_popen2 Test for popen2 module, by Chris Tismer. 1999-03-11 13:26:23 +00:00
test_pow
test_pwd
test_pyexpat Added test case output for pyexpat module 2000-03-31 15:45:20 +00:00
test_re
test_regex
test_rfc822 Test the rfc822.py module. Contains just a few simple cases, and some 1999-01-14 20:00:58 +00:00
test_rgbimg
test_rotor
test_select
test_sha Added Jeremy's test code for the sha module. 1999-03-24 19:04:32 +00:00
test_signal
test_socket
test_strftime
test_string Output for the regression test of the new string methods. 1999-06-10 22:53:23 +00:00
test_strop
test_struct
test_sunaudiodev
test_thread
test_time
test_timing
test_tokenize Track changes in tokenize.py 1998-04-03 19:56:40 +00:00
test_types
test_unicode Marc-Andre's third try at this bulk patch seems to work (except that 2000-04-05 20:11:21 +00:00
test_unicodedata Marc-Andre Lemburg: 2000-03-28 20:29:59 +00:00
test_unpack
test_userdict Test suite for UserDict 1999-03-26 15:32:05 +00:00
test_userlist Test suite for UserList. 1999-03-26 16:20:45 +00:00
test_userstring UserString class from Peter Funk <pf@artcom-gmbh.de>. 2000-04-03 03:51:50 +00:00
test_winreg Mark Hammond: test suite for new winreg module. 2000-03-28 20:36:51 +00:00
test_xmllib
test_zlib Use hex() when outputting the various checksums so the test output is the 1998-04-24 18:31:28 +00:00