| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
|
|
| |
the python 2.3.x branch as the bsddb.set_get_returns_none() default
behaviour is different than on 2.4 and leter. (yes a correct test
case for this branch could be written; removing this bad test gets
things not-failing fastest)
|
| |
|
|
|
| |
msg_40.txt because msg_3[6-9].txt are already used in email3/py2.4 and I'm
going to forward port this test.
|
| | |
|
| |
|
|
|
|
|
|
| |
'multipart' and the boundary is defined. This fixes SF bug # 846938, and
several recent email-sig bugs where something like a text/html message also
had a boundary parameter. This would later crash the Generator, which only
consulted the Content-Type to decide how to generate the message (and it would
expect just a string, but find a list there instead).
|
| | |
|
| | |
|
| |
|
|
|
| |
wrap() method. Premature optimization is indeed the root of all evil.
Whitespace fix.
|
| |
|
|
|
|
|
|
|
|
| |
endings get fixed even if the input is too short to wrap. Also throw
in a bunch of other tests for this rather tricky and under-tested
feature.
In WrapTestCase.setUp(), don't bother setting fix_sentence_endings=True
for self.wrapper -- just use a separate wrapper in the two tests that
care about it, namely test_whitespace() and test_fix_sentence_endings().
|
| | |
|
| |
|
|
| |
(closes SF patch #870287)
|
| | |
|
| |
|
|
| |
implemented in patch [ 851736 ].
|
| | |
|
| |
|
|
| |
documented semantics.
|
| |
|
|
|
| |
Both cycle() and chain() were handling exceptions only when switching
input sources. The patch makes the handle more immediate.
|
| | |
|
| | |
|
| |
|
|
| |
(closes SF bug #881707)
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
1.12
Added more Windows version names (thanks to Thomas Heller).
Fixed bug in platform() cache (thanks to Brett Cannon).
1.10,1.11
Fixed a caching bug in platform.platform() where the argument of 'terse' was
not taken into consideration when caching value.
|
| | |
|
| |
|
|
| |
Fixes http://bugs.debian.org/229885
|
| |
|
|
|
| |
a string or unicode object in sre.compile() when a different type
pattern with the same value exists.
|
| |
|
|
|
| |
a string or unicode object in sre.compile() when a different type
pattern with the same value exists.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
When loading the Python dll to run the postinstall script, try to load
it from the install directory (as reported by the registry) in case it
is not found on the default Loadlibrary search path.
Fixes SF 935091: bdist_winist post-install script fails on non-admin Python
Will port to the trunk later.
|
| |
|
|
|
|
|
|
|
|
| |
Fixes for AF_UNIX support on OS/2:
- return the full size of the sockaddr_un structure, without which
bind() fails with EINVAL;
- set test_socketserver to use a socket name that meets the form
required by the underlying implementation;
- don't bother exercising the forking AF_UNIX tests on EMX - its
fork() can't handle the stress.
|
| |
|
|
|
|
|
|
| |
OS/2 has support for spawnvp() and spawnvpe() in the C libraries supplied
with major C compilers (VACPP, EMX+gcc and [Open]Watcom).
Also tidy up the export of spawn*() symbols in the os module to match what
is found/implemented.
|
| |
|
|
|
|
|
|
|
| |
If a file is opened with an explicit buffer size >= 1, repeated
close() calls would attempt to free() the buffer already free()ed on
the first close(). [bug introduced with patch #788249]
Making sure that the buffer is free()ed in file object deallocation is
a belt-n-braces bit of insurance against a memory leak.
|
| |
|
|
|
|
| |
as directly setting the .prog attribute (which should be supported based on
the class docstring).
Closes SF bug #850964.
|
| |
|
|
|
| |
The fix adds a get_source_files() method to the build_scripts command
and adds the result to the default manifest list.
|
| |
|
|
|
|
| |
When /tmp has certain sticky bits set, newly created subdirectories
inherit those bits, causing the test_mkdtemp.test_mode() test to fail.
Remove those before comparing the actual mode to the expected mode.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
which use the Space key. Limit unmodified user keybindings to the
function keys.
Python Bug 775353, IDLEfork Bugs 755647, 761557
Improve error handling during startup if there's no Tkinter.
M NEWS.txt
M PyShell.py
M config-keys.def
M configHandler.py
M keybindingDialog.py
|
| |
|
|
| |
Bumped up micro version number.
|
| |
|
|
| |
not taken into consideration when caching value.
|
| |
|
|
| |
(Backport to 2.3 maintenance branch)
|
| | |
|
| |
|
|
|
| |
might be mistaken for regex syntax.
Fixes bug #883604 .
|
| |
|
|
|
|
| |
Fix for SF 777848.
I've been bitten by this myself in the past half year.
I hope this fix is right.
|
| |
|
|
|
|
| |
is a tuple nested to a depth beyond the interpreter's recursion limit to
prevent a segfault from blowing the C stack.
Fixes bug #858016 .
|
| |
|
|
|
| |
a .pth file.
Fixes bug #700055 .
|
| |
|
|
|
|
|
| |
standard library:
str() of xml.sax.SAXParseException should not fail if the line and/or
column number returned by the locator are None
(tests added)
|
| |
|
|
| |
free() on something it did not allocate for non B-Tree based databases.
|
| |
|
|
|
|
| |
Port test_binascii.py to PyUnit and enhance tests.
Code coverage for binascii.c is at 92%.
From SF patch #736962.
|
| |
|
|
| |
(Contributed by George Yoshida.)
|
| |
|
|
|
|
|
|
| |
Started on version 0.4: better scheme for finding correct database:
- Try not only "darwin-7.X.Y" but also "darwin-7.X" and "darwin-7",
so far we've never had to create anew database for a minor release.
- Distinguish between the various different installs (user-installed
MacPython, apple-installed MacPython, other).
|