summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revise comment about \let support a little to more accurately reflect theFred Drake1998-05-151-1/+1
| | | | support that's offered.
* Ignore the mac/ directory....Fred Drake1998-05-151-0/+1
|
* Update to use the output names used by latex2html for the Python ReferenceFred Drake1998-05-151-1/+1
| | | | Manual; the old FrameMaker names no longer apply.
* Extend handling for \let a bit, to also allow \let\something=<character>. WeFred Drake1998-05-151-1/+12
| | | | | 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.
* Remove debugging echo.Fred Drake1998-05-151-1/+0
|
* do_cmd_let(): Simple implementation to allow \let to be used to establishFred Drake1998-05-151-3/+21
| | | | | | | | | 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.
* Improved version of patch for HPUX from David Arnold.Guido van Rossum1998-05-141-4/+1
|
* Added support for \developer, \developers, \developersaddress.Fred Drake1998-05-141-4/+8
|
* Added definitions for \developer, \developers, \developersaddress.Fred Drake1998-05-141-0/+3
| | | | Ask Guido if you really want to know why. ;-)
* Fix the fix to allow the .tex document sources not live in ".".Fred Drake1998-05-141-1/+2
|
* Mostly spurious change to ensure that everyone's version of this picks up theFred Drake1998-05-141-0/+2
| | | | execute bit.... problem discovered by Guido.
* Don't run tools/toc2bkm.py unless we're building PDF.Fred Drake1998-05-141-6/+11
| | | | | | | 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.
* Updated markup style (got rid of \verb@...@, mostly).Fred Drake1998-05-146-197/+203
|
* Add pointer to Misc/HPUX-NOTES.Guido van Rossum1998-05-141-0/+2
|
* Add an index entry.Fred Drake1998-05-141-3/+4
| | | | Bow to font lock.
* When a .o file is an absolute pathname, assume it's a file for whichGuido van Rossum1998-05-141-0/+1
| | | | we have no .c source.
* strop_replace(): balk if the pattern string is empty.Guido van Rossum1998-05-141-0/+4
|
* whichmodule(): remove redundant PyErr_Clear(); add explicit settingGuido van Rossum1998-05-141-4/+3
| | | | of error when sys.modules isn't there.
* Don't delete glmodule.c on 'make clobber' (it's a checked in file!).Guido van Rossum1998-05-141-1/+1
|
* New APIs for embedding applications that want to add their own entriesGuido van Rossum1998-05-141-0/+58
| | | | | | | | | | | 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)());
* Remove unnecessary PyErr_Clear().Guido van Rossum1998-05-141-1/+0
|
* Since PyDict_GetItem() can't raise an exception any more, there's noGuido van Rossum1998-05-142-4/+0
| | | | need to call PyErr_Clear() when it returns NULL.
* Since PyDict_GetItem() can't raise an exception any more, there's noGuido van Rossum1998-05-141-4/+1
| | | | need to cxall PyErr_Clear() when it returns NULL.
* Make sure that PyDict_GetItem[String]() *never* raises an exception.Guido van Rossum1998-05-141-2/+3
| | | | | If the argument is not a dictionary, simply return NULL. If the hash() on the key fails, clear the error.
* Remove a redundant statement from halfbinop().Guido van Rossum1998-05-131-1/+0
|
* Fix bug reported by Harri Pasanen: gzip + cPickle doesn't work. TheJeremy Hylton1998-05-131-4/+3
| | | | | | | | | 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
* Tim's quicksort on May 13.Guido van Rossum1998-05-131-1/+1
|
* Tim's quicksort on May 10.Guido van Rossum1998-05-131-68/+99
|
* From: conrad@cgl.ucsf.edu (Conrad Huang %CGL)Guido van Rossum1998-05-131-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* OK, here's a different way to implement the same thing -- this versionGuido van Rossum1998-05-121-6/+6
| | | | also supports filenames with multiple spaces in their name :-)
* Support filenames with spaces in their names (for non-Mac ftp servers).Guido van Rossum1998-05-121-2/+2
| | | | | | | | | | 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!
* DELETE_FAST should issue an exception when the local variable is undefined.Guido van Rossum1998-05-121-0/+7
|
* Add comments about release status.Fred Drake1998-05-121-0/+15
|
* Add Bill Janssen's notes on configuring threads.Guido van Rossum1998-05-121-0/+56
|
* Replace all calls to fprintf(stderr, ...) with calls to PySys_WriteStderr(...).Guido van Rossum1998-05-121-7/+7
|
* New APIs to write to sys.stdout or sys.stderr using a printf-like interface.Guido van Rossum1998-05-121-0/+90
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* AddGuido van Rossum1998-05-121-0/+9
| | | | | PySys_WriteStdout(format, ...) PySys_WriteStderr(format, ...)
* Trivial little change: timer tokens shouldn't have a Print() function,Guido van Rossum1998-05-121-8/+7
| | | | they should have a Repr() function.
* Reduce memory requirements.Guido van Rossum1998-05-121-1/+4
|
* Switch to .tgz instead of .tar.gz to appease Windows users.Fred Drake1998-05-111-17/+17
| | | | Clean up the clean & clobber targets.
* Use .tgz instead of .tar.gz for the output file name.Fred Drake1998-05-111-1/+1
|
* Change ignored extension .tar.gz to .tgz.Fred Drake1998-05-111-1/+1
|
* Ignore intermediate files.Fred Drake1998-05-111-0/+2
|
* Set the right page size in the PDF output.Fred Drake1998-05-111-7/+5
|
* Add --letter option, similar to --a4. This is a no-op, but can be used fromFred Drake1998-05-111-0/+4
| | | | a Makefile: mkhowto.sh --$(PAPER).
* Add the clean, clobber targets here for this directory.Fred Drake1998-05-111-0/+6
|
* Reverted the last change; the extra cruft is harmless for formatted versions,Fred Drake1998-05-111-0/+5
| | | | and allows the info to work through this section.
* Don't be so ugly as to use "set -x" to get the executed commands printed.Fred Drake1998-05-111-1/+6
|
* Added a section about documentation for the Mac modules.Fred Drake1998-05-111-0/+14
|
* Oops, better add it to the usage message!Fred Drake1998-05-111-0/+1
|