Commits

Author Commit Message Labels Comments Date
Jeff Allen
Implement _io._RawIOBase in Java There is now an implementation in org.python.modules._io.PyRawIOBase.java. Score in test_io.py is unchanged at fail/error/skip = 12/58/99.
Jeff Allen
Implement _io._IOBase in Java There is now an implementation in org.python.modules._io.PyIOBase.java. Score in test_io.py is slightly up again at fail/error/skip = 12/58/99, but this will come down in later rounds when PyFileIO finally joins the new class hierarchy.
Jeff Allen
_io.open() in Java Eliminates Python implementation in _jyio of open(). the Java implementation does not yet support file descriptors (neither int nor Jython-style). Failures in test_io slightly up at fail/error/skip = 8/58/99
Jeff Allen
Add skip to test_io for Posix signals on NT These tests should still run on Unix, but that needs to be verified. test_io scores: fail/error/skip = 6/58/99.
Jeff Allen
Add Java _io.UnsupportedOperation
Jeff Allen
Update Lib/_jyio.py from CPython 2.7 version. Formerly 2.6-ish _pyio was used as the basis. (This causes many small changes at once.) Some changes to io.py now ideas clearer on how we shall replace _jyio progressively with _io module.
Jeff Allen
Buffer api: eliminate BufferPointer as class Improvements associated with the attempt to make java.nio.ByteBuffer part of the buffer API. The BufferPointer class is now PyBuffer.Pointer and only appears as a return type. Internals of BaseBuffer flattened and the implementation of Sliced1DBuffer made slicker with range-checking in the constructor. JUnit tests (tidied a bit) all pass.
Jeff Allen
Code style, commentary typo and formatting change only.
Jeff Allen
Buffer API: beef up PyBufferTest.java and fix zero-length slice bug. Work on the io library revealed a bug in slicing that affected zero-length slices. I built up the unit test where it dealt with slices. This showed up the zero-length bug, other new bugs, and some weak design that I rectified by removal of BufferPointer.size. PyBufferTest, test_bytes, test_memoryview pass.
Alan Kennedy
merge w/2.5: Fixing issue 1754: changing the implementation of the modjy sgi.input object
Alan Kennedy
Fixing issue 1754: changing the implementation of the modjy sgi.input object
Branches
2.5
Alex Grönholm
Fixed code style issues in previous commits
Alex Grönholm
Added Jython workaround for unittest discovery (fixes #1887)
Alex Grönholm
Fixed pow() calculation with large modulo; fixed hashing for long, float and Decimal (fixes #1864)
Alex Grönholm
Added missing __format__() to the PyObjectDerived class
Alex Grönholm
Removed comparison shortcuts to match CPython semantics (__cmp__() must always be called if present, even if the two objects are the same!)
Alex Grönholm
Fixed previously committed PyType rich comparison methods
Alex Grönholm
Implemented rich comparison methods for PyType (fixes #1886)
Alan Kennedy
merge w/2.5: Fixing a UriSyntaxException on Windows
Alan Kennedy
Fixing a UriSyntaxException on Windows
Branches
2.5
Alex Grönholm
Merged fix for #1979 from 2.5
Alex Grönholm
Fixed type of ast.Attribute (fixes #1979, thanks Arfrever)
Branches
2.5
Frank Wierzbicki
Merge to default.
Darjus Loktevic
Add the JavaMakerSmokeTest.java
Darjus Loktevic
Update junit to version 4.10 as it is a prerequisite for new proxymaker tests.
Jeff Allen
Rename module _io to _jyio, _fileio module to _io. This is preparatory to further development of the io and _io modules to make them ore like CPython and pass the test_io regression test. Changes are all directly connected with renaming. Errors are up, probably since our _io module does not implement everything it should. test_io fail, error, skip = (23, 72, 82)
Jeff Allen
_fileio.PyFileIO read() argument made optional.
Jeff Allen
Temporary patch to make test_io wrap _io.open() as it does pyio.open() We are currently using _io.py as a substitute for a real _io module. This patch fixes errors that stem from the way _io.open() gets called in that context. It should be reversed when there is an _io module in Java.
Philip Jenvey
specify a utf8 source encoding for PyByteArrayTest.java fixes #1969 thanks yyamano
Philip Jenvey
remove a couple java5isms
  1. Prev
  2. Next