- 13 Mar, 2007 16 commits
-
-
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
-
Brett Cannon authored
-
Brett Cannon authored
nests test.test_support.TransientResource context managers that capture exceptions raised when the Internet connection is flaky. Initially using in test_socket_ssl but should probably be expanded to cover any test that should not raise the captured exceptions if the Internet connection works.
-
- 12 Mar, 2007 13 commits
-
-
Tim Peters authored
-
Tim Peters authored
-
Collin Winter authored
-
Georg Brandl authored
-
Collin Winter authored
Bug #742342: make Python stop segfaulting on infinitely-recursive reload()s. Fixed by patch #922167. Will backport.
-
Collin Winter authored
-
Georg Brandl authored
case, even when converting the value to a string failed.
-
Georg Brandl authored
Patch #15916658: implement the __dir__() special function lookup in PyObject_Dir. Had to change a few bits of the patch because classobjs and __methods__ are still in Py2.6.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Skip Montanaro authored
that given the inputs in these tests Excel does indeed produce the output these tests expect. Document that for future confused folks.
-
Barry Warsaw authored
display name of an email address, e.g. Foo \tBar <foo@example.com> Test case added by Barry.
-
Collin Winter authored
stable FTP. Will backport.
-
- 11 Mar, 2007 4 commits
-
-
Vinay Sajip authored
-
Collin Winter authored
Patch #1192590: Fix pdb's "ignore" and "condition" commands so they trap the IndexError caused by passing in an invalid breakpoint number. Will backport.
-
Žiga Seilnacht authored
__dict__ and __weakref__ are removed from the slots tuple earlier in the code, in the loop that mangles slot names. Will backport.
-
Georg Brandl authored
-
- 10 Mar, 2007 7 commits
-
-
Collin Winter authored
Patch #1599845: Add an option to disable the implicit calls to server_bind() and server_activate() in the constructors for TCPServer, SimpleXMLRPCServer and DocXMLRPCServer.
-
Collin Winter authored
-
Georg Brandl authored
-
Collin Winter authored
-
Neal Norwitz authored
Update to use predominant style of spaces around = in args list and print to stderr if debugging.
-
Collin Winter authored
Bug #1531963: Make SocketServer.TCPServer's server_address always be equal to calling getsockname() on the server's socket. Will backport.
-
Collin Winter authored
* Unlink test files before and after each test; hopefully this will cut down on recent buildbot failures in test_islink. * Drop safe_remove() in favor of test_support.unlink(). * Fix the indentation of test_samefile so that it runs.
-