Commit Graph

22317 Commits

Author SHA1 Message Date
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
Raymond Hettinger
ceb58a7dd1 Fix nits found by Tools\scripts\texcheck.py 2003-05-16 03:08:36 +00:00
Fred Drake
b5dd25732c Fix broken API descriptions in comments. 2003-05-12 21:38:50 +00:00
Fred Drake
dc39bc64d4 Add a specific mention of the term "operator overloading" and add an
index entry.  Suggested to python-docs.
2003-05-12 13:50:41 +00:00
Jeremy Hylton
d8136b500a Backport fixes to make more types collectable.
classmethod, staticmethod, cPickle.Pickler, cPickle.UNpickler
2003-05-09 18:29:21 +00:00
Barry Warsaw
9cc51f11b7 Backporting email 2.5.2 fixes. 2003-05-08 04:00:05 +00:00
Skip Montanaro
8fc096a3d4 add missing parens - verified w/ interpreter - sorry to dismiss your comment
Fred
2003-05-07 16:02:06 +00:00
Skip Montanaro
6069b642bb replace most uses of ... by repr(...), noting that ... is discouraged,
but convenient in interactive sessions.
2003-05-07 15:29:53 +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
Martin v. Löwis
7aed4a33ac Patch #708604: Check more function results. 2003-05-03 10:53:51 +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
Fred Drake
594d4c5581 At the site of an indexed reference to print, point to the relevant
documentation.  Closes SF bug #723136.
2003-04-30 16:43:51 +00:00
Fred Drake
7f9cbf1037 - clean up some extra punctuation hidden in indexing markup
- fix a typo and one markup nit
- normalize whitespace
2003-04-29 13:55:20 +00:00
Fred Drake
9a3638fff5 Clarify that the timeout argument to read_until() is in seconds. 2003-04-29 13:38:42 +00:00
Raymond Hettinger
9b88e1587f SF bug #729096: getopt online documentation example improvement
A newbie found it difficult to translate the exampe into a
case that used only short options or long options but not both.
He tried to shorten the tuple search but forgot the trailing comma,
The appropriate pattern is an equality check.

Revised the example to point him in the right direction.
2003-04-29 04:37:13 +00:00
Barry Warsaw
971f0f0fb4 detect_modules(): On Redhat 9, building the ssl stuff eventually
includes krb5.h.  Copy the krb5_h stanza from Python 2.3's setup.py
which seems to fix the problem.
2003-04-27 04:00:01 +00:00
Skip Montanaro
02157566f3 backport of note arising from bug 711019. 2003-04-26 02:59:46 +00:00
Fred Drake
468f44f184 Markup change; make the notice a little stronger by using the "boxed"
version.
2003-04-25 22:09:23 +00:00
Fred Drake
a749183f87 Add modified versions of the examples from Sean Reifschneider
(SF patch #545480).
2003-04-25 15:29:22 +00:00
Guido van Rossum
4f017eb311 Backport the Carlo Verre fix. 2003-04-25 05:40:32 +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