Commits

Show all
Author Commit Message Labels Comments Date
Barry Warsaw
generated versions of the .ht files
Tags
v1.1rc1
Barry Warsaw
Bump version to 1.1rc1
Barry Warsaw
Latest updates for rc1
Barry Warsaw
Latest updates for rc1, including a pointer to Finn's jTkinter JNI implementation, and an update on the status of the md5 module.
Barry Warsaw
readlines(sizehint) is now implemented. Remove this from the To Do section
Barry Warsaw
NEWS for 1.1 release candidate 1
Barry Warsaw
do_bump(): fixed msgs
Barry Warsaw
cosmetic
Barry Warsaw
Add a warning for deprecated options
Barry Warsaw
readlines(int): support readlines with optional sizehint.
Barry Warsaw
Test case for PR#183; print of a recursive PyStringMap causes a JVM stack overflow.
Barry Warsaw
toString(): We need to wrap this method in enterRepr()/exitRepr() calls to avoid overflowing the JVM stack with this code: >>> g = globals() >>> g This fixes PR#183.
Barry Warsaw
Changes to address PR#155, inconsistent output from %g. This seems to get %g formatting closer to CPython's. Specifically, formatFloatDecimal(double, boolean): comment out the appending of `.' when there's no period in the output. format(PyObject): In the g/G case, if altFlag (i.e. `#') was specified and there's no period in the output, the period, and possibly some zeros are appended.
Barry Warsaw
Test for various kinds of %g float conversions
Barry Warsaw
Test PR#239, escaping a quote inside a triple quoted string.
Barry Warsaw
A patch for PR#239, provided by Finn Bock. This fixes certain backslashing of quotes inside triple quoted strings.
Barry Warsaw
InputStreamWrapper.read(int): dsyer points out that this method could return an empty string without hitting EOF, since it's possible for istream.available() to return zero before EOF. The only reliable way to know if you've hit EOF is to check the return value from istream.read().
Barry Warsaw
__setattr__(): A fix for PR#241, sys.stdout.softspace not writeable. Also, mimic CPython behavior by raising a TypeError if trying to modify mode, closed, or name attributes, and AttributeError if trying to set anything else. Inspired by Finn Bock.
Barry Warsaw
a test for PR#241, writeable sys.stdout.softspace (but mimic CPython behavior for other attributes)
Barry Warsaw
initModule(): A fix for PR#242; re.VERBOSE/re.X map to OROMatcher's Perl5Compiler.EXTENDED_MASK (given by Finn Bock).
Barry Warsaw
a test for PR#242, re.VERBOSE flag
Barry Warsaw
(defaultProps): python.options.classExceptions should default to true.
Barry Warsaw
toString(): repr conformant with CPython
Barry Warsaw
minor typo
Barry Warsaw
cosmetic
Barry Warsaw
initialize(), init__dict__(), init__class__(), init__bases__(), init(): In a thread dated July 1999, entitled "Possible race condition on SMP machine?", a complaint about creating multiple PythonInterpreter objects each in a separate thread, elicits this response from JimH: The race condition is not in the module import mechanism (we've spent some time making that rather robust). It is in the newly designed (for v1.1) lazy introspection facilities for interacting with Java classes under JPython. It shows up here because the sys module is implemented as an instance of a Java class (which has more flexibility than a standard Python module woul…
Barry Warsaw
PythonInterpreter(PyObject, PySystemState): changed the order of the PySystemState.initialize() call. When systemState is null, initialize() will be called automatically (and the duplicate call won't hurt), but it must be done after the new PySystemState object is created.
Barry Warsaw
defaultarg(): Use a better error message for duplicate arguments.
Barry Warsaw
os.error is now OSError as per CPython listdir(), mkdir(), makedirs(), remove(), rename(), rmdir(): raise OSError directly, passing in the error message and path, as per CPython. The errno is 0, since this makes no sense. stat(): check size of file, and if it's zero /and/ the file doesn't exist, raise OSError.
Barry Warsaw
getsize(): Added this function, which is new in CPython 1.5.2.
  1. Prev
  2. Next