summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add $(EXE) to various occurrences of python so it will work on CygwinGuido van Rossum1999-03-231-2/+2
| | | | with egcs (after setting EXE=.exe). Patch by Norman Vine.
* Ack! It never defined HAVE_GETHOSTBYNAME_R so that code was never tested!Guido van Rossum1999-03-232-28/+46
|
* Changes to allow passing an open file to the constructor (to supportGreg Ward1999-03-231-14/+13
| | | | | ProcessHierarchy's changes to support reading from a remote URL in ProcessDatabase).
* Adding thread.h -- unused but for b/w compatibility.Guido van Rossum1999-03-221-0/+62
| | | | As requested by Bill Janssen.
* Added bufferobject.cJack Jansen1999-03-225-0/+0
|
* Add code to test for all sorts of gethostbyname_r variants,Guido van Rossum1999-03-222-21/+315
| | | | donated by David Arnold.
* Add symbols for gethostbyname_r variants (sigh).Guido van Rossum1999-03-222-3/+27
|
* Clean up pass for the previous patches.Guido van Rossum1999-03-221-23/+35
| | | | | | | | | | | | | | | | | | - Use HAVE_GETHOSTBYNAME_R_6_ARG instead of testing for Linux and glibc2. - If gethostbyname takes 3 args, undefine HAVE_GETHOSTBYNAME_R -- don't know what code should be used. - New symbol USE_GETHOSTBYNAME_LOCK defined iff the lock should be used. - Modify the gethostbyaddr() code to also hold on to the lock until after it is safe to release, overlapping with the Python lock. (Note: I think that it could in theory be possible that Python code executed while gethostbyname_lock is held could attempt to reacquire the lock -- e.g. in a signal handler or destructor. I will simply say "don't do that then.")
* Jonathan Giddy writes:Guido van Rossum1999-03-221-8/+15
| | | | | | | | Here's a patch to fix the race condition, which wasn't fixed by Rob's patch. It holds the gethostbyname lock until the results are copied out, which means that this lock and the Python global lock are held at the same time. This shouldn't be a problem as long as the gethostbyname lock is always acquired when the global lock is not held.
* Fixed the flush() method of compression objects; the test forAndrew M. Kuchling1999-03-221-12/+29
| | | | | the end of loop was incorrect, and failed when the flushmode != Z_FINISH. Logic cleaned up and commented.
* Added simple test for the flush() method of compression objects, trying theAndrew M. Kuchling1999-03-221-0/+13
| | | | different flush values Z_NO_FLUSH, Z_SYNC_FLUSH, Z_FULL_FLUSH.
* Bug reported by Tobias Thelen: missing "self." in assignment target.Guido van Rossum1999-03-221-1/+1
|
* First checkin of real Distutils command modules.Greg Ward1999-03-226-0/+448
|
* Obsolete source file -- command options are actually implemented inGreg Ward1999-03-221-111/+0
| | | | | a much less formalistic way. Just keeping this around for possible future reference.
* First checkin of real Distutils code.Greg Ward1999-03-225-0/+1131
|
* Use an unsigned cast to avoid a warning in VC++.Guido van Rossum1999-03-191-1/+2
|
* New code for split() by Tim Peters, behaves more like posixpath.split().Guido van Rossum1999-03-192-40/+25
|
* Fix a problem with Vladimir's PyFloat_Fini code: clear the free list; ifGuido van Rossum1999-03-191-5/+17
| | | | | a block cannot be freed, add its free items back to the free list. This is necessary to avoid leaking when Python is reinitialized later.
* Fix a problem with Vladimir's PyInt_Fini code: clear the free list; ifGuido van Rossum1999-03-191-5/+27
| | | | | | a block cannot be freed, add its free items back to the free list, and add its valid ints back to the small_ints array if they are in range. This is necessary to avoid leaking when Python is reinitialized later.
* Document new builtin buffer(). Greg Stein.Guido van Rossum1999-03-191-0/+10
|
* Added BufferType, the type returned by the new builtin buffer(). Greg Stein.Guido van Rossum1999-03-191-0/+1
|
* New builtin buffer() creates a derived read-only buffer from anyGuido van Rossum1999-03-191-0/+24
| | | | object that supports the buffer interface (e.g. strings, arrays).
* Added check for negative offset for PyBuffer_FromObject and check forGuido van Rossum1999-03-191-1/+13
| | | | negative size for PyBuffer_FromMemory. Greg Stein.
* Added htmldoc, to generate the HTML for "Documenting Python".Fred Drake1999-03-181-0/+3
|
* Add "Documenting Python" to the list of processed documents.Fred Drake1999-03-181-1/+7
|
* LaTeX2HTML support for the ltxmarkup package.Fred Drake1999-03-181-0/+51
|
* Add some (commented out) macros to change the page size to the size ofFred Drake1999-03-181-41/+35
| | | | | | | | | | | | | | typical published manuals, so people can more easily see what they're really asking for. ;-) Revise the verbatim environment: simple implementation, but more compatible if a document also add \usepackage{verbatim} at the beginning. Declare \modindex, \bimodindex, \exmodindex, and \stmodindex obsolete. These still work just fine, but \declaremodule should be used instead. The obsolete macros will print a warning on standard out.
* Documented FTP.set_pasv().Fred Drake1999-03-181-13/+15
|
* Sjoerd Mullender writes:Guido van Rossum1999-03-181-2/+2
| | | | | | | | | | If a filename on Windows starts with \\, it is converted to a URL which starts with ////. If this URL is passed to urlparse.urlparse you get a path that starts with // (and an empty netloc). If you pass the result back to urlparse.urlunparse, you get a URL that starts with //, which is parsed differently by urlparse.urlparse. The fix is to add the (empty) netloc with accompanying slashes if the path in urlunparse starts with //. Do this for all schemes that use a netloc.
* Make this simpler; don't care about the paper size. Require that theFred Drake1999-03-181-4/+2
| | | | | | files exist in the current directory. Add "Documenting Python" to the list of documents listed.
* Sjoerd Mullender writes:Guido van Rossum1999-03-181-0/+10
| | | | | | | | Pathnames of files on other hosts in the same domain (\\host\path\to\file) are not translated correctly to URLs and back. The URL should be something like file:////host/path/to/file. Note that a combination of drive letter and remote host is not possible.
* Remove all owner resources from template, and if no owner resource contained inJack Jansen1999-03-171-14/+22
| | | | applet-specific rsrc file we add a "Pyta" owner resource. Owner resources have both id=0 and name="Owner resource" (is this always true?).
* Removed all owner resources except for "Pyth".Jack Jansen1999-03-171-0/+0
|
* Delete non-standard-conforming code in urljoin() that would use theGuido van Rossum1999-03-171-12/+0
| | | | | | | | | | | | | | | | | | | | | | netloc from the base url as the default netloc for the resulting url even if the schemes differ. Once upon a time, when the web was wild, this was a valuable hack because some people had a URL referencing an ftp server colocated with an http server without having the host in the ftp URL (so they could replicate it or change the hostname easily). More recently, after the file: scheme got added back to the list of schemes that accept a netloc, it turns out that this caused weirdness when joining an http: URL with a file: URL -- the resulting file: URL would always inherit the host from the http: URL because the file: scheme supports a netloc but in practice never has one. There are two reasons to get rid of the old, once-valuable hack, instead of removing the file: scheme from the uses_netloc list. One, the RFC says that file: uses the netloc syntax, and does not endorse the old hack. Two, neither netscape 4.5 nor IE 4.0 support the old hack.
* Note that abspath() was added in 1.5.2.Fred Drake1999-03-171-0/+1
|
* For some reason these files had never been checked in.Jack Jansen1999-03-175-0/+0
|
* For reasons unknown these files were never checked in to CVS.Jack Jansen1999-03-173-0/+213
|
* Add DLL level b/w compat for PySequence_In and PyEval_CallObjectGuido van Rossum1999-03-172-0/+10
|
* Be sure "make" understands the "doc" target is phony.Fred Drake1999-03-171-1/+1
|
* Bug reported by Jim Robinson:Guido van Rossum1999-03-161-4/+22
| | | | | | | | | An attempt to execute grid_slaves with arguments (0,0) results in *all* of the slaves being returned, not just the slave associated with row 0, column 0. This is because the test for arguments in the method does not test to see if row (and column) does not equal None, but rather just whether is evaluates to non-false. A value of 0 fails this test.
* Fixed minor nits, added index entries to make these easier to find for peopleFred Drake1999-03-162-9/+17
| | | | not familiar with Unix terminology.
* Ignore some more files kept by mkhowto --keep.Fred Drake1999-03-162-0/+4
|
* Add support for "Documenting Python".Fred Drake1999-03-163-3/+23
|
* Removed the embedded sections showing module documentation; justFred Drake1999-03-161-78/+2
| | | | \input the module template.
* New document: "Documenting Python".Fred Drake1999-03-161-0/+644
|
* Markup for documenting LaTeX macros and environments.Fred Drake1999-03-161-0/+24
|
* Docstring fix: acosh() returns the hyperbolic arccosine, not theFred Drake1999-03-161-1/+1
| | | | | hyperbolic cosine. Problem report via David Ascher by one of his students.
* Should test for gethost*by*name_r, not for gethostname_r (whichGuido van Rossum1999-03-151-1/+1
| | | | doesn't exist and doesn't make sense).
* Patch by Rob Riggs for Linux -- glibc2 has a different argumentGuido van Rossum1999-03-151-0/+24
| | | | converntion for gethostbyname_r() etc. than Solaris!
* Rob Riggs wrote:Guido van Rossum1999-03-151-2/+2
| | | | | | | | | | | | | | | """ Spec says that on success pthread_create returns 0. It does not say that an error code will be < 0. Linux glibc2 pthread_create() returns ENOMEM (12) when one exceed process limits. (It looks like it should return EAGAIN, but that's another story.) For reference, see: http://www.opengroup.org/onlinepubs/7908799/xsh/pthread_create.html """ [I have a feeling that similar bugs were fixed before; perhaps someone could check that all error checks no check for != 0?]