Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Jython compatibility fix: if uu.decode() opened its output file, be sure to | Andrew M. Kuchling | 2006-11-20 | 1 | -0/+4 |
| | | | | close it. | ||||
* | minor error in uudecode main error handling | Anthony Baxter | 2006-04-07 | 1 | -1/+1 |
| | |||||
* | Make uu use floor division instead of classic division. | Georg Brandl | 2006-03-28 | 1 | -1/+1 |
| | | | | This was discovered by test_email failing with -Qnew. | ||||
* | Use optparse instead of getopt for command line options. | Walter Dörwald | 2005-11-22 | 1 | -28/+20 |
| | | | | | | Use "raise instance" instead of "raise class, args". Modernize the code in other spots (bools, startswith()). | ||||
* | Avoid using str as a variable name. | Walter Dörwald | 2005-11-22 | 1 | -4/+4 |
| | |||||
* | Use basestring instead of type.StringType for checking whether a input | Walter Dörwald | 2005-11-21 | 1 | -7/+6 |
| | | | | | or output file is a file name instead of a file object. This enables unicode file names as arguments to uu.encode() and uu.decode(). | ||||
* | Replaced obsolete stat module constants with equivalent attributes | Raymond Hettinger | 2002-06-01 | 1 | -1/+1 |
| | |||||
* | decode(): Raise a uu.Error if no out_file is given but the file | Barry Warsaw | 2001-08-17 | 1 | -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 module | Tim Peters | 2001-07-11 | 1 | -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 be | Skip Montanaro | 2001-03-01 | 1 | -0/+2 |
| | | | | giving it a slight facelift | ||||
* | Whitespace normalization. Top level of Lib now fixed-point for reindent.py! | Tim Peters | 2001-01-15 | 1 | -5/+5 |
| | |||||
* | Adapted version of SF Patch #103173 by pyretic: make uu.decode work | Guido van Rossum | 2001-01-10 | 1 | -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 Drake | 2000-12-12 | 1 | -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 Drake | 2000-08-17 | 1 | -1/+2 |
| | |||||
* | The third and final doc-string sweep by Ka-Ping Yee. | Guido van Rossum | 2000-02-04 | 1 | -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 cope | Guido van Rossum | 1999-01-05 | 1 | -4/+11 |
| | | | | with trailing garbage generated by some broke uuencoders. | ||||
* | Move 'import sys' to top of module, as noted by Tim Peters. | Guido van Rossum | 1998-10-22 | 1 | -1/+1 |
| | |||||
* | Mass check-in after untabifying all files that need it. | Guido van Rossum | 1998-03-26 | 1 | -66/+66 |
| | |||||
* | Added /usr/bin/env python and made executable. | Guido van Rossum | 1997-07-11 | 1 | -1/+2 |
| | |||||
* | while (1) -> while 1. Sorry. | Guido van Rossum | 1997-04-08 | 1 | -1/+1 |
| | |||||
* | Search for a valid begin line instead of requiring the first line. | Guido van Rossum | 1997-04-08 | 1 | -9/+16 |
| | |||||
* | Fixed two minor errors. | Jack Jansen | 1995-10-04 | 1 | -2/+2 |
| | |||||
* | Changed arguments and added a lot of functionality besides | Jack Jansen | 1995-08-30 | 1 | -87/+121 |
| | |||||
* | Use binascii module for inner loop | Jack Jansen | 1995-08-07 | 1 | -88/+9 |
| | |||||
* | mhlib.py: delay opening of sequences file so we don't overwrite it when | Guido van Rossum | 1994-09-09 | 1 | -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 |