Commit Graph

15 Commits

Author SHA1 Message Date
Skip Montanaro e99d5ea25b added __all__ lists to a number of Python modules
added test script and expected output file as well
this closes patch 103297.
__all__ attributes will be added to other modules without first submitting
a patch, just adding the necessary line to the test script to verify
more-or-less correct implementation.
2001-01-20 19:54:20 +00:00
Tim Peters 88869f9787 Whitespace normalization. 2001-01-14 23:36:06 +00:00
Fred Drake 8152d32375 Update the code to better reflect recommended style:
Use != instead of <> since <> is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.
2000-12-12 23:20:45 +00:00
Guido van Rossum 45e2fbc2e7 Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
Guido van Rossum 677bedab0c Fix indent of one line in mkarg(), that got indented badly by the
recent reindent!
1998-03-19 15:14:24 +00:00
Fred Drake bcdb9403d4 Added docstrings by Sue Williams, re-indented to 4 spaces / level. 1997-06-12 16:17:00 +00:00
Guido van Rossum e1130a49cd Added clarifying comment 1995-01-04 19:20:00 +00:00
Guido van Rossum e65cce5eec * string.py: added rindex(), rfind(); changed index() to interpret
negative start indices starting from the right.
* ftplib.py: debug() -> set_debuglevel(); change demo to use __init__().
* os.py: added execl, execlp, and execvp.
* lambda.py: removed (now that we have built-in map, reduce, bagof, lambda)
* test_b{1,2}.py, testall.out: added tests for bagof, lambda, map, reduce
* commands.py: use os, not posix
* test_grammar.py: make it easy to disable non-portable int overflow tests
* dis.py: don't abuse range()
1993-11-08 15:05:21 +00:00
Guido van Rossum 01ca336ed1 New modules mimetools and rfc822.
Minor, minor changes to commands.py and sndhdr.py.
1992-07-13 14:28:59 +00:00
Guido van Rossum e58f98bfcf path -> posixpath 1992-03-31 19:02:55 +00:00
Guido van Rossum bdfcfccbe5 New == syntax 1992-01-01 19:35:13 +00:00
Guido van Rossum 48154be152 Now uses pipes. 1991-08-16 13:23:29 +00:00
Guido van Rossum f49ef1cad0 Mad readfile() read the file in one fell swoop. 1990-10-24 16:40:15 +00:00
Guido van Rossum 5c124871b6 Make readfile read the file in one fell swoop. 1990-10-21 16:14:50 +00:00
Guido van Rossum c636014c43 Initial revision 1990-10-13 19:23:40 +00:00