- 14 Mar, 2007 5 commits
-
-
Žiga Seilnacht authored
name. Remove a reference leak that happened if the name could not be converted to string. Will backport.
-
Georg Brandl authored
AttributeError instead of an IOError when the server's response didn't contain a valid HTTP status line.
-
Gregory P. Smith authored
now that nobody is likely to use Python on Mac OS 9 and most of the (Mac) platform items are all OS X special API specific since OS X is unixy enough for these modules to be available out of the box.
-
Gregory P. Smith authored
-
Barry Warsaw authored
2047-like headers where there is no whitespace between encoded words. This fix changes the matching regexp to include a trailing lookahead assertion that the closing ?= must be followed by whitespace, newline, or end-of-string. This also changes the regexp to add the MULTILINE flag.
-
- 13 Mar, 2007 35 commits
-
-
Collin Winter authored
-
Georg Brandl authored
with ASCII value less than 32. Also, it correctly quotes dots only if they occur on a single line, as opposed to the previous behavior of quoting dots if they are the second character of any line.
-
Georg Brandl authored
-
Georg Brandl authored
expanded in ntpath.expandvars(), also "~user" home directory references are recognized and handled on Windows.
-
Georg Brandl authored
the debugged script, which means that imports from __main__ work correctly now.
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
Python program, optionally with different arguments.
-
Thomas Heller authored
-
Georg Brandl authored
(backport)
-
Thomas Heller authored
-
Georg Brandl authored
for a thing instead of paging it to stdout, which pydoc.doc() does.
-
Georg Brandl authored
strings for the code to time and the setup code. Also added two convenience functions for instantiating a Timer and calling its methods.
-
Georg Brandl authored
-
Georg Brandl authored
-
Collin Winter authored
Arvin Schnell - 1668482 Sébastien Martini - 1481079 Heiko Wundram - 1491866 Damon Kohler - 1545011 Peter Parente - 1599845 Bjorn Lindqvist - 1678662
-
Georg Brandl authored
which can be set to False to prevent the default delete-on-close behavior.
-
Georg Brandl authored
-
Georg Brandl authored
whitespace while wrapping.
-
Georg Brandl authored
are set for invalid interpolation sequences that would lead to errors on reading back those values.
-
Lars Gustäbel authored
than 'iso8859-1'.
-
Georg Brandl authored
error in spite of a succesful compression.
-
Lars Gustäbel authored
support. The TarInfo class now contains all necessary logic to process and create tar header data which has been moved there from the TarFile class. The fromtarfile() method was added. The new path and linkpath properties are aliases for the name and linkname attributes in correspondence to the pax naming scheme. The TarFile constructor and classmethods now accept a number of keyword arguments which could only be set as attributes before (e.g. dereference, ignore_zeros). The encoding and pax_headers arguments were added for pax support. There is a new tarinfo keyword argument that allows using subclassed TarInfo objects in TarFile. The boolean TarFile.posix attribute is deprecated, because now three tar formats are supported. Instead, the desired format for writing is specified using the constants USTAR_FORMAT, GNU_FORMAT and PAX_FORMAT as the format keyword argument. This change affects TarInfo.tobuf() as well. The test suite has been heavily reorganized and partially rewritten. A new testtar.tar was added that contains sample data in many formats from 4 different tar programs. Some bugs and quirks that also have been fixed: Directory names do no longer have a trailing slash in TarInfo.name or TarFile.getnames(). Adding the same file twice does not create a hardlink file member. The TarFile constructor does no longer need a name argument. The TarFile._mode attribute was renamed to mode and contains either 'r', 'w' or 'a'.
-
Martin v. Löwis authored
email.message.Message.{set_charset,get_content_charset}. Will backport.
-
Georg Brandl authored
directory within sys.exec_prefix.
-
Georg Brandl authored
pydoc's help keywords.
-
Georg Brandl authored
concatenation in robotparser.
-
Georg Brandl authored
field names in its exception message if you try to write a record with a dictionary containing fields not in the CSV field names list.
-
Georg Brandl authored
OSError if accessing a local file via the file:// protocol fails.
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Neal Norwitz authored
* lines too long * wrong indentation * space after a function name * wrong function name in error string * simplifying some logic Also add an error check to PyDict_SetItemString.
-
Neal Norwitz authored
Brian Leair - 922167 Tomer Filiba - 15916658 Jeremy Jones - 1192590
-
Neal Norwitz authored
-