summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Minor updates.Fred Drake1999-07-291-4/+8
|
* Use the (new) buildFragment() method of the EsisBuilder rather thanFred Drake1999-07-291-15/+1
| | | | implementing it all here.
* Some minor cleanup.Fred Drake1999-07-291-20/+18
|
* Conversion specification, used by a new path through latex2esis.py.Fred Drake1999-07-291-0/+631
| | | | | The specific markup conversion is coded here instead of an even more cryptic table in the code of latex2esis.py.
* Minor update.Fred Drake1999-07-291-3/+6
|
* Change an {\em ...} to \var{...} and a {\bf ...} to \program{...} (theFred Drake1999-07-291-1/+1
| | | | | | | new markup makes sense in context). These allow the SGML/XML conversion updates to work, & should not have still been in there anyway.
* A few minor Customize changes:Barry Warsaw1999-07-281-3/+6
| | | | | | | (python): Set defgroup :prefix to "py-" to make variable names cleaner. (py-jpython-command, py-jpython-command-args): Set :tag for proper capitalization of JPython in variable name display.
* (python-mode): Set which interpreter (CPython or JPython) to use theBarry Warsaw1999-07-281-18/+21
| | | | | | | | | | | | | | | | | first time a py buffer is visited during the Emacs session. This ensures that py-which-shells is initialized and also guarantees that the mode lines reflect the correct shell. First bug found by GvR, second one has long bugged :) me. (py-toggle-shells): Programmatically, arg can also take the symbols `cpython' or `jpython', which makes it easy to call with the value of py-default-interpreter. (py-shell): Don't need to initialize py-which-* variables since these will guarantee to be initialized by python-mode when the first py buffer is visited. (py-default-interpreter): Update docstring.
* Another patch from Andy Dustman:Guido van Rossum1999-07-281-1/+8
| | | | | | | | | | | | | | """ Here's a patch for the ForkingMixIn which will prevent the server from forking itself into the ground. Note: I've tested a very similar patch (subclassed ForkingMixIn) but not actually tested this one. As you might surmise, this was done out of necessity... If the maximum number of children are already running, block while waiting for a child to exit. """ (I added that last sentence as a comment to the code --GvR.)
* (py-beginning-of-def-or-class): Only move to match-beginning if theBarry Warsaw1999-07-271-2/+2
| | | | regex match actually succeeded!
* Add support for bzip2 compression.Fred Drake1999-07-271-2/+30
| | | | | New target: distfiles, create all distribution archives, regardless of archive format. (Individual targets remain for each archive format.)
* Add support for bzip2 using --bzip2.Fred Drake1999-07-271-4/+11
|
* Ignore additional compressed formats.Fred Drake1999-07-271-0/+2
|
* Added description of optional parameter to UserDict constructor.Fred Drake1999-07-261-2/+5
| | | | Omission reported by Barry Warsaw.
* Add zip archive support for html, pdf, ps, and latex archives.Fred Drake1999-07-231-1/+22
| | | | "zips" target produces all possible .zip files.
* Add --zip parameter; make this able to produce .zip files as well asFred Drake1999-07-231-3/+20
| | | | .tgz files.
* getsize(), getatime(), getmtime():Fred Drake1999-07-231-3/+3
| | | | | | | Constants from stat module were imported using "import *"; don't access them via stat.ST_*! Reported by that other vR. ;-)
* Update getattr() description to document the optional thirdFred Drake1999-07-221-5/+7
| | | | parameter. Thanks to Barry Warsaw for pointing out the oversight.
* Make the default target xml instead of sgml.Fred Drake1999-07-221-2/+2
|
* Make the default target xml instead of sgml.Fred Drake1999-07-221-2/+4
| | | | | | Use a temporary file to pass results from latex2esis.py to docfixer.py; this makes for better error detection by make (if the first pipeline stage fails, make wasn't catching it).
* typo: privide --> provideFred Drake1999-07-201-1/+1
| | | | Reported by Nadim Ghaznavi <nadim@ghaznavi.com>.
* Fixed order of parameters in slice() docstring. The Library ReferenceFred Drake1999-07-191-1/+1
| | | | had it right! Reported by Tim Hochberg <tim.hochberg@ieee.org>.
* New wishes.Guido van Rossum1999-07-151-1/+5
|
* Add test case for bug just fixed by Stephen Turner.Guido van Rossum1999-07-131-0/+11
|
* Patch by Stephen Turner, who writes:Guido van Rossum1999-07-131-18/+27
| | | | | | | | | | | | | | | | | | | | | | | """ It fixes a memory corruption error resulting from BadPickleGet exceptions in load_get, load_binget and load_long_binget. This was initially reported on c.l.py as a problem with Cookie.py; see the thread titled "python core dump (SIGBUS) on Solaris" for more details. If PyDict_GetItem(self->memo, py_key) call failed, then py_key was being Py_DECREF'd out of existence before call was made to PyErr_SetObject(BadPickleGet, py_key). The bug can be duplicated as follows: import cPickle cPickle.loads('garyp') This raises a BadPickleGet exception whose value is a freed object. A core dump will soon follow. """ Jim Fulton approves of the patch.
* Mark Favas was quick to note that the last checkin divides by zeroGuido van Rossum1999-07-131-1/+1
| | | | | when n == 0... So divide by a->ob_size instead which was already tested for 0.
* Appropriate overflow checks so that things like sys.maxint*(1,) can'tGuido van Rossum1999-07-121-3/+13
| | | | dump core.
* added a test for "To: :" patchBarry Warsaw1999-07-121-0/+7
|
* AddrlistClass.getaddress(): when parsing `:'s, in the loop, watch outBarry Warsaw1999-07-121-1/+2
| | | | | | for gotonext() pushing self.pos past the end of the string. This can happen if the message has a To field like "To: :" and you call msg.getaddrlist('to').
* Added comment clarifying that RELEASE is the documentation releaseFred Drake1999-07-121-1/+3
| | | | | | number, not the Python release. Removed VERSION since it is not used.
* do_cmd_funclineni(): New function; non-indexing form of \funcline.Fred Drake1999-07-121-0/+9
|
* Move chdir() and getcwd() descriptions to "Files and Directories" withFred Drake1999-07-121-10/+16
| | | | | a pointer from the "Process Parameters" section. Based on comments from Aahz Maruch, Tim Peters, and GvR.
* Use the same names for CLASS attributes as elsewhere.Fred Drake1999-07-121-3/+4
|
* Updated Milan's email address.Fred Drake1999-07-121-7/+8
|
* Make the color for stderr red (i.e. the standard warning/danger/stopGuido van Rossum1999-07-101-1/+1
| | | | color) rather than green. Suggested by Sam Schulenburg.
* The first concrete subclass of CCompiler: defines a barebones Unix C compiler.Greg Ward1999-07-101-0/+192
|
* The abstract base class that defines the C/C++ compiler abstraction model.Greg Ward1999-07-101-0/+313
|
* Added a self-berating command relating to installation directories forGreg Ward1999-07-101-0/+8
| | | | module distributions that contain platform-specific files.
* Don't pollute importer's namespace with type objects from types modules.Greg Ward1999-07-101-2/+11
| | | | Added DistutilsPlatformError.
* Patch by Jeffrey Chang to add docstrings everywhere.Guido van Rossum1999-07-091-31/+314
| | | | The text is condensed from the library manual.
* Marc-Andre Lemburg discovered that the switch from .pyc to .pyo files,Guido van Rossum1999-07-081-2/+2
| | | | | done by _PyImport_Init(), comes to late to affect the import of exceptions.py by _PyBuiltin_Init_2(). Move _PyImport_Init() up few lines.
* Several methods return tuples, not lists.Fred Drake1999-07-071-4/+5
|
* Move some misc. comments from the example section to the main section.Fred Drake1999-07-071-22/+22
| | | | | | Use the lowercase versions of the method names in the example, since that's what's documented (Greg Stein's suggestion). Add a blank line after the import line for clarity.
* FTP.dir(): Fix typo in docstring.Fred Drake1999-07-071-1/+1
|
* dir() method description revised based on comments from Greg Stein.Fred Drake1999-07-071-6/+7
|
* make_view_popups(): Catch import error which can occur if a viewer isBarry Warsaw1999-07-061-1/+7
| | | | | | dynamically imported when Pynche is running via askcolor out of a package. If the ImportError occurs, try again, prepending the package name and digging out the module.
* Missing space; reported by Robert Kern <kernr@ncifcrf.gov>.Fred Drake1999-07-061-1/+1
|
* Fix a number of minor problems pointed out by /F.Fred Drake1999-07-061-7/+8
|
* Fixed typo reported by /F; thanks!Fred Drake1999-07-061-1/+1
|