Commits

Author Commit Message Labels Comments Date
Frank Wierzbicki
Disallow assign to set and dict comprehension.
Frank Wierzbicki
Add skips to test_zipimport_support and delete accidental add.
Frank Wierzbicki
from: http://hg.python.org/cpython/Lib/test/test_zipimport_support.py@22db03646d9b
Frank Wierzbicki
Add/clean test_asyncore skips.
Frank Wierzbicki
Add more test skips.
Frank Wierzbicki
from: http://hg.python.org/cpython/Lib/test/test_httplib.py@22db03646d9b http://hg.python.org/cpython/Lib/test/test_httpservers.py@22db03646d9b
Frank Wierzbicki
Update test_support.
Frank Wierzbicki
from: http://hg.python.org/cpython/Lib/test/test_zipimport_support.py@22db03646d9b
Frank Wierzbicki
Skip failing range tests for now.
Frank Wierzbicki
Skipping tests that where previously skipped.
Frank Wierzbicki
from: http://hg.python.org/cpython/Lib/test/test_sort.py@22db03646d9b
Frank Wierzbicki
Switched to CPython's ElementTree.py since our workaround no longer appears necessary. See http://bugs.jython.org/issue1479 and http://bugs.python.org/issue7334
Jeff Allen
PyIOBase made iterable Implemented _io._IOBase.next. Also added skip to test_misbehaved_io_read() as this tests a particular CPython implementation detail. test.test_io scores fail/error/skip = 0/16/65
Jeff Allen
Remove skips from test/test_io.py Removed all the FIXME skips, leaving only those related to GC, and on Windows the Posix and large file test skips. None of the reinstated test fails. Score fail/error/skip = 2/17/63
Jeff Allen
Checking and raising errors in _io module Changes to _jyio.py mostly aimed at greater conformity with test.test_io where copied _pyio code seems not to pass. Introduce _checkInitialized mirroring CPython code. Last skip removed from test_bufio.py so we can revert to lib-python version. test_io now scores fail/error/skip = 2/17/99.
Jeff Allen
_io.FileIO: support readinto/write array.array Make PyArray.tostream public and add a suitable public fromstream and use them from PyFileIO. test_io now scores fail/error/skip = 11/15/99, test_fileio = 0/0/1 and test_array = 0/0/12 (unchanged).
Jeff Allen
Formatting change only to PyArray ...because I'm going to make some minor changes and at some point I *will* auto-format. There's a lot in this file that does not match the coding standard (optional braces, spacing, line width). Fixed here so as not to confuse the substantive change set I expect to follow. test_array passes (ok with 12 skips).
Jeff Allen
Make attributes closed, mode readonly in _io.FileIO. Removed some skps and other suppression of Jython test failures in test_fileio. test_io scores unchanged at fail/error/skip = 12/15/99, test_fileio down at 0/1/1, but with concessions to Jython ValueError issue still in place.
Jeff Allen
_io.FileIO implement name attribute Also impacts the behaviour of repr() and necessitates a change to construction. "name" is implemented in the dictionary. test_fileio scores unchanged at fail/error/skip = 12/15/99, test_fileio errors down at 0/3/3.
Jeff Allen
Improve test_fileio response to errors The test was bad at deleting the working test file when a test failed, and this would cause other tests to fail confusingly. It now cleans up properly.
Jeff Allen
Implement conformant _io.FileIO.__repr__ Improved __repr__, __str__ implementation so it passes test.test_fileio.AutoFileTests.testRepr, and removed skip of that test. Also catch BufferError in and convert to TypeError in _io._IOBase support for i/o. Some re-ordering in PyFileIO.java. test_io score unchanged.
Jeff Allen
Partly treat ValueError/IOError confusion in _io.FileIO Reworked the tests for closed, readable and writable in PyFileIO to be more like CPython. Corresponding changes to some tests. More fun with mode strings. test_io.py now scores fail/error/skip = 12/15/99, and test_fileio 0/0/1 (but with some concessions to Jython non-conformance still in place).
Jeff Allen
Support file descriptor in _io.open and _io.FileIO Replaced the constructors in PyFileIO to accept Jython-style fds. Corresponding changes to open() and some tests. Also, a lot of fun with mode strings. test_io.py now scores fail/error/skip = 15/15/99.
Jeff Allen
Fix return value of io.FileIO.readinto() so EOF=0 as contract. test_io scores now fail/error/skip = 17/18/99
Jeff Allen
Implement _io.PyFileIO.readinto() and inherit read methods in place of local implementation. This is part of the progressive change to the hierarchical implementation with delegation. Score in test_io.py is a little lower at fail/error/skip = 19/18/99.
Jeff Allen
Renaming and formatting around _io.FileIO src/templates/PyFileIO.derived renamed _io.FileIO.derived after its object. Harmless renaming of private member, and some code formatting for compliance. No effect on test scores.
Jeff Allen
Make _io.PyFileIO inherit _io.PyRawFileIO Now PyFileIO is part of the _io hierarchy, it also adopts the Closer that PyIOBase provides, in place of its own, and the base class' approach to close and flush. test_io errors are lower (as promised) at fail/error/skip = 19/20/99.
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
  1. Prev
  2. Next