summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* __update(): Jeremy Hylton reports occurances of sunaudiodev.errorBarry Warsaw1999-08-181-5/+14
| | | | | | | | | (interrupted system call) when getting the device information. I've never seen it, but this patch should take care of the problem. If we get that exception and we're polling, just return since we'll wake up again soon and get the right information. If we're not polling, try 4 times and then give up.
* Typo in comment (on Mac, it's the *resource* fork that's not copied,Guido van Rossum1999-08-181-1/+1
| | | | the data fork *is* copied).
* Patches by Michael Reilly to correctly deal with ftp URLs of the formGuido van Rossum1999-08-181-0/+1
| | | | | ftp://user@host//root/path: the double slash in the pathname means to go to the root directory even if the initial directory isn't the root.
* Add Tim Peters' shuffle() algorithm.Guido van Rossum1999-08-181-0/+21
|
* Implements the 'build_ext' command for building C/C++ extension modules.Greg Ward1999-08-141-0/+192
|
* Module to spawn sub-commands in a platform-independent way.Greg Ward1999-08-141-0/+106
| | | | Initial revision only includes support for POSIX-style fork-and-exec.
* Changed to use 'spawn()', now that it exists.Greg Ward1999-08-141-24/+62
| | | | | | | | Added 'verbose' and 'dry_run' parameters to constructor. Changed 'compile()', 'link_*()' to default lists arguments to None rather than empty list. Added implementations of the filename-mangling methods mandated by the CCompiler interface.
* Added 'verbose' and 'dry_run' flags to CCompiler constructor andGreg Ward1999-08-141-15/+64
| | | | | | | | | | | 'new_compiler()' factory function. Added 'runtime_library_dirs' list (for -R linker option) and methods to manipulate it. Deleted some obsolete comments. Added all the filename manglign methods: 'object_filenames()', 'shared_object_filename()', 'library_filename()', 'shared_library_filename()'. Added 'spawn()' method (front end to the "real" spawn).
* Comment tweak.Greg Ward1999-08-141-5/+5
|
* Better detection of bad entries in option table.Greg Ward1999-08-141-3/+11
| | | | Better error messages for bad entries in option table.
* Added DistutilsExecError, DistutilsValueError.Greg Ward1999-08-141-1/+13
|
* Initial implementationBarry Warsaw1999-08-131-0/+268
|
* Explain the possible range of values for the pid parameter toFred Drake1999-08-131-6/+14
| | | | waitpid().
* Initial revisionBarry Warsaw1999-08-111-0/+1
|
* Moshe noticed an inconsistency in his comment, so I'm rephrasing it toGuido van Rossum1999-08-111-2/+1
| | | | be clearer.
* Patch inspired by Moshe Zadka to search for the Icons directory in theGuido van Rossum1999-08-111-5/+11
| | | | | same directory as __file__, rather than searching for it along sys.path. This works better when idle is a package.
* Patch by Paul Sokolovsky to support the get() method.Guido van Rossum1999-08-111-0/+5
|
* (py-shell): Set the default shell if not set yet. It's sometimesBarry Warsaw1999-08-101-0/+3
| | | | | convenient to call py-shell before the first Python file has been visited.
* Allow comment characters (#) to be escaped:Greg Ward1999-08-101-14/+37
| | | | | | | - did away with 'comment_re' option -- it's just not that simple anymore - heavily revised the main logic in 'readline()' to accomodate this Beefed up 'warn()': 'line' can be list or tuple, and 'msg' is automatically converted to a string.
* Added __del__ method to GzipFile class that will flush and close theAndrew M. Kuchling1999-08-101-0/+5
| | | | object, if required.
* In note mentioning [].remove()'s exception, tell what exception isFred Drake1999-08-091-25/+21
| | | | raised. Prompted by Barry's whining. ;-0
* Patch by Marc-Andre Lemburg to add a bunch more symbols.Guido van Rossum1999-08-091-2/+86
|
* Ofir Reichenberg suggested to apply htonl() to grpaddr in openmcastsock().Guido van Rossum1999-08-071-3/+3
| | | | Also got rid of unnecessary use of eval() and regsub.gsub().
* Add index entries for open():Fred Drake1999-08-051-1/+4
| | | | | | | buffer size, I/O I/O control, buffering line-buffered I/O unbuffered I/O
* Add index entry "I/O control, buffering" for fdopen().Fred Drake1999-08-051-0/+1
|
* Add index entry "I/O control, buffering" for makefile().Fred Drake1999-08-051-3/+4
|
* Vladimir Marangozov fixes an AIX-specific problem, writing:Guido van Rossum1999-08-041-4/+7
| | | | | | | | | | | | | """ Following up Robin Dunn's troubles with freeze, here's a patch that fixes an oddity regarding the import logic of shared modules on AIX. Symbol resolution of shared modules is now handled properly for the cases when the python library is linked to a binary with an arbitrary name. This includes the standard python[version] executable, but also applications that are embedding the python core (i.e. linked with libpython[version].a, the latter being static or shared). """
* Started documentation on buffer objects & types. Very preliminary.Fred Drake1999-08-041-1/+66
| | | | Greg Stein: Please help with this; it's your baby!
* PyBuffer_New(): Raise ValueError if size is negative (the otherFred Drake1999-08-041-1/+6
| | | | | | | constructors didn't miss this). Raise MemoryError if malloc() fails, instead of just returning NULL.
* Added available() method, which checks whether quicktime is installed at all (byJack Jansen1999-08-042-0/+104
| | | | testing whether EnterMovies points to an actual routine or is a null pointer).
* Change the directory tree walking example to use clearer variableGuido van Rossum1999-08-031-11/+14
| | | | names, some suggested by Joe Ellsworth.
* It turns out that modifying the environment strings is not safe.Guido van Rossum1999-08-031-6/+16
| | | | | | Treat them as read-only, and make a copy as appropriately. This was first reported by Bill Janssend and later by Craig Rowland and Ron Sedlmeyer. This fix is mine.
* Re-write in Python for portability. About 30% slower, but who cares?!Fred Drake1999-08-031-26/+61
|
* remap_element_names(): Only used for things that the new conversionFred Drake1999-08-031-32/+6
| | | | | | | | | | | | | | engine in latex2esis.py can do, so discard it. paragraph detection & markup: Handle some of the list-like environments properly, picking up paragraphs inside list items. (Only changed a few element-sets used for recognition.) fixup_refmodindexes_chunk(): Use the right attribute to determine the module a <ref*modindex/> element is referring to. convert(): Don't call remap_element_names(); it was removed.
* The new conversion engine supports more of the table re-writing thanFred Drake1999-08-031-6/+9
| | | | the old one, so use it.
* Removed PyMapping_Clear() -- it was wishful thinking and serves noGuido van Rossum1999-08-021-6/+0
| | | | great purpose.
* Use the mksourcepgk script instead of mktarball.sh.Fred Drake1999-08-021-6/+7
|
* Remove obsolete version of script.Fred Drake1999-08-021-84/+0
|
* Re-implementation of mktarball.sh as a more portable Python script;Fred Drake1999-08-021-0/+139
| | | | | | | | | with a more descriptive name. Allow creation of multiple archive formats with a single pass; useful in this case since it uses a fresh export/checkout from CVS to ensure that the tree is "clean" (no build turds, saved files, &c). Use --all to create all supported formats.
* bwrite(), ewrite(): Helpers for diagnostic output; essentially theFred Drake1999-08-021-30/+61
| | | | | | | | | | | | | | | | | | | | | | | | | same as sys.stderr.write(), but bwrite() will make it bold if stderr is a tty (for visibility). Use these everywhere instead of accessing sys.stderr.write() directly. find_all_child_elements(): Find all elements by type name that are immediate children of another. cleanup_synopses(): Receive both the document and fragment objects as parameters; if only the document is passed, synopsis information is never found since it's in the fragment! build_para(): Add a chunk of code to ensure that a newline always follows the </para> end-tag. Not really important, but makes presentation consistent for authoring/ maintenance. fixup_bifuncindexes_chunk(): Use find_all_child_elements() instead of find_all_elements() so we don't work with too many levels at once; that could cause DOM exceptions with the <elem>.removeChild() method.
* Mostly minor changes.Fred Drake1999-08-021-52/+23
| | | | | | | | | Removed some obsolete commented-out code. Merged BaseConversion into Conversion since there's only one conversion process now. Remove push/pop of output stream; it's no longer needed.
* This doesn't need to do nearly as much for the new conversion, soFred Drake1999-08-021-24/+0
| | | | simplify.
* A few small improvements to the conversion.Fred Drake1999-08-021-3/+7
|
* Markup nits.Fred Drake1999-08-021-40/+33
| | | | | Adjust examples to use the object interface instead of the function interface.
* Fixed hyperlink references to the __builtin__ and __main__ modules;Fred Drake1999-08-021-2/+2
| | | | error reported by Dale Nagata <DNagata@creo.com>.
* Mark Hammond writes:Guido van Rossum1999-07-303-3/+9
| | | | | | | | | | | | | | | | """ If the filename being complained about contains a space, enclose the file-name in quotes. The reason is simply that when I try and parse tabnanny's output, filenames with spaces make it very difficult to determine where the filename stops and the linenumber begins! """ Tim approves. I slightly changed the patch (use 'in' instead of string.find()) and arbitrarily bumped the __version__ variable up to 6.
* Remove some redundant code from Canvas.tag_bind(), which added allGuido van Rossum1999-07-301-11/+2
| | | | | | | | | | bindings to a dictionary _tagcommands which was otherwise unused. (This was checked in accidentally with rev. 1.125 and not deleted with rev. 1.127 when the other half of this code was removed -- although even as originally checked in the _tagcommands variable was never used.) (PR#40, reported by Peter Stoehr)
* Ripped out the old conversion.Fred Drake1999-07-291-367/+7
|
* Added a few more passes through the document fragment. Not actuallyFred Drake1999-07-291-11/+126
| | | | very interesting.
* Massive changes.Fred Drake1999-07-291-38/+478
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Separate the Conversion class into a base and a subclass; the subclass is pretty minimal but the separation is useful for.... NewConversion: New class that implements a somewhat different approach to the conversion. This uses a table of instances (rather than tuples) that have more information than the tuples used for the older conversion procedure. This allows a lot more control over the conversion, and it seems to be pretty stable. TableEntry, Parameter: New classes that are used to build the conversion specification used by NewConversion. TableParser: xmllib.XMLParser subclass that builds a conversion specification from an XML document. load_table(): Convenience function that loads a table from a file. main(): Added flags --new and --old; these select which conversion is used. The default is --new. Several fixes have been made in the old conversion as well; these were done before writing & switching to the new conversion, and should be archived. The next checkin of this file will discard the old conversion; is is kept in this checkin to allow it to be retrieved if needed, and to avoid lossing the bugfixes that have been made to it in the interim.