| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
variable. This crushes another memory leak. Slight rewrite
included.
|
|
|
|
| |
font-locking. This complets the merge with Mailman's version.
|
|
|
|
|
|
|
| |
(the PYTHONHOMEHELP define)
- ANSI-fication
(patch #100794 by Peter Schneider-Kamp)
|
|
|
|
| |
(patch #100805 by Peter Schneider-Kamp)
|
|
|
|
|
|
|
| |
uses the BrowserControl module.
BrowserControl is not removed to allow IDLE to be distributed separately
and still be used with Python 1.5.2.
|
|
|
|
|
|
|
|
|
|
|
|
| |
windows.
- added optional mode argument to popen2/popen3
for unix; if the second argument is an integer,
it's assumed to be the buffer size.
- changed nt.popen2/popen3/popen4 return values
to match the popen2 module (stdout first, not
stdin).
|
|
|
|
|
| |
for the moment, this argument must be left out or set
to -1 (only the default bufsize is supported, that is)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
function is overridden by a python version which accepts
*either* a string (old behaviour) or a locale tuple.
- renamed a few methods (for consistency):
get_locale => getlocale
get_default_locale => getdefaultlocale
set_to_default => resetlocale (!)
- the _locale implementation module can now implement
an optional _getdefaultlocale function. if that function
isn't available, a POSIX-based approach is used (checking
LANG and other environment variables, as usual).
(patch #100765)
|
|
|
|
| |
more information.
|
|
|
|
| |
mailbox.py: Convert to 4-space indents.
|
| |
|
| |
|
| |
|
|
|
|
| |
(patch #100784 by Peter Schneider-Kamp)
|
|
|
|
| |
(patch #100770 by Peter Schneider-Kamp)
|
|
|
|
| |
Mention the ANSIfication of the source.
|
|
|
|
|
|
|
| |
by Bill Tutt.
note: to run this on Windows 95/98, you need to have the
w9xpopen.exe helper in the same directory as the python DLL.
|
|
|
|
|
| |
The actual test for it is only commented out in configure.in, so it can
be re-enabled if we ever run across the need for it again.
|
| |
|
|
|
|
| |
and substitute the conventional "args" instead of "arg".
|
|
|
|
| |
the standard for Python implementation.
|
|
|
|
|
|
|
|
|
|
| |
just for the sake of it.
note that this only covers the unlikely case that size_t
is smaller than a long; it's probably more likely that
there are platforms out there where size_t is *larger*
than a long, and mmapmodule cannot really deal with that
today.
|
|
|
|
|
|
|
| |
cast to make sure Py_BuildValue gets the right thing.
this change eliminates bogus return codes from successful
spawn calls (e.g. 2167387144924954624 instead of 0).
|
|
|
|
|
|
| |
this should be built as a console application (link with
USER32.LIB), and installed in the same directory as the
Python DLL.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
was cascades of warnings about mismatching const decls. Overall,
I think const creates lots of headaches and solves almost
nothing. Added enough consts to shut up the warnings, but
this did require casting away const in one spot too (another
usual outcome of starting down this path): the function
mymemreplace can't return const char*, but sometimes wants to
return its first argument as-is, which latter must be declared
const char* in order to avoid const warnings at mymemreplace's
call sites. So, in the case the function wants to return the
first arg, that arg's declared constness must be subverted.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
the standard for Python implementation.
|
| |
|
|
|
|
|
|
|
|
| |
`break's. This first missing break caused a memory leak when case 3
fell through case 2 in the following example:
import os
os.chmod('/missing', 0600)
|
| |
|
| |
|
|
|
|
| |
Make the indentation and brace placement internally consistent.
|
| |
|
| |
|
| |
|
|
|
|
| |
legit warnings).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
staring at the diffs before checking this one in. let me know
asap if it breaks things on your platform.
-- ANSI-fying
(patch #100763 by Peter Schneider-Kamp, minus the
indentation changes and minus the changes the broke
the windows build)
|
|
|
|
|
|
|
| |
(patch #100762 by Peter Schneider-Kamp, minus the
indentation changes)
-- added INT_PTR workaround to make it build under VC 5.0
|
|
|
|
| |
bill's more complete solution.
|
|
|
|
| |
- some more spacification...
|
|
|
|
| |
- ansified, reindentified, spacified, nullified
|
|
|
|
|
|
|
|
| |
Barry Scott). it appears to solve the problem on NT
and 2000, but not on Windows 95.
in other words, it's better than before, but not per-
fect. I'll leave the patch open for now.
|
|
|
|
|
| |
strings, instead of the default encoding.
(see "minidom" thread for discussion, and also patch #100706)
|
| |
|