Samuele Pedroni
0ea0a18669
minor fix, jython-only. Don't asssume stdout to save is the ur-stdout.
2003-05-17 12:50:33 +00:00
Samuele Pedroni
e163df1bce
beefed up version: jython support, covers now fixed differences between CPython/Jython.
2003-05-17 02:35:37 +00:00
Samuele Pedroni
6f25f29ffa
Backport fix for compile_command("",symbol="eval") raising syntax error about "pass". Now returns None.
2003-05-16 21:57:23 +00:00
Barry Warsaw
9cc51f11b7
Backporting email 2.5.2 fixes.
2003-05-08 04:00:05 +00:00
Jeremy Hylton
8a625c9b2c
Backport better fix for newurl as suggested by Jim Jewett in SF bug
...
#730963 .
2003-05-05 04:10:40 +00:00
Jeremy Hylton
1f5df13b1c
Backport fix for SF #723831 : urlopen() raises URLError.
2003-05-05 03:18:41 +00:00
Tim Peters
fa90c3e468
file_truncate(): Backported 2.3 code so that file.truncate(n) works on
...
Windows when n is too big to fit in a 32-bit int. This was a hole in
2.2's large file support on Windows, and turns out it's a bad hole at
least for ZODB.
2003-04-30 19:24:59 +00:00
Raymond Hettinger
74e2df6952
Backport 1.157
...
SF Patch 549151: urllib2 POSTs on redirect
(contributed by John J Lee)
2003-04-25 05:36:48 +00:00
Raymond Hettinger
4c7188620a
Backport 1.157 and 1.39
...
SF Patch 549151: urllib2 POSTs on redirect
(contributed by John J Lee)
2003-04-25 05:33:07 +00:00
Raymond Hettinger
ed1eff778c
Backport 1.18:
...
SF bug 557704: netrc module can't handle all passwords
Let netrc handle entries with login fields (mail servers for instance)
by having login default to ''.
2003-04-25 04:37:40 +00:00
Brett Cannon
62308cb897
Fix documentation errors in regards to urlretrieve() and local files.
...
Also fix typos in urllib lib doc.
2003-04-24 02:46:35 +00:00
Raymond Hettinger
1fb996f3c0
Backport 1.17 adding punctuation as allowable characters
2003-04-23 19:37:42 +00:00
Martin v. Löwis
2c29daeb11
Patch #681152 : Support escaped unicode characters in classes. Fixes 612074.
2003-04-19 08:39:04 +00:00
Neal Norwitz
9976fdf83c
Backport:
...
Fix SF bug #697220 , string.strip implementation/doc mismatch
Attempt to make all the various string/unicode *strip methods the same.
* Doc - add doc for when functions were added
* UserString
* string/unicode object methods
* string module functions
'chars' is used for the last parameter everywhere.
2003-04-11 18:21:22 +00:00
Tim Peters
8998a81937
Fixed the gc-vs-__del__ bugs for new-style classes. That's it for this one.
2003-04-08 20:33:05 +00:00
Tim Peters
1ac384995c
Backporting new gc-vs-__del__ tests. These pass, but are restricted
...
to old-style classes. New-style classes remain vulnerable in 2.2.
2003-04-08 19:32:53 +00:00
Barry Warsaw
d90042536d
Backporting:
...
typed_subpart_iterator(): Fix these to use non-deprecated APIs,
i.e. get_content_maintype() and get_content_subtype().
2003-04-04 02:48:18 +00:00
Barry Warsaw
27a93d70af
Backporting email 2.5.1 patches.
2003-04-04 02:47:07 +00:00
Barry Warsaw
4a1d0f5638
Backporting:
...
revision 1.27
date: 2003/03/30 20:46:47; author: bwarsaw; state: Exp; lines: +3 -3
__unicode__(): Fix the logic for calculating whether to add a
separating space or not between encoded chunks. Closes SF bug
#710498 .
2003-04-04 02:46:38 +00:00
Tim Peters
44198f0465
This was failing on Windows, due to various attempts to delete files
...
that were still open. Made the tail end of the test look more like
the CVS head version.
2003-03-31 22:48:29 +00:00
Skip Montanaro
18711bce89
backport test skip for test_locale on Mac OS X
2003-03-31 22:11:45 +00:00
Skip Montanaro
ddf625bd89
backport largefile resource requirement for Mac OSX
2003-03-31 17:42:52 +00:00
Neal Norwitz
31ec28bd64
SF patch #706338 , Fix a few broken links in pydoc by Greg Chapman
2003-03-30 20:31:49 +00:00
Martin v. Löwis
a43f281144
Patch #707701 : Expect '??' in events. Fixes #698517 .
2003-03-29 09:48:12 +00:00
Skip Montanaro
4c9fefcfe3
backport fix for missing altsep in nt (bug 709428)
2003-03-28 22:31:41 +00:00