summaryrefslogtreecommitdiffstats
path: root/Lib/uu.py
Commit message (Collapse)AuthorAgeFilesLines
* Replaced obsolete stat module constants with equivalent attributesRaymond Hettinger2002-06-011-1/+1
|
* decode(): Raise a uu.Error if no out_file is given but the fileBarry Warsaw2001-08-171-9/+13
| | | | | | | | | specified in the uu header already exists. No additional workaround is provided since out_file=pathname is a deprecated interface, so it is better to simply pass a file-like object into out_file anyway. This closes SF bug #438083. Use isinstance() tests instead of type comparisons.
* SF patch #440144: Tests and minor bugfix for uu moduleTim Peters2001-07-111-1/+1
| | | | | | | | | decode(): While writing tests for uu.py, Nick Mathewson discovered that the 'Truncated input file' exception could never get raised, because its "if not str:" test was actually testing the builtin function "str", not the local string vrbl "s" as intended. Bugfix candidate.
* final round of __all__ lists (I hope) - skipped urllib2 because Moshe may beSkip Montanaro2001-03-011-0/+2
| | | | giving it a slight facelift
* Whitespace normalization. Top level of Lib now fixed-point for reindent.py!Tim Peters2001-01-151-5/+5
|
* Adapted version of SF Patch #103173 by pyretic: make uu.decode workGuido van Rossum2001-01-101-5/+4
| | | | | | | | | | | | | | with spaces in filename. I changed the module to use string methods instead of the string module. Also, instead of stripping the last character of the filename (assuming this is the linefeed), I strip trailing whitespace (assuming creating files with trailing whitespace in their name cannot possibly be a wise idea). (Note that I believe that /F's "workaround for broken uuencoders" is no longer needed since the recent fix to binascii.c, but I'll leave it in since it appears pretty harmless.)
* Update the code to better reflect recommended style:Fred Drake2000-12-121-6/+6
| | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
* Convert some old-style string exceptions to class exceptions.Fred Drake2000-08-171-1/+2
|
* The third and final doc-string sweep by Ka-Ping Yee.Guido van Rossum2000-02-041-4/+5
| | | | | | | | The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
* Incorporate fix suggested by /Fredrik Lundh in the newsgroup to copeGuido van Rossum1999-01-051-4/+11
| | | | with trailing garbage generated by some broke uuencoders.
* Move 'import sys' to top of module, as noted by Tim Peters.Guido van Rossum1998-10-221-1/+1
|
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-66/+66
|
* Added /usr/bin/env python and made executable.Guido van Rossum1997-07-111-1/+2
|
* while (1) -> while 1. Sorry.Guido van Rossum1997-04-081-1/+1
|
* Search for a valid begin line instead of requiring the first line.Guido van Rossum1997-04-081-9/+16
|
* Fixed two minor errors.Jack Jansen1995-10-041-2/+2
|
* Changed arguments and added a lot of functionality besidesJack Jansen1995-08-301-87/+121
|
* Use binascii module for inner loopJack Jansen1995-08-071-88/+9
|
* mhlib.py: delay opening of sequences file so we don't overwrite it whenGuido van Rossum1994-09-091-0/+214
putsequences is called with a bad argument rfc822.py: better handling of dates with no or bad timezones uu.py: contributed by Lance -- uu{en,de}code