Commit Graph

4365 Commits

Author SHA1 Message Date
Neal Norwitz 03b75fa4e1 Add some spaces in the example code. 2007-05-31 04:14:22 +00:00
Raymond Hettinger 1749a13532 Explain when groupby() issues a new group. 2007-05-28 05:23:22 +00:00
Lars Gustäbel a0fcb9384e Added errors argument to TarFile class that allows the user to
specify an error handling scheme for character conversion. Additional
scheme "utf-8" in read mode. Unicode input filenames are now
supported by design. The values of the pax_headers dictionary are now
limited to unicode objects.

Fixed: The prefix field is no longer used in PAX_FORMAT (in
conformance with POSIX).
Fixed: In read mode use a possible pax header size field.
Fixed: Strip trailing slashes from pax header name values.
Fixed: Give values in user-specified pax_headers precedence when
writing.

Added unicode tests. Added pax/regtype4 member to testtar.tar all
possible number fields in a pax header.

Added two chapters to the documentation about the different formats
tarfile.py supports and how unicode issues are handled.
2007-05-27 19:49:30 +00:00
Peter Astrand 81a191b351 Applied patch 1669481, slightly modified: Support close_fds on Win32 2007-05-26 22:18:20 +00:00
Walter Dörwald 5f9b6c9a1b Fix typo. 2007-05-26 21:04:13 +00:00
Vinay Sajip cf99b65932 Updated documentation for SysLogHandler (#1720726). 2007-05-25 07:06:55 +00:00
Georg Brandl c90bc75994 shlex.split() now has an optional "posix" parameter. 2007-05-24 16:49:29 +00:00
Georg Brandl a69c02ecd1 Remove the "panel" module doc file which has been ignored since 1994. 2007-05-22 14:28:17 +00:00
Neal Norwitz 6f145fce06 Document new params to HTTPSConnection 2007-05-22 06:03:36 +00:00
Nick Coghlan c568cc162a Fix typo in example (should be backported, but my maintenance branch is woefully out of date) 2007-05-20 11:12:49 +00:00
Brett Cannon dc48b74497 Remove the rgbimg module. It has been deprecated since Python 2.5. 2007-05-20 07:09:50 +00:00
Raymond Hettinger 5a41daf096 Improvements to NamedTuple's implementation, tests, and documentation 2007-05-19 01:11:16 +00:00
Fred Drake 88d96ade59 fix argument name in documentation; match the implementation 2007-05-17 19:29:58 +00:00
Brett Cannon d75f043c33 Remove the gopherlib module. It has been raising a DeprecationWarning since
Python 2.5.

Also remove gopher support from urllib/urllib2.  As both imported gopherlib the
usage of the support would have raised a DeprecationWarning.
2007-05-16 22:42:29 +00:00
Georg Brandl f1135f30f8 Bug #1719995: don't use deprecated method in sets example. 2007-05-16 13:44:18 +00:00
Neal Norwitz 25e4461666 Remove references to stdwin which was removed long ago. 2007-05-13 20:54:19 +00:00
Neal Norwitz 7072559db9 Remove Amoeba doc which was removed in version 1.0! according to Misc/HISTORY.
Hopefully Guido won't shed a tear. :-)
2007-05-13 20:45:05 +00:00
Georg Brandl e3e62b3783 Update DDJ link. 2007-05-11 11:43:56 +00:00
Georg Brandl c5207c8425 Patch #1714700: clarify os.linesep vs. tfiles opened in text mode.
(backport)
2007-05-11 11:04:26 +00:00
Neal Norwitz 6bf8fa66ff Deprecate os.popen* and popen2 module in favor of the subprocess module. (forgot the doc) 2007-05-11 07:13:30 +00:00
Neal Norwitz 0999a1150a Add markup for True/False. Will backport 2007-05-09 06:43:15 +00:00
Georg Brandl cc40ff831c Bug #1713535: typo in logging example. 2007-05-05 18:55:37 +00:00
Brett Cannon 229cee2d3d Deprecate BaseException.message as per PEP 352. 2007-05-05 01:34:02 +00:00
Vinay Sajip c0a293c692 Added documentation for new optional credentials argument to SMTPHandler.__init__(). 2007-05-01 10:21:45 +00:00
Fred Drake 452f5df64a fix some markup errors 2007-04-26 04:42:19 +00:00
Collin Winter c2898c5a67 Standardize on test.test_support.run_unittest() (as opposed to a mix of run_unittest() and run_suite()). Also, add functionality to run_unittest() that admits usage of unittest.TestLoader.loadTestsFromModule(). 2007-04-25 17:29:52 +00:00
Raymond Hettinger e133a95d1c Fix markup 2007-04-24 22:13:43 +00:00
Georg Brandl 18afb37845 Bug #1705717: error in sys.argv docs. 2007-04-24 15:10:09 +00:00
Georg Brandl 556697e412 Some new year updates. 2007-04-24 10:36:42 +00:00
Neal Norwitz 8eea9ac889 Fix SF #1703110, Incorrect example for add_password() (use uri, not host) 2007-04-24 04:53:12 +00:00
Raymond Hettinger 4db5fe970c SF 1193128: Let str.translate(None) be an identity transformation 2007-04-12 04:10:00 +00:00
Georg Brandl 5176180610 Repair missing spaces after \UNIX. 2007-04-11 23:28:44 +00:00
Andrew M. Kuchling 5bf02cd17f Describe undocumented third argument to touchline() 2007-04-11 13:47:13 +00:00
Andrew M. Kuchling 400a49ba79 Add window.chgat() method, submitted via e-mail by Fabian Kreutz 2007-04-11 13:39:00 +00:00
Georg Brandl 781aef2d6b Repair a duplicate label and some obsolete uses of \setindexsubitem. 2007-04-10 21:39:38 +00:00
Brett Cannon 55a1864832 Doc that file.next() has undefined behaviour when called on a file opened with
'w'.  Closes bug #1569057.

To be backported once 2.5 branch is unfrozen.
2007-04-08 04:29:32 +00:00
Andrew M. Kuchling 615b49b097 Some grammar fixes 2007-04-06 01:11:58 +00:00
Facundo Batista c3a35e19cc Now using unittest for the tests infraestructure. Also split the
tests in those who need the network, and that who doesn't.
2007-04-03 14:05:08 +00:00
Georg Brandl 5447850f6f Fix the class name of strings. 2007-04-01 23:31:30 +00:00
Georg Brandl 5f4c580776 Remove bogus entry. 2007-04-01 23:29:10 +00:00
Georg Brandl 30d6c04696 Some semantic fixes. 2007-04-01 22:47:31 +00:00
Georg Brandl ae91afdcfb Lots of explicit class names for method and member descs. 2007-04-01 22:39:10 +00:00
Georg Brandl b8e8df2e63 Another fix. 2007-04-01 21:39:52 +00:00
Georg Brandl 4e9165d2dd Fix a lot of markup and meta-information glitches. 2007-04-01 21:29:15 +00:00
Georg Brandl 5201364de5 Markup fix. 2007-03-31 11:54:58 +00:00
Georg Brandl b8b88743a8 repair string literal. 2007-03-31 10:17:31 +00:00
Georg Brandl 8c09b14978 Markup fix. 2007-03-30 19:14:02 +00:00
Georg Brandl 92a9fc0a2f Duplicate label fix. 2007-03-30 19:01:38 +00:00
Georg Brandl f3c123d82d Markup fix. 2007-03-30 17:48:39 +00:00
Georg Brandl bc7d71a8fd Duplicate label fix. 2007-03-30 17:47:21 +00:00