Georg Brandl
dd3bffb679
Bug #1588217 : don't parse "= " as a soft line break in binascii's
...
a2b_qp() function, instead leave it in the string as quopri.decode()
does.
(backport from rev. 52765)
2006-11-16 17:08:48 +00:00
Georg Brandl
7563191cf6
Bug #1597576 : mention that the new base64 api has been introduced in py2.4.
...
(backport from rev. 52762)
2006-11-16 15:05:19 +00:00
Georg Brandl
fb4da1d7ca
Bug #1594809 : add a note to README regarding PYTHONPATH and make install.
...
(backport from rev. 52754)
2006-11-15 17:42:07 +00:00
Martin v. Löwis
962e4317bc
Patch #1360200 : Use unmangled_version RPM spec field to deal with
...
file name mangling.
2006-11-12 18:56:18 +00:00
Martin v. Löwis
867ef13436
Patch #1359217 : Ignore 2xx response before 150 response.
2006-11-12 18:48:30 +00:00
Georg Brandl
8fc42c8aad
Bug #1594758 : wording improvement for dict.update() docs.
...
(backport from rev. 52733)
2006-11-11 18:32:50 +00:00
Georg Brandl
c33b7488de
Bug #1594742 : wrong word in stringobject doc.
...
(backport from rev. 52731)
2006-11-11 18:29:15 +00:00
Phillip J. Eby
511350bee9
Fix SF#1566719: not creating site-packages (or other target directory) when
...
installing .egg-info for a project that contains no modules or packages,
while using --root (as in bdist_rpm). (Backport from trunk)
2006-11-10 17:13:29 +00:00
Andrew M. Kuchling
6d97478449
[Feature request #1542920 ] Link to wsgi.org
2006-11-10 14:39:17 +00:00
Andrew M. Kuchling
7ea928c452
[Patch #1514543 ] mailbox (Maildir): avoid losing messages on name clash
...
Two changes:
Where possible, use link()/remove() to move files into a directory; this
makes it easier to avoid overwriting an existing file.
Use _create_carefully() to create files in tmp/, which uses O_EXCL.
2006-11-10 13:15:58 +00:00
Andrew M. Kuchling
bb876b9c69
[Patch #1514544 by David Watson] use fsync() to ensure data is really on disk
2006-11-10 13:08:03 +00:00
Walter Dörwald
f2d5c6d117
Backport checkin:
...
Replace C++ comment with C comment (fixes SF bug #1593525 ).
2006-11-09 16:30:39 +00:00
Andrew M. Kuchling
d52a0b8583
[Bug #1569790 ] mailbox.Maildir.get_folder() loses factory information
...
Both the Maildir and MH classes had this bug; the patch fixes both classes
and adds a test.
2006-11-09 13:33:53 +00:00
Martin v. Löwis
3f63454e22
Patch #838546 : Make terminal become controlling in pty.fork().
2006-11-09 11:06:30 +00:00
Georg Brandl
3ed5c2a277
Bug #1592533 : rename variable in heapq doc example, to avoid shadowing
...
"sorted".
(backport from rev. 52668)
2006-11-08 10:04:32 +00:00
Georg Brandl
082f14b61c
Patch #1592072 : fix docs for return value of PyErr_CheckSignals.
...
(backport from rev. 52666)
2006-11-08 07:46:01 +00:00
Martin v. Löwis
a1e3422205
Correctly forward exception in instance_contains().
...
Fixes #1591996 . Patch contributed by Neal Norwitz.
2006-11-08 06:46:49 +00:00
Andrew M. Kuchling
cf1e760d3e
Add missing word
2006-11-07 20:39:58 +00:00
Thomas Heller
27021f1cb8
Fix markup and grammatical errors. Backport from trunk
2006-11-07 18:23:14 +00:00
Ronald Oussoren
72e405b769
backport of revision 52644
2006-11-07 15:54:38 +00:00
Skip Montanaro
da65c6496d
backport: note that user can control directory location even if default dir is used
2006-11-06 14:35:34 +00:00
Neal Norwitz
a3ce6aa8b7
Backport 52621:
...
Bug #1588287 : fix invalid assertion for `1,2` in debug builds.
2006-11-04 19:32:54 +00:00
Martin v. Löwis
56602a14e6
Patch #1060577 : Extract list of RPM files from spec file in
...
bdist_rpm
2006-11-04 18:14:22 +00:00
Thomas Heller
5aafe92822
Fix code example by adding a missing import.
...
Fixes #1557890 .
Backported from trunk.
2006-11-02 20:24:26 +00:00
Thomas Heller
906681b4d6
Replace the XXX marker in the 'Arrays and pointers' reference manual
...
section with a link to the tutorial sections.
Backported from trunk.
2006-11-02 19:52:43 +00:00
Neal Norwitz
ae6b84184b
Fix refleak
2006-10-29 23:42:59 +00:00
Georg Brandl
5e9f94ac7a
Bug #1576657 : when setting a KeyError for a tuple key, make sure that
...
the tuple isn't used as the "exception arguments tuple".
(backport from rev. 52535)
2006-10-29 18:31:45 +00:00
Georg Brandl
6dc39987c9
Bug #1586773 : extend hashlib docstring.
...
(backport from rev. 52532)
2006-10-29 18:01:12 +00:00
Georg Brandl
f96b162b68
I thought I had already fixed this error in the test.
2006-10-29 15:22:43 +00:00
Georg Brandl
c68d2cc3f2
Bug #1586613 : fix zlib and bz2 codecs' incremental en/decoders.
...
(backport from rev. 52529)
2006-10-29 14:39:13 +00:00
Georg Brandl
b8205a1188
Fix the new EncodedFile test to work with big endian platforms.
...
(backport from rev. 52527)
2006-10-29 09:32:19 +00:00
Georg Brandl
2527f7fee0
Patch #1583880 : fix tarfile's problems with long names and posix/
...
GNU modes.
(backport from rev. 52524)
2006-10-29 09:16:15 +00:00
Georg Brandl
0d3de7612c
Bug #1357915 : allow all sequence types for shell arguments in
...
subprocess.
(backport from rev. 52522)
2006-10-29 09:05:08 +00:00
Georg Brandl
2a5a3027f2
Fix codecs.EncodedFile which did not use file_encoding in 2.5.0, and
...
fix all codecs file wrappers to work correctly with the "with"
statement (bug #1586513 ).
(backport from rev. 52517)
2006-10-29 08:39:27 +00:00
Neal Norwitz
7f2075a490
From SF 1557890, fix problem of using wrong type in example.
2006-10-28 22:13:22 +00:00
Neal Norwitz
ca63121553
Backport 52506:
...
Don't inline Py_ADDRESS_IN_RANGE with gcc 4+ either.
2006-10-28 21:39:31 +00:00
Neal Norwitz
e0cf624747
Backport 52505:
...
Prevent crash if alloc of garbage fails. Found by Typo.pl.
2006-10-28 21:39:10 +00:00
Neal Norwitz
2f0940b6ca
Backport 52504:
...
Fix bug #1565514 , SystemError not raised on too many nested blocks.
It seems like this should be a different error than SystemError, but
I don't have any great ideas and SystemError was raised in 2.4 and earlier.
2006-10-28 21:38:43 +00:00
Neal Norwitz
c975b9477b
Backport 52503:
...
Fix crash in test on HP-UX. Apparently, it's not possible to delete a lock if
it's held (even by the current thread).
2006-10-28 21:37:42 +00:00
Neal Norwitz
7e3ec048f9
Backport 52502:
...
Fix warnings with HP's C compiler. It doesn't recognize that infinite
loops are, um, infinite. These conditions should not be able to happen.
2006-10-28 21:37:16 +00:00
Neal Norwitz
b5fdf0da21
Backport 52501:
...
Add some asserts. In sysmodule, I think these were to try to silence
some warnings from Klokwork. They verify the assumptions of the format
of svn version output.
The assert in the thread module helped debug a problem on HP-UX.
2006-10-28 21:36:37 +00:00
Georg Brandl
aabdd5480c
Fix nth() itertool recipe.
...
(backport from rev. 52497)
2006-10-28 16:04:07 +00:00
Georg Brandl
a35f8e0538
Patch #1552024 : add decorator support to unparse.py demo script.
...
(backport from rev. 52488)
2006-10-27 20:39:47 +00:00
Thomas Heller
a0a50feea8
WindowsError.str should display the windows error code,
...
not the posix error code; with test.
Fixes #1576174 .
Backported from trunk, revision 52485.
2006-10-27 18:47:29 +00:00
Andrew M. Kuchling
ff9e7abac8
[Patch #1574068 by Scott Dial] urllib and urllib2 were using
...
base64.encodestring() for encoding authentication data.
encodestring() can include newlines for very long input, which
produced broken HTTP headers.
2.4 backport candidate, probably.
2006-10-27 17:13:33 +00:00
Andrew M. Kuchling
7d1d540cc3
[Bug #1575506 ] The _singlefileMailbox class was using the wrong file object in its flush() method, causing an error
2006-10-27 16:57:44 +00:00
Andrew M. Kuchling
3d6a834e29
[Bug #1576241 ] Let functools.wraps work with built-in functions
2006-10-27 16:42:19 +00:00
Andrew M. Kuchling
d2ee30b485
Point users to the subprocess module in the docs for os.system, os.spawn*, os.popen2, and the popen2 and commands modules
2006-10-27 14:54:43 +00:00
Andrew M. Kuchling
5f95870868
[Bug #1542016 ] Report PCALL_POP value. This makes the return value of sys.callstats() match its docstring.
...
Backport candidate. Though it's an API change, this is a pretty obscure
portion of the API.
2006-10-27 13:29:41 +00:00
Andrew M. Kuchling
935add1d30
[Bug #1562583 ] Mention the set_reuse_addr() method
2006-10-27 13:06:41 +00:00