Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added two new conversion specifications. | Fred Drake | 2001-11-30 | 1 | -0/+7 |
| | |||||
* | Change the chapter title to reflect the Tk affinity. | Fred Drake | 2001-11-30 | 1 | -5/+5 |
| | | | | | Use the new seealso* environment in the section pointing out other GUI toolkits. | ||||
* | Add a new environment in the Python docs markup: seealso*. This is similar | Fred Drake | 2001-11-30 | 3 | -11/+41 |
| | | | | | | | | to seealso, but does not add the "See also:" header or put the content in a box in the HTML version. Updated the description of \seeurl to better indicate when it should be used; the old description was written before we had \seetitle. | ||||
* | Minor adjustments to markup for the getDOMImplementation() description. | Fred Drake | 2001-11-30 | 1 | -10/+13 |
| | |||||
* | Added the convenience constants that are present in PyXML to make these | Fred Drake | 2001-11-30 | 2 | -0/+41 |
| | | | | more similar. | ||||
* | Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the | Jack Jansen | 2001-11-30 | 53 | -300/+1815 |
| | | | | changes from start of branch upto r22b2 were already merged, of course). | ||||
* | unicodedata_decomposition(): sprintf -> PyOS_snprintf. | Tim Peters | 2001-11-30 | 1 | -2/+4 |
| | |||||
* | Updated documentation for the new httplib interface, by Kalle Svensson. | Fred Drake | 2001-11-30 | 2 | -79/+140 |
| | | | | This closes SF bug #458447. | ||||
* | Update the signature of PyFile_WriteString(). | Fred Drake | 2001-11-29 | 2 | -2/+2 |
| | |||||
* | More information about Tix support, contributed by Mike Clarkson. | Fred Drake | 2001-11-29 | 1 | -0/+101 |
| | |||||
* | Various cleanups & markup fixes, mostly relating to the stat and statvfs | Fred Drake | 2001-11-29 | 1 | -38/+77 |
| | | | | result object changes. | ||||
* | Neil Schemenauer suggested a small improvement to one of the example REs. | Fred Drake | 2001-11-29 | 1 | -1/+1 |
| | |||||
* | writeline() --> writelines() | Fred Drake | 2001-11-29 | 1 | -1/+1 |
| | | | | This closes SF bug #487147. | ||||
* | Use identity instead of equality when looking for referrers. Fixes #485781. | Martin v. Löwis | 2001-11-29 | 1 | -3/+4 |
| | |||||
* | New section of regular expression examples contributed by Skip Montanaro, | Fred Drake | 2001-11-29 | 1 | -0/+56 |
| | | | | | with some extensions and changes from me. This closes SF patch #472825. | ||||
* | Clarify the description of the creation of an owned reference from an API | Fred Drake | 2001-11-29 | 1 | -5/+5 |
| | | | | | function. This closes SF bug #486657. | ||||
* | Add an index entry for the discussion of PyEval_CallObject(). | Fred Drake | 2001-11-29 | 1 | -8/+9 |
| | | | | This is related to SF bug #485165. | ||||
* | A few small changes: | Fred Drake | 2001-11-29 | 1 | -8/+17 |
| | | | | | | | | | | | | | | - 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. | ||||
* | SF bug 486278 SystemError: Python/getargs.c:1086: bad. | Tim Peters | 2001-11-29 | 2 | -8/+18 |
| | | | | | | | | | | 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). | ||||
* | canonic(): don't use abspath() for filenames looking like <...>; this | Guido van Rossum | 2001-11-29 | 1 | -0/+2 |
| | | | | | fixes the problem reported in SF bug #477023 (Jonathan Mark): "pdb: unexpected path confuses Emacs". | ||||
* | SF bug 486480: zipfile __del__ is broken | Tim Peters | 2001-11-28 | 1 | -3/+3 |
| | | | | | | 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). | ||||
* | PyFloat_AsStringEx(): This function takes an output char* but doesn't | Tim Peters | 2001-11-28 | 1 | -8/+24 |
| | | | | | | | 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. | ||||
* | Two screwups fixed for sizeof(char *) instead of sizeof(char []). | Jeremy Hylton | 2001-11-28 | 1 | -77/+82 |
| | | | | | Also change all the helper functions to pass along the size of the msgbuf and use PyOS_snprintf() when writing into the buffer. | ||||
* | PyFile_WriteString(): change prototype so that the string arg is | Tim Peters | 2001-11-28 | 2 | -2/+2 |
| | | | | | | 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. | ||||
* | More sprintf -> PyOS_snprintf. | Tim Peters | 2001-11-28 | 5 | -9/+14 |
| | |||||
* | Use PyOS_snprintf() instead of sprintf(). | Jeremy Hylton | 2001-11-28 | 1 | -4/+4 |
| | |||||
* | Use PyOS_snprintf() at some cost even though it was correct before. | Jeremy Hylton | 2001-11-28 | 1 | -6/+7 |
| | | | | | | 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. | ||||
* | Use PyOS_vsnprintf() and check its return value. | Jeremy Hylton | 2001-11-28 | 1 | -2/+9 |
| | | | | | | 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. | ||||
* | ste_repr(): Conversion of sprintf() to PyOS_snprintf() for buffer | Barry Warsaw | 2001-11-28 | 1 | -4/+5 |
| | | | | overrun avoidance. | ||||
* | aix_loaderror(): Conversion of sprintf() to PyOS_snprintf() for buffer | Barry Warsaw | 2001-11-28 | 1 | -1/+1 |
| | | | | overrun avoidance. | ||||
* | Reverting last change so we don't have to think about the assert macro | Barry Warsaw | 2001-11-28 | 1 | -5/+4 |
| | | | | redefinition problem. | ||||
* | Use strncpy() instead of sprintf() in calculate_path(). | Jeremy Hylton | 2001-11-28 | 1 | -15/+19 |
| | | | | Also reformat calculate_path() using the standard format. | ||||
* | code_repr(), com_addop_varname(), com_list_comprehension(), | Barry Warsaw | 2001-11-28 | 1 | -32/+42 |
| | | | | | | | | com_arglist(), symtable_check_unoptimized(), symtable_params(), symtable_global(), symtable_list_comprehension(): Conversion of sprintf() to PyOS_snprintf() for buffer overrun avoidance. | ||||
* | PyGrammar_LabelRepr(): Conversion of sprintf() to PyOS_snprintf() for | Barry Warsaw | 2001-11-28 | 1 | -4/+5 |
| | | | | buffer overrun avoidance. | ||||
* | PyWin_FindRegisteredModule(): Conversion of sprintf() to | Barry Warsaw | 2001-11-28 | 1 | -3/+3 |
| | | | | PyOS_snprintf() for buffer overrun avoidance. | ||||
* | weakref_repr(), proxy_repr(): Conversion of sprintf() to | Barry Warsaw | 2001-11-28 | 1 | -8/+11 |
| | | | | PyOS_snprintf() for buffer overrun avoidance. | ||||
* | formatfloat(), formatint(): Conversion of sprintf() to PyOS_snprintf() | Barry Warsaw | 2001-11-28 | 1 | -4/+6 |
| | | | | for buffer overrun avoidance. | ||||
* | structseq_new(): Conversion of sprintf() to PyOS_snprintf() for buffer | Barry Warsaw | 2001-11-28 | 1 | -1/+2 |
| | | | | overrun avoidance. | ||||
* | PyInt_FromString(), int_repr(), int_oct(), int_hex(): Conversion of | Barry Warsaw | 2001-11-28 | 1 | -5/+7 |
| | | | | sprintf() to PyOS_snprintf() for buffer overrun avoidance. | ||||
* | PyFloat_FromString(): Conversion of sprintf() to PyOS_snprintf() for | Barry Warsaw | 2001-11-28 | 1 | -2/+4 |
| | | | | buffer overrun avoidance. | ||||
* | complex_to_buf(), complex_subtype_from_c_complex(): Conversion of | Barry Warsaw | 2001-11-28 | 1 | -8/+10 |
| | | | | | | | sprintf() to PyOS_snprintf() for buffer overrun avoidance. complex_print(), complex_repr(), complex_str(): Call complex_to_buf() passing in sizeof(buf). | ||||
* | Use PyOS_snprintf instead of sprintf. | Jeremy Hylton | 2001-11-28 | 13 | -39/+45 |
| | |||||
* | Use PyOS_snprintf instead of sprintf. | Jeremy Hylton | 2001-11-28 | 1 | -15/+18 |
| | | | | | Also replace a switch statement with one case and a default to an if/else. | ||||
* | Repair a botched PyOS_snprintf conversion. | Tim Peters | 2001-11-28 | 1 | -1/+1 |
| | |||||
* | Use PyOS_snprintf when possible. | Jeremy Hylton | 2001-11-28 | 1 | -34/+41 |
| | |||||
* | sprintf -> PyOS_snprintf in some "obviously safe" cases. | Tim Peters | 2001-11-28 | 15 | -42/+61 |
| | | | | | Also changed <>-style #includes to ""-style in some places where the former didn't make sense. | ||||
* | Use PyOS_snprintf instead of sprintf. | Jeremy Hylton | 2001-11-28 | 1 | -11/+11 |
| | | | | | Just being sure. The old code looks like it was safe, but there's no harm in double-checking. | ||||
* | Checking in Zooko's version per SF patch #476866, plus my changes to | Guido van Rossum | 2001-11-28 | 1 | -395/+429 |
| | | | | the usage docs: (a) align properly, (b) explain properly. | ||||
* | Removed preprocessor gimmick trying to force use of snprintf emulation | Tim Peters | 2001-11-28 | 1 | -8/+6 |
| | | | | before 2.2b1. | ||||
* | Fix SF bug [ #476852 ] Some bad macros in abstract.h | Jeremy Hylton | 2001-11-28 | 1 | -2/+2 |
| | | | | Change macros as requested by Guido |