Raymond Hettinger
c75c3e0392
SF patch #791153 : inconsistency with implementation(logging)
...
(Contributed by George Yoshida.)
2003-09-01 22:50:52 +00:00
Raymond Hettinger
ec99b5fbfa
SF patch #798534 : Windows os.popen needlessly gets a reference to tuple ()
...
(Contributed by Andrew Gaul.)
Fixes a minor leak.
2003-09-01 22:34:31 +00:00
Raymond Hettinger
b5cb66542d
SF patch #798534 : Windows os.popen needlessly gets a reference to tuple ()
...
(Contributed by Andrew Gaul.)
Fixes a minor leak.
2003-09-01 22:25:41 +00:00
Raymond Hettinger
14cc1e3222
SF patch #798467 : Update docstring of has_key for bool changes
...
(Contributed by George Yoshida.)
2003-09-01 22:17:18 +00:00
Raymond Hettinger
574aa32578
SF patch #798467 : Update docstring of has_key for bool changes
...
(Contributed by George Yoshida.)
2003-09-01 22:12:08 +00:00
Raymond Hettinger
6f6d7b93bc
SF bug #797853 : Small problems with the csv module's documentation
2003-08-31 05:44:54 +00:00
Raymond Hettinger
2f3e5483a3
SF bug #732120:An extended definition of "non-overlapping" would save time.
...
Clarified the meaning of non-overlapping in patterns with zero length
matches.
2003-08-31 05:29:02 +00:00
Raymond Hettinger
0a6aa28681
SF patch #797157 : Bug 794658: os.chmod docs, stat constants
...
(Contributed by Christos Georgiou.)
Reference the symbol definitions in the stat module.
2003-08-31 05:09:52 +00:00
Raymond Hettinger
6d362b25c5
SF bug #785222 : zlib monotonic test
...
For smaller datasets, it is not always true the increasing the compression
level always results in better compression. Removed the test which made
this invalid assumption.
2003-08-31 04:35:24 +00:00
Raymond Hettinger
9d12ab5c3c
Fix long option markup.
2003-08-31 04:20:12 +00:00
Raymond Hettinger
0970dbab97
Remove 'e.g.' from error message
2003-08-30 23:57:36 +00:00
Raymond Hettinger
8170200ce2
SF patch #797180 : Bug 792656: slicing explained
2003-08-30 23:31:31 +00:00
Raymond Hettinger
57d71289a1
SF patch #797868 : Tutorial, sec. 5.1.4 could contain an extra example
...
(Revised from the original patch contributed by Michal Pasternak.)
Also, make a couple minor fixups elsewhere.
2003-08-30 23:21:32 +00:00
Raymond Hettinger
f9f4c6945e
SF patch #736962 : Port tests to unittest
...
(Contributed by Walter Dörwald).
* Convert three test modules to unittest format.
* Expanded coverage in test_structseq.py.
* Raymond added a new test in test_sets.py
2003-08-30 22:54:55 +00:00
Raymond Hettinger
c11dbcd4bf
SF bug 797650: Infinite loop in textwrap.py
...
When the indents were set to longer than the width and long word breaking
was enabled, an infinite loop would result because the inner loop did not
assure that at least one character was stripped off on every pass.
2003-08-30 14:43:55 +00:00
Raymond Hettinger
6229713221
Eliminate unnecessary eval() in tests
2003-08-30 01:24:19 +00:00
Raymond Hettinger
4f01f89b8c
For safety, replace a tuple entry before decreffing it.
2003-08-30 00:10:06 +00:00
Raymond Hettinger
a56f6b6600
SF bug #793826 : using itertools.izip to mutate tuples
...
Avoid Armin Rigo's dastardly exercise in re-entrancy.
2003-08-29 23:09:58 +00:00
Andrew M. Kuchling
b738041c5d
Rework previous fix slightly; the &0x20 test seems useless, and the isprint() check mustn't prevent the meta-bit check at the end
2003-08-29 18:50:59 +00:00
Andrew M. Kuchling
e8792c1f65
Add tests for meta- bit set
2003-08-29 18:49:05 +00:00
Andrew M. Kuchling
72cdb70296
[Bug #790356 ] unctrl() doesn't work for full printable charset. Fix by Dave Cinege.
2003-08-29 18:40:03 +00:00
Andrew M. Kuchling
e752e20605
Add simple unit test for ascii.unctrl() function
2003-08-29 18:37:37 +00:00
Andrew M. Kuchling
ff638ea6db
[Bug #776542 ] open_https() generates a bad Authorization header because it calls .putheader() wrongly. Reported by Steffen Ries.
2003-08-29 18:12:23 +00:00
Andrew M. Kuchling
77ad829261
[Bug #780231 ] One of the changes described in the 2.3 "What's New" document
...
actually occurred in 2.2. Move the description to whatsnew22.tex.
[Bugfix candidate -- I'll backport to 2.3 (another 2.2 bugfix seems unlikely)
2003-08-29 17:49:26 +00:00
Fred Drake
9e78d1e1e5
fix minor syntactic faux pas
2003-08-29 04:09:26 +00:00
Brett Cannon
953c6f508b
Make sure parentheses are escaped when used in the format string.
...
Closes bug #796149 . Will be backported.
2003-08-29 02:28:54 +00:00
Gregory P. Smith
6676f6edc1
Support DBEnv.set_shm_key() to allow multi-threaded multi-process
...
database environments to use shared memory on systems supporting it.
2003-08-28 21:50:30 +00:00
Jeremy Hylton
376e63d5cd
Fix for SF bug [ 784075 ] Fatal Python error: unknown scope
...
Make sure the inner function is not compiled when there is a syntax
error in the default arguments.
2003-08-28 14:42:14 +00:00
Jeremy Hylton
ead21f596c
Fix SF bug [ 788011 ] compiler.compileFile fails on csv.py
...
Bug fix candidate.
2003-08-28 02:09:26 +00:00
Thomas Heller
4651f53949
Fix typo in docstring: The switch is '-x', not '-s'.
...
Will backport to 2.3 myself.
2003-08-27 20:19:35 +00:00
Fred Drake
4f4dbef2ca
remove extra word occurance; reported to webmaster
2003-08-27 15:11:40 +00:00
Thomas Heller
611dbc338e
Remove a typo. (Or is this some markup I don't understand? ;-)
2003-08-27 10:48:12 +00:00
Raymond Hettinger
9bfe533c69
SF bug #795506 : Wrong handling of string format code for float values.
...
Adding missing support for '%F'.
Will backport to 2.3.1.
2003-08-27 04:55:52 +00:00
Jason Tishler
063606a0d5
test_largefile can leave its temp file open if one of many tests fail. On
...
platforms (e.g., Cygwin) that are "particular" about open files, this will
cause other regression tests that use the same temp file to fail:
$ ./python.exe -E -tt Lib/test/regrtest.py -l
test_largefile test_mmap test_mutants
test_largefile
test test_largefile failed -- got -1794967295L, but expected 2500000001L
test_mmap
test test_mmap crashed -- exceptions.IOError: [Errno 13] Permission denied: '@test'
test_mutants
test test_mutants crashed -- exceptions.IOError: [Errno 13] Permission denied: '@test'
This patch solves the problem by adding missing "try/finally" blocks. Note
that the "large" size of this patch is due to many white space changes --
otherwise, the patch is small.
I tested this patch under Red Hat Linux 8.0 too.
2003-08-26 11:59:27 +00:00
Raymond Hettinger
9e3864190c
Make the derived tools amendable to cut and paste.
2003-08-25 05:06:09 +00:00
Raymond Hettinger
9bd308f67b
Fix doubled word typos.
2003-08-25 04:43:53 +00:00
Raymond Hettinger
e41d4c8ec9
Added doubled word warnings.
2003-08-25 04:39:55 +00:00
Raymond Hettinger
999b57c872
Fix double word typos.
2003-08-25 04:28:05 +00:00
Raymond Hettinger
9ac25ec025
SF bug #793702 : Section 13.1 HTMLParser documentation error
...
The -- is special to TeX and was printing as just -.
2003-08-25 03:31:28 +00:00
Raymond Hettinger
c2a5cb2327
Fix typo.
...
Thou shalt not count to two unless proceeding to the number three.
2003-08-23 03:49:08 +00:00
Raymond Hettinger
f4bb1f946e
Fix typo.
2003-08-23 03:38:11 +00:00
Greg Ward
4892381207
Fix a loooong-standing brainfart: I got the site-packages path for
...
Python 1.5.2 wrong in the section on config files.
2003-08-23 02:09:18 +00:00
Thomas Heller
46a007ee95
Build the bzip2.lib as a custom pre-link step in MSVC.
2003-08-20 18:27:36 +00:00
Thomas Heller
2258227abc
Opening the WISE script changes a few items:
...
I have a different WISE version, and it's installed in a different directory.
My sytem directory is somewhere else.
2003-08-20 17:27:42 +00:00
Barry Warsaw
463c5a868f
Update get_param() description to reflect changes to the docstring.
2003-08-19 04:26:59 +00:00
Barry Warsaw
c86c24e44d
Bump the version number for the standalone mimelib package.
2003-08-19 04:05:25 +00:00
Barry Warsaw
d24a2a464f
Describe the fix to the email package.
2003-08-19 03:59:09 +00:00
Barry Warsaw
622d60b5a2
test_rfc2231_no_language_or_charset_in_filename(),
...
test_rfc2231_no_language_or_charset_in_boundary(),
test_rfc2231_no_language_or_charset_in_charset(): New tests for proper
decoding of some RFC 2231 headers.
Backport candidate (as was the Utils.py 1.25 change) to both Python
2.3.1 and 2.2.4 -- will do momentarily.
2003-08-19 03:54:24 +00:00
Barry Warsaw
6208369ff3
get_param(): Update the docstring to explain how CHARSET and LANGUAGE
...
can be None, and what to do in that situation.
get_filename(), get_boundary(), get_content_charset(): Make sure these
handle RFC 2231 headers without a CHARSET field.
Backport candidate (as was the Utils.py 1.25 change) to both Python
2.3.1 and 2.2.4 -- will do momentarily.
2003-08-19 03:53:02 +00:00
Barry Warsaw
0b6f0d8810
decode_rfc2231(): We need to urllib.unquote() the value even if the
...
charset and language fields are not present, e.g. as in:
title*0="This%20is%20encoded"
2003-08-19 03:49:34 +00:00