| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
implementing it all here.
|
| |
|
|
|
|
|
| |
The specific markup conversion is coded here instead of an even more
cryptic table in the code of latex2esis.py.
|
| |
|
|
|
|
|
|
|
| |
new markup makes sense in context).
These allow the SGML/XML conversion updates to work, & should not have
still been in there anyway.
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"""
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.)
|
|
|
|
| |
regex match actually succeeded!
|
|
|
|
|
| |
New target: distfiles, create all distribution archives, regardless of
archive format. (Individual targets remain for each archive format.)
|
| |
|
| |
|
|
|
|
| |
Omission reported by Barry Warsaw.
|
|
|
|
| |
"zips" target produces all possible .zip files.
|
|
|
|
| |
.tgz files.
|
|
|
|
|
|
|
| |
Constants from stat module were imported using "import *";
don't access them via stat.ST_*!
Reported by that other vR. ;-)
|
|
|
|
| |
parameter. Thanks to Barry Warsaw for pointing out the oversight.
|
| |
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
Reported by Nadim Ghaznavi <nadim@ghaznavi.com>.
|
|
|
|
| |
had it right! Reported by Tim Hochberg <tim.hochberg@ieee.org>.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"""
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.
|
|
|
|
|
| |
when n == 0... So divide by a->ob_size instead which was already
tested for 0.
|
|
|
|
| |
dump core.
|
| |
|
|
|
|
|
|
| |
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').
|
|
|
|
|
|
| |
number, not the Python release.
Removed VERSION since it is not used.
|
| |
|
|
|
|
|
| |
a pointer from the "Process Parameters" section. Based on comments
from Aahz Maruch, Tim Peters, and GvR.
|
| |
|
| |
|
|
|
|
| |
color) rather than green. Suggested by Sam Schulenburg.
|
| |
|
| |
|
|
|
|
| |
module distributions that contain platform-specific files.
|
|
|
|
| |
Added DistutilsPlatformError.
|
|
|
|
| |
The text is condensed from the library manual.
|
|
|
|
|
| |
done by _PyImport_Init(), comes to late to affect the import of
exceptions.py by _PyBuiltin_Init_2(). Move _PyImport_Init() up few lines.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|