Michael W. Hudson
1baa248021
Fix
...
[ 1000841 ] "make pdf" failure w/ 2.4 docs
in the suggested way, by uglifying a URL.
2004-08-07 17:39:35 +00:00
Andrew M. Kuchling
0188cdb115
[Bug #998066 ] Mention result mismatch
2004-08-07 17:28:17 +00:00
Andrew M. Kuchling
e5dd162a07
[Bug #923315 ] Produce correct result on AIX
2004-08-07 17:21:27 +00:00
Michael W. Hudson
b6d9fc38e8
Patch:
...
[ 1003863 ] adds an index entry for __all__ to the tutorial
2004-08-07 17:05:42 +00:00
Andrew M. Kuchling
8def876d36
[Bug #873146 ] Document pickletools module (haven't tested the LaTeX yet)
2004-08-07 16:53:59 +00:00
Andrew M. Kuchling
d0c53fedd0
Add argument to docstring
2004-08-07 16:51:30 +00:00
Michael W. Hudson
049e7aaa0f
Point out that the setdefault defaults the value to None. Inspired by
...
Michael Chermside's thinking about patch #748126 (the chief upshot of
which thinking was "reject it!").
2004-08-07 16:41:34 +00:00
Barry Warsaw
e8bedeb45b
Resolution of bug #997368 , "strftime() backward compatibility".
...
Specifically, time.strftime() no longer accepts a 0 in the yday position of a
time tuple, since that can crash some platform strftime() implementations.
parsedate_tz(): Change the return value to return 1 in the yday position.
Update tests in test_rfc822.py and test_email.py
2004-08-07 16:38:40 +00:00
Jeremy Hylton
2c178253bd
SF bug 874842 and patch 997626: httplib bugs
...
Hack httplib to work with broken Akamai proxies.
Make sure that httplib doesn't add extract Accept-Encoding or
Content-Length headers if the client has already set them.
2004-08-07 16:28:14 +00:00
Andrew M. Kuchling
dc54f2be3f
Make 'bin' argument trigger DeprecationWarning
2004-08-07 16:27:24 +00:00
Andrew M. Kuchling
cbbee6fed5
[Bug #984952 ] Include more material from PEP 307.
...
I haven't tried to include all the material on old-style classes using protocols 0,1. The details are lengthy; someone who knows
more about the pickle module should decide if they're important enough
to be in the docs or not.
2004-08-07 16:24:18 +00:00
Barry Warsaw
8896bf56a2
Resolution of SF bug #1002475 and patch #1003693 ; Header lines that end in
...
\r\n only get the \n stripped, not the \r (unless it's the last header which
does get the \r stripped). Patch by Tony Meyer.
test_whitespace_continuation_last_header(),
test_strip_line_feed_and_carriage_return_in_headers(): New tests.
_parse_headers(): Be sure to strip \r\n from the right side of header lines.
2004-08-07 15:57:52 +00:00
Andrew M. Kuchling
14d535c3d4
[Bug #984952 ] Include some material from PEP 307
2004-08-07 15:49:24 +00:00
Michael W. Hudson
2b3feec58f
This is more-or-less:
...
[ 1005123 ] test_curses fails on MacOS X 10.3
Be a bit more guarded about what we expect a terminal to be capable
of.
2004-08-07 15:27:16 +00:00
Michael W. Hudson
3fdd43ef35
Somehow (no idea how!) I missed half of patch #1005008 . Sorry about that.
2004-08-07 15:20:15 +00:00
Michael W. Hudson
09ad235f99
This is patch
...
[ 1005008 ] curses.wrapper should also forward keyword args
Plus my rewrite to use finally as opposed to painfully doing the
equivalent by hand.
2004-08-07 15:18:07 +00:00
Andrew M. Kuchling
6f937b1c30
[Bug #998307 ] Use open() instead of file() in docs
2004-08-07 15:11:24 +00:00
Fred Drake
9bae19e8b1
fix two typos in markup
2004-08-07 14:28:37 +00:00
Andrew M. Kuchling
955d00922c
Add name
2004-08-07 14:17:50 +00:00
Andrew M. Kuchling
b34a6bc19d
Create section for 2.4a3; remove empty sections in 2.4a2
2004-08-07 14:03:33 +00:00
Andrew M. Kuchling
78d375fb86
Another typo
2004-08-07 14:00:39 +00:00
Andrew M. Kuchling
28025ecda4
Typo fix
2004-08-07 13:59:22 +00:00
Andrew M. Kuchling
e30c4d4ddc
Add recent items
2004-08-07 13:58:02 +00:00
Andrew M. Kuchling
38dc2a6bf7
Simplify language
2004-08-07 13:24:12 +00:00
Andrew M. Kuchling
ac6428756a
Add string concat item
2004-08-07 13:13:31 +00:00
Raymond Hettinger
654fcd531e
Exercise DocTestSuite's search for __test__.
2004-08-07 06:15:12 +00:00
Tim Peters
d1b7827216
Whitespace normalization.
2004-08-07 06:03:09 +00:00
Tim Peters
1e277ee3bd
Bug 772091: doctest.DocTestSuite does not support __test__
...
This got fixed "by magic" as part of the refactoring, but wasn't tested
as such. Now it is.
2004-08-07 05:37:52 +00:00
Raymond Hettinger
2a7dedef9e
SF bug #1004669 : Type returned from .keys() is not checked
2004-08-07 04:55:30 +00:00
Raymond Hettinger
61992efc4b
SF bug #1002530 : test_decimal fails if repeated
...
* Protect the pre-defined contexts by using a deepcopy() instead of copy().
* Micro-optimization: prefer x&1 over x%2
2004-08-06 23:42:16 +00:00
Tim Peters
19397e5ec5
Merging from tim-doctest-branch, which is now closed.
...
This primarily adds more powerful ways to work with unittest, including
spiffy support for building suites out of doctests in non-Python
"text files".
2004-08-06 22:02:59 +00:00
Raymond Hettinger
98bd1814e2
SF bug #1004088 : big code objects (>64K) may be optimized incorrectly
...
Will backport.
2004-08-06 19:46:34 +00:00
Andrew M. Kuchling
ba59be04fa
Bump version
2004-08-06 18:55:48 +00:00
Andrew M. Kuchling
34ed2b020a
Typo fix; use 'in-place' instead of 'inplace'
2004-08-06 18:55:09 +00:00
Raymond Hettinger
52a21b8e65
SF patch #980695 : efficient string concatenation
...
(Original patch by Armin Rigo).
2004-08-06 18:43:09 +00:00
Brett Cannon
d09d9664e6
Changes the remote address used for tests in TimeoutTestCase from google.com to
...
python.org . This way the delay should be great enough for
testConnectTimeout() to pass even when one has a really fast Net connection
that allows connections faster than .001 seconds.
2004-08-06 04:30:46 +00:00
Fred Drake
3f5c654deb
fix markup nit, typo
2004-08-06 03:34:20 +00:00
Fred Drake
6bd8e842e4
update to reflect the new significance of the "@" character
2004-08-05 21:11:27 +00:00
Marc-André Lemburg
c759f070ef
Added new codecs and aliases for ISO_8859-11, ISO_8859-16 and
...
TIS-620.
Closes SF bug #1001895 : Adding missing ISO 8859 codecs, especially Thai.
2004-08-05 12:43:30 +00:00
Phillip J. Eby
1884dda233
Warn that settrace() is implementation rather than language
...
definition, per Guido's request in off-list email.
2004-08-05 12:13:46 +00:00
cvs2svn
cf6fc7906d
This commit was manufactured by cvs2svn to create tag 'r24a2'.
2004-08-05 07:21:01 +00:00
Anthony Baxter
ff347cadc4
release date
2004-08-05 07:21:01 +00:00
Matthias Klose
4c8fa42aca
Doc/lib/libfuncs.tex: correct items in itemize
...
Doc/dist/dist.tex: avoid uncommenting the verbose environment (by the py2texi tool)
2004-08-04 23:18:49 +00:00
Fred Drake
283b670f6b
add constants for many error values added over the past couple of
...
years
2004-08-04 22:28:16 +00:00
Tim Peters
9b625d3037
Example.__init__: this cannot use assert, because that fails to trigger
...
in a -O run, and so test_doctest was failing under -O. Simple cause,
simple cure.
2004-08-04 20:04:32 +00:00
Tim Peters
8485b56216
Edward Loper's cool and massive refactoring of doctest.py, merged from
...
the tim-doctest-merge-24a2 tag on the the tim-doctest-branch branch.
We did development on the branch in case it wouldn't land in time for
2.4a2, but the branch looked good: Edward's tests passed there, ditto
Python's tests, and ditto the Zope3 tests. Together, those hit doctest
heavily.
2004-08-04 18:46:34 +00:00
Hye-Shik Chang
c81c695dc9
Add a proper pointer to SF bug item.
2004-08-04 17:40:38 +00:00
Hye-Shik Chang
7df44b384a
SF #941229 : Decode source code with sys.stdin.encoding in interactive
...
modes like non-interactive modes. This allows for non-latin-1 users
to write unicode strings directly and sets Japanese users free from
weird manual escaping <wink> in shift_jis environments.
(Reviewed by Martin v. Loewis)
2004-08-04 17:36:41 +00:00
Michael W. Hudson
5910d81c97
Add a missing decref -- PyErr_SetObject increfs the 'object'!
2004-08-04 14:59:00 +00:00
Michael W. Hudson
7d6cc5b303
Fix a leak of a reference on None.
2004-08-04 14:33:28 +00:00