- 30 Nov, 2001 2 commits
-
-
Tim Peters authored
-
Fred Drake authored
This closes SF bug #458447.
-
- 29 Nov, 2001 12 commits
-
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
result object changes.
-
Fred Drake authored
-
Fred Drake authored
This closes SF bug #487147.
-
Martin v. Löwis authored
-
Fred Drake authored
with some extensions and changes from me. This closes SF patch #472825.
-
Fred Drake authored
function. This closes SF bug #486657.
-
Fred Drake authored
This is related to SF bug #485165.
-
Fred Drake authored
- Change PREFIX to PREFIXES, which contains a sequence of prefix strings. This is useful since we want to look for both Py and PY. - Wrap a long line. - Collect struct tags as well as typedef names. Since we generally only use one of the other, that improves coverage. - Make the script executable on Unix. This could use a better approach to determine if a symbol is documented, and could easily avoid keeping the massive string in memory. That would take time to actually write more code, though, so we'll bail on that for now.
-
Tim Peters authored
vgetargskeywords(): Now that this routine is checking for bad input (rather than dump core in some cases), some bad calls are raising errors that previously "worked". This patch makes the error strings more revealing, and changes the exceptions from SystemError to RuntimeError (under the theory that SystemError is more of a "can't happen!" assert- like thing, and so inappropriate for bad arguments to a public C API function).
-
Guido van Rossum authored
fixes the problem reported in SF bug #477023 (Jonathan Mark): "pdb: unexpected path confuses Emacs".
-
- 28 Nov, 2001 26 commits
-
-
Tim Peters authored
ZipFile.__del__(): call ZipFile.close(), like its docstring says it does. ZipFile.close(): allow calling more than once (as all file-like objects in Python should support).
-
Tim Peters authored
pass the buffer length. Stop using it. It should be deprecated, but too late in the release cycle to do that now. New static format_float() does the same thing but requires passing the buffer length too. Use it instead.
-
Jeremy Hylton authored
Also change all the helper functions to pass along the size of the msgbuf and use PyOS_snprintf() when writing into the buffer.
-
Tim Peters authored
const char* instead of char*. The change is conceptually correct, and indirectly fixes a compiler wng introduced when somebody else innocently passed a const char* to this function.
-
Tim Peters authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
seterror() uses a char array and a pointer to the current position in that array. Use snprintf() and compute the amount of space left in the buffer based on the current pointer position.
-
Jeremy Hylton authored
If it returns -1 (which indicates overflow on old Linux platforms and perhaps on Windows) or size greater than buffer, write a message indicating that the previous message was truncated.
-
Barry Warsaw authored
overrun avoidance.
-
Barry Warsaw authored
overrun avoidance.
-
Barry Warsaw authored
redefinition problem.
-
Jeremy Hylton authored
Also reformat calculate_path() using the standard format.
-
Barry Warsaw authored
com_arglist(), symtable_check_unoptimized(), symtable_params(), symtable_global(), symtable_list_comprehension(): Conversion of sprintf() to PyOS_snprintf() for buffer overrun avoidance.
-
Barry Warsaw authored
buffer overrun avoidance.
-
Barry Warsaw authored
PyOS_snprintf() for buffer overrun avoidance.
-
Barry Warsaw authored
PyOS_snprintf() for buffer overrun avoidance.
-
Barry Warsaw authored
for buffer overrun avoidance.
-
Barry Warsaw authored
overrun avoidance.
-
Barry Warsaw authored
sprintf() to PyOS_snprintf() for buffer overrun avoidance.
-
Barry Warsaw authored
buffer overrun avoidance.
-
Barry Warsaw authored
sprintf() to PyOS_snprintf() for buffer overrun avoidance. complex_print(), complex_repr(), complex_str(): Call complex_to_buf() passing in sizeof(buf).
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Also replace a switch statement with one case and a default to an if/else.
-
Tim Peters authored
-
Jeremy Hylton authored
-
Tim Peters authored
Also changed <>-style #includes to ""-style in some places where the former didn't make sense.
-