| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
(Revised from the original patch contributed by Michal Pasternak.)
Also, make a couple minor fixups elsewhere.
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
Avoid Armin Rigo's dastardly exercise in re-entrancy.
|
|
|
|
| |
isprint() check mustn't prevent the meta-bit check at the end
|
| |
|
|
|
|
| |
Cinege.
|
| |
|
|
|
|
| |
calls .putheader() wrongly. Reported by Steffen Ries.
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
| |
Closes bug #796149 . Will be backported.
|
|
|
|
| |
database environments to use shared memory on systems supporting it.
|
|
|
|
|
| |
Make sure the inner function is not compiled when there is a syntax
error in the default arguments.
|
|
|
|
| |
Bug fix candidate.
|
|
|
|
| |
Will backport to 2.3 myself.
|
| |
|
| |
|
|
|
|
|
|
| |
Adding missing support for '%F'.
Will backport to 2.3.1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
The -- is special to TeX and was printing as just -.
|
|
|
|
| |
Thou shalt not count to two unless proceeding to the number three.
|
| |
|
|
|
|
| |
Python 1.5.2 wrong in the section on config files.
|
| |
|
|
|
|
|
| |
I have a different WISE version, and it's installed in a different directory.
My sytem directory is somewhere else.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
charset and language fields are not present, e.g. as in:
title*0="This%20is%20encoded"
|
|
|
|
|
|
|
| |
which is a disaster on Windows. Restored the binary default of all
previous releases. Also minor code cleanups.
Bugfix candidate!
|
|
|
|
|
|
| |
NULL pointer. (Detected by Michael Hudson, patch provided by Neal Norwitz).
Fix refcounting leak in filtertuple().
|
|
|
|
| |
Will backport to release23-maint.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Relaxed the argument restrictions for non-operator methods. They now
allow any iterable instead of requiring a set. This makes the module
a little easier to use and paves the way for an efficient C
implementation which can take better advantage of iterable arguments
while screening out immutables.
* Deprecated Set.update() because it now duplicates Set.union_update()
* Adapted the tests and docs to include the above changes.
* Added more test coverage including testing identities and checking
to make sure non-restartable generators work as arguments.
Will backport to Py2.3.1 so that the interface remains consistent
across versions. The deprecation of update() will be changed to
a FutureWarning.
|
|
|
|
| |
throughout the documentation.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Positive wording for the description of why < and > and = can all
be False.
* Move to a three column table format that puts long method names
side-by-side with their operator equivalents
* Mention that KeyError can be raised by Set.pop() and Set.remove().
* Minor tweaks to the examples.
Will backport as soon as Fred rebuilds the docs so I can confirm
the tables formatted properly
|
| |
|
|
|
|
| |
If opening a directory, the exception would leak.
|
|
|
|
|
|
| |
unchanged (and sys.gettotalrefcount() remains constant).
Fix a few typos.
|