summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add easy-to-use support for A4 paper.Fred Drake1998-05-111-2/+6
|
* Remove the tarhtml target; not useful from the sub-make.Fred Drake1998-05-111-3/+0
|
* Pass the release number to the tools/mktarball.sh script.Fred Drake1998-05-111-3/+3
| | | | Nits.
* Accept the release number on the command line instead of hardcoding it.Fred Drake1998-05-111-3/+3
|
* Don't be so ugly as to use "set -x" to get the executed commands printed.Fred Drake1998-05-111-3/+4
|
* do_cmd_kwindex(): Re-implement now that \kwindex is used again (ref man).Fred Drake1998-05-111-0/+10
|
* Update some of the comments.Fred Drake1998-05-111-21/+54
| | | | | | Update the .tar.gz targets so that they work from the top level. Reinstate the api, ext, lib, ref, and tut targets.
* In package Override, use the getcwd() function from the Cwd module instead ofFred Drake1998-05-111-0/+22
| | | | | | | | the one from Override.pm (part of latex2html). Absolutize the TEXINPUTS environment variable, since we can't count on latex2html doing it for us (even though I sent in a patch, and it really should).
* Changed some comments.... no longer mention FrameMaker.Fred Drake1998-05-111-38/+20
|
* parser_compare_nodes(): Corrected a minor type error; eliminate one GCCFred Drake1998-05-111-1/+1
| | | | warning (at least under Linux).
* Add a few doc strings.Guido van Rossum1998-05-101-6/+31
|
* benchmark for list.sort()Guido van Rossum1998-05-101-0/+109
|
* Implement round() slightly different, so that for negative ndigits noGuido van Rossum1998-05-091-5/+13
| | | | | additional errors happen in the last step. The trick is to avoid division by 0.1**n -- multiply by 10.0**n instead.
* Fix by Sean Reifschneider:Guido van Rossum1998-05-081-25/+38
| | | | | | | - When facility not specified to syslog() method, use default from openlog() (This is how it was claimed to work in the documentation) - Potential resource leak of o_ident, now cleaned up in closelog() - Minor comment accuracy fix.
* Add the specific sed statement to recover the second output file toGuido van Rossum1998-05-081-1/+6
| | | | the comments.
* Make Tim O'Malley's requested change: in FieldStorage.__init__(), whenGuido van Rossum1998-05-081-1/+2
| | | | | method='GET', always get the query string from environ['QUERY_STRING'] or sys.argv[1] -- ignore an explicitly passed in fp.
* Fix a comment.Fred Drake1998-05-081-49/+30
| | | | | | | Avoid extra level of recursion in the paper-*/ directories. Added the "info" target to use the subdir. Partparse, however, is broken again.
* No longer needed.Fred Drake1998-05-082-46/+0
|
* Remove unneeded line.Fred Drake1998-05-082-2/+0
|
* Use \ldots, not \dots. The info process doesn't know about \dots.Fred Drake1998-05-081-1/+1
|
* Adjust to new file layout.Fred Drake1998-05-081-1/+1
|
* Move the rules to build the info files here.Fred Drake1998-05-081-0/+32
|
* Relocating file to Doc/info.Fred Drake1998-05-082-123/+0
|
* Added URLs for zlib's home page and the Windows DLL's home page .Guido van Rossum1998-05-081-0/+2
|
* exec is a statement, not a function!Guido van Rossum1998-05-081-3/+3
|
* l2h target: Do the "right thing" regarding the paper-*/ subdirs as the otherFred Drake1998-05-081-1/+1
| | | | | "big" targets. Fix is to set the TEXINPUTS on the command line of the sub-make.
* Some versions of latex2html don't automatically append the .tex extension toFred Drake1998-05-081-1/+4
| | | | the name of the main .tex source file if it's not in the current directory.