- 09 Tem, 2000 22 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
and substitute the conventional "args" instead of "arg".
-
Fred Drake yazdı
the standard for Python implementation.
-
Fredrik Lundh yazdı
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.
-
Fredrik Lundh yazdı
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).
-
Fredrik Lundh yazdı
this should be built as a console application (link with USER32.LIB), and installed in the same directory as the Python DLL.
-
Tim Peters yazdı
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.
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
the standard for Python implementation.
-
Fred Drake yazdı
-
Barry Warsaw yazdı
`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)
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
Make the indentation and brace placement internally consistent.
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
legit warnings).
-
Fred Drake yazdı
-
Fred Drake yazdı
-
- 08 Tem, 2000 18 kayıt (commit)
-
-
Fred Drake yazdı
-
Fredrik Lundh yazdı
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)
-
Fredrik Lundh yazdı
(patch #100762 by Peter Schneider-Kamp, minus the indentation changes) -- added INT_PTR workaround to make it build under VC 5.0
-
Fredrik Lundh yazdı
bill's more complete solution.
-
Fredrik Lundh yazdı
- some more spacification...
-
Fredrik Lundh yazdı
- ansified, reindentified, spacified, nullified
-
Fredrik Lundh yazdı
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.
-
Fredrik Lundh yazdı
strings, instead of the default encoding. (see "minidom" thread for discussion, and also patch #100706)
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
Use PyArg_ParseTuple() to get better error messages. Add docstrings all around.
-
Skip Montanaro yazdı
-
Andrew M. Kuchling yazdı
Fix some incorrect module names
-
Skip Montanaro yazdı
-
Fred Drake yazdı
Converted to PyArg_ParseTuple() with method names to get better error messages.
-
Fred Drake yazdı
-
Fred Drake yazdı
Convert to four-space indents.
-
Fred Drake yazdı
Clarify some of the details of readline-related configuration.
-