- 16 May, 1998 2 commits
-
-
Guido van Rossum authored
Date: Fri, 20 Dec 1996 14:47:50 +0100 From: Lele Gaifax <lele@nautilus.eclipse.it> To: Python List <python-list@cwi.nl> Subject: Typos in ref manual Hi all, browsing the reference manual I noticed what seem two small errors: a) in the list of keywords (section 2.3.1) 'exec' is missing b) in the Operator Precedence table (5.12) the comparison operators include '=', but probably '==' was intended. Hope this help, lele.
-
Guido van Rossum authored
Adapt to new build conventions (get rid of Release directory).
-
- 15 May, 1998 15 commits
-
-
Guido van Rossum authored
Date: Thu, 14 Sep 1995 12:18:20 -0400 From: Alan Morse <alan@dvcorp.com> To: python-list@cwi.nl Subject: getargs bug in 1.2 and 1.3 BETA We have found a bug in the part of the getargs code that we added and submitted, and which was incorporated into 1.1. The parsing of "O?" format specifiers is not handled correctly; there is no "else" for the "if" and therefore it can never fail. What's worse, the advancing of the varargs pointer is not handled properly, so from then on it is out of sync, wreaking all sorts of havoc. (If it had failed properly, then the out-of-sync varargs would not have been an issue.) Below is the context diff for the change. Note that I have made a few stylistic changes beyond adding the else case, namely: 1) Making the "O" case follow the convention established by the other format specifiers of getting all their vararg arguments before performing the test, rather than getting some before and some after the test passes. 2) Making the logic of the tests parallel, so the "if" part indicates that the format is accepted and the "else" part indicates that the format has failed. They were inconsistent with each other and with the the other format specifiers. -Alan Morse (amorse@dvcorp.com)
-
Guido van Rossum authored
subdirectories. All final products go into the current directory (i.e., PCbuild). Object files go into temp-release and temp-debug. Debug versions of DLLs have _d appended to their basename, e.g. the debug version of python15.dll is python15_d.dll, the debug version of python.exe is python_d.exe, and the debug version of parser.pyd is parser_d.pyd. (See corresponding patch to importdl.c.) Uniformly changed all extension modules to use .pyd, not .dll.
-
Guido van Rossum authored
-
Guido van Rossum authored
commented-out CODE/DATA statements).
-
Fred Drake authored
a sibling of the html/ directory in the distribution.
-
Fred Drake authored
-
Fred Drake authored
Cleanup temporary files produced by latex2html in the output directory.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
support that's offered.
-
Fred Drake authored
-
Fred Drake authored
Manual; the old FrameMaker names no longer apply.
-
Fred Drake authored
still don't support things like \let^^M=\something, where ^^M could actually be any active character. Print a decent warning if we find one we can't handle.
-
Fred Drake authored
-
Fred Drake authored
synonyms for macros. This supports: \let\newname = \oldname \let\newname\oldname This is useful sometimes, and can at least avoid real errors at other times.
-
- 14 May, 1998 18 commits
-
-
Guido van Rossum authored
-
Fred Drake authored
-
Fred Drake authored
Ask Guido if you really want to know why. ;-)
-
Fred Drake authored
-
Fred Drake authored
execute bit.... problem discovered by Guido.
-
Fred Drake authored
Change the way TEXINPUTS gets defined to ensure that the directory containing the main document file comes before any other dir, to allow documents to have files that "override" like-named files elsewhere on the search path. Guido discovered we needed this.
-
Fred Drake authored
-
Guido van Rossum authored
-
Fred Drake authored
Bow to font lock.
-
Guido van Rossum authored
we have no .c source.
-
Guido van Rossum authored
-
Guido van Rossum authored
of error when sys.modules isn't there.
-
Guido van Rossum authored
-
Guido van Rossum authored
to the table of built-in modules. This should normally be called *before* Py_Initialize(). When the malloc() or realloc() call fails, -1 is returned and the existing table is unchanged. After a similar function by Just van Rossum. int PyImport_ExtendInittab(struct _inittab *newtab); int PyImport_AppendInittab(char *name, void (*initfunc)());
-
Guido van Rossum authored
-
Guido van Rossum authored
need to call PyErr_Clear() when it returns NULL.
-
Guido van Rossum authored
need to cxall PyErr_Clear() when it returns NULL.
-
Guido van Rossum authored
If the argument is not a dictionary, simply return NULL. If the hash() on the key fails, clear the error.
-
- 13 May, 1998 5 commits
-
-
Guido van Rossum authored
-
Jeremy Hylton authored
problem was a couple of bugs in the readline implementation. 1. Include the '\n' in the string returned by readline 2. Bug calculating new buffer size in _unread Also remove unncessary import of StringIO
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
To: python-list@cwi.nl Date: 13 May 98 18:33:11 GMT I think I found a bug in CGIHTTPServer.py. (Does anyone care? :-) I was trying to use it as the web server for uploading files. Python CGI scripts (using the CGI module) that worked for other servers (e.g., Netscape Enterprise server) hang when run from CGIHTTPServer. The problem is that the content type parameters, in particular the boundary parameter, were not passed through to the CGI scripts, thus making the MIME parsing code choke. My simple-minded fix is: % diff CGIHTTPServer.py /usr/local/lib/python1.5/CGIHTTPServer.py 137,140c136 < if self.headers.typeheader is None: < env['CONTENT_TYPE'] = self.headers.type < else: < env['CONTENT_TYPE'] = self.headers.typeheader --- > env['CONTENT_TYPE'] = self.headers.type Conrad
-