Commit Graph

22 Commits

Author SHA1 Message Date
Skip Montanaro
03d9014992 added a few more __all__ lists
test___all__.py: fail silently in check_all if the module can't be imported
2001-01-25 15:29:22 +00:00
Tim Peters
07e99cb774 Whitespace normalization. 2001-01-14 23:47:14 +00:00
Guido van Rossum
e6e03eafed Get rid of string functions. 2000-12-15 15:49:08 +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
Martin v. Löwis
25d1692434 Return after writing 7bit or 8bit encodings. Closes bug 115712 2000-09-30 16:52:45 +00:00
Guido van Rossum
13c8c0272a Skip Montanaro submits a simple patch that makes encode() and decode()
recognize the '7bit' and '8bit' encodings, to simplify use.
2000-04-04 20:53:07 +00:00
Guido van Rossum
54f22ed30b More trivial comment -> docstring transformations by Ka-Ping Yee,
who writes:

Here is batch 2, as a big collection of CVS context diffs.
Along with moving comments into docstrings, i've added a
couple of missing docstrings and attempted to make sure more
module docstrings begin with a one-line summary.

I did not add docstrings to the methods in profile.py for
fear of upsetting any careful optimizations there, though
i did move class documentation into class docstrings.

The convention i'm using is to leave credits/version/copyright
type of stuff in # comments, and move the rest of the descriptive
stuff about module usage into module docstrings.  Hope this is
okay.
2000-02-04 15:10:34 +00:00
Guido van Rossum
b26a1b4e2b Use random instead of whrandom. 1998-05-20 17:05:52 +00:00
Guido van Rossum
5c7e8cd267 Avoid using the obsolete rand module; and improve the randomness
of the boundary chosen by choose_boudary() by using milliseconds
of the timestamp.
1998-04-11 03:06:02 +00:00
Guido van Rossum
e44a8d9987 Support uue and x-uue as short names for uuencode. 1997-12-10 18:54:36 +00:00
Guido van Rossum
e3cd151d1f Use the modules base64, quopri, and uu, instead of external programs
to decode/encode the standard transfer encodings.
1997-07-11 16:33:26 +00:00
Guido van Rossum
4be63d1725 Added getparamnames() to Message class -- return a list of all
parameters of the content-type header.
1996-10-04 20:14:02 +00:00
Guido van Rossum
0c8cf888eb Don't die when getuid() or getpid() aren't defined. 1996-08-26 16:40:20 +00:00
Guido van Rossum
8460b94b50 removed unused globals 1996-05-28 22:59:58 +00:00
Guido van Rossum
eacce12fdc add missing loop step to parseplist() 1996-01-25 18:07:08 +00:00
Guido van Rossum
4324536644 forget previous change (content-encoding) 1995-08-29 19:25:11 +00:00
Guido van Rossum
a5cf179f02 encoding can be content-transfer-encoding or content-encoding 1995-08-29 19:19:51 +00:00
Guido van Rossum
8755582ef1 add seekable option to __init__ 1995-08-07 20:13:56 +00:00
Guido van Rossum
b6775db241 Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
Guido van Rossum
7bc817d5ba * Mass change: get rid of all init() methods, in favor of __init__()
constructors.  There is no backward compatibility.  Not everything has
  been tested.
* aiff.{py,doc}: deleted in favor of aifc.py (which contains its docs as
  comments)
1993-12-17 15:25:27 +00:00
Guido van Rossum
fea2af1e9b * More changes due to stricter argument passing rules
* Fixed calendar.py, mimetools.py, whrandom.py to cope with time.time()
  returning a floating point number.  (And fix old bug in calendar)
* Add recursion level to mainloop.mainloop(), to make it reentrant.
1993-01-04 09:16:51 +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