Collin Winter
50b79ce8e6
Patch #1731049 : make threading.py use a proper "raise" when checking internal state, rather than assert statements (which get stripped out by -O).
2007-06-06 00:17:35 +00:00
Neal Norwitz
a38c7c282e
Update expected birthday of 2.6
2007-06-02 18:33:53 +00:00
Neal Norwitz
03b75fa4e1
Add some spaces in the example code.
2007-05-31 04:14:22 +00:00
Georg Brandl
d4e42dccf0
Fix rst markup.
2007-05-29 07:16:47 +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
Georg Brandl
2134e754f2
Patch #1686487 : you can now pass any mapping after '**' in function calls.
2007-05-21 20:34:16 +00:00
George Yoshida
5faa75f3c1
fix against r55474 [Remove the macfs module]
...
Remove "libmacfs.tex" from Makefile.deps and mac/mac.tex.
2007-05-21 04:41:21 +00:00
Andrew M. Kuchling
0f852e2740
Note removed modules
2007-05-21 00:03:15 +00:00
Brett Cannon
5e2635103c
Remove the macfs module. This led to the deprecation of macostools.touched();
...
it completely relied on macfs and is a no-op on OS X according to code
comments.
2007-05-20 23:17:38 +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
2dd7d179de
Bug #1046945 : document SWIG options of distutils.
2007-05-12 21:06:41 +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
Walter Dörwald
27f4abf3b1
Clarify the behaviour of PyUnicode_DecodeUTF16(): A BOM is only skipped
...
in native order mode, and only if it's the first two bytes.
2007-05-03 15:13:55 +00:00
Vinay Sajip
c0a293c692
Added documentation for new optional credentials argument to SMTPHandler.__init__().
2007-05-01 10:21:45 +00:00
Georg Brandl
5a006b3978
Bug #1710295 : exceptions are now new-style classes.
2007-05-01 06:04:11 +00:00
Georg Brandl
58ef8cd29c
Version fix (bug #1708710 )
2007-04-27 19:20:00 +00:00
Steve Holden
6e6eaa7a67
Minor wording change on slicing aide-memoire.
2007-04-26 14:23:12 +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
Georg Brandl
e47c508850
Markup fix.
2007-04-25 06:25:55 +00:00
Georg Brandl
3dc6e90a2e
Patch #1698768 : updated the "using Python on the Mac" intro.
2007-04-25 06:24:59 +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