- 15 May, 1998 8 kayıt (commit)
-
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
support that's offered.
-
Fred Drake yazdı
-
Fred Drake yazdı
Manual; the old FrameMaker names no longer apply.
-
Fred Drake yazdı
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 yazdı
-
Fred Drake yazdı
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 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
Ask Guido if you really want to know why. ;-)
-
Fred Drake yazdı
-
Fred Drake yazdı
execute bit.... problem discovered by Guido.
-
Fred Drake yazdı
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 yazdı
-
Guido van Rossum yazdı
-
Fred Drake yazdı
Bow to font lock.
-
Guido van Rossum yazdı
we have no .c source.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
of error when sys.modules isn't there.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
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 yazdı
-
Guido van Rossum yazdı
need to call PyErr_Clear() when it returns NULL.
-
Guido van Rossum yazdı
need to cxall PyErr_Clear() when it returns NULL.
-
Guido van Rossum yazdı
If the argument is not a dictionary, simply return NULL. If the hash() on the key fails, clear the error.
-
- 13 May, 1998 5 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Jeremy Hylton yazdı
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 yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
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
-
- 12 May, 1998 9 kayıt (commit)
-
-
Guido van Rossum yazdı
also supports filenames with multiple spaces in their name :-)
-
Guido van Rossum yazdı
This patch must hold the world record for living in my inbox: From: John Ehresman <jehresma@dsg.harvard.edu> Date: Wed, 23 Aug 1995 16:07:11 -0400 He provided a fix for the version that comes with Python 1.3: ftpmirror.py revision 1.1... And it was still relevant!
-
Guido van Rossum yazdı
-
Fred Drake yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
Adapted from code submitted by Just van Rossum. PySys_WriteStdout(format, ...) PySys_WriteStderr(format, ...) The first function writes to sys.stdout; the second to sys.stderr. When there is a problem, they write to the real (C level) stdout or stderr; no exceptions are raised (but a pending exception may be cleared when a new exception is caught). Both take a printf-style format string as their first argument followed by a variable length argument list determined by the format string. *** WARNING *** The format should limit the total size of the formatted output string to 1000 bytes. In particular, this means that no unrestricted "%s" formats should occur; these should be limited using "%.<N>s where <N> is a decimal number calculated so that <N> plus the maximum size of other formatted text does not exceed 1000 bytes. Also watch out for "%f", which can print hundreds of digits for very large numbers.
-
Guido van Rossum yazdı
PySys_WriteStdout(format, ...) PySys_WriteStderr(format, ...)
-
Guido van Rossum yazdı
they should have a Repr() function.
-