Size: 1711
Comment: bring in Jim's doc with some updates
|
Size: 1870
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
* test_code - no co_names, not certainly supported by the compiler, perhaps not likely to be (see http://docs.python.org/lib/bytecodes.html) * test_datetime - rounding, strptime missing a function (looks like new functionality in 2.5) * test_distuils - dependence on emitting .pyc, also case of test_home_installation_* * test_email - codecs.charmap_build, other codec issue * test_float - __getformat__ * test_functools - partial is not a type (yet) * test_generator - not rejecting incorrect syntax wrt yield; but others need to be resolved outside of parser (maybe eval order?); fibgen is causing parse issues; tracebacks have extra blank lines apparently * test_genexps - need to test iterability of an object like int; similar syntax issues as test_generator * test_gettext - codecs.charmap_build * test_index - no support for __index__ yet * test_inspect - getsource (no surprise with this type of issue) * test_mailbox - TestMaildir.test_clean fails due to os.utime not setting atime |
* test_builtin * test_input_and_raw_input - del sys.stdin does nothing * test_cmp - Jython can compare objects with cycles in them, at least for this test. * test_general_eval - Jython can use arbitrary maps for globals; this was discussed for CPython. Not in current 2.6, perhaps because it touched a lot of code or issues with performance (see http://bugs.python.org/issue1402289) * test_doctest - unicode problem * test_generators - parser probs; ill-behaved generator doesn't finalize upon GC; closure setup in visitLambda and visitGeneratorExp does not interact properly with a yield point, resulting in bad bytecode * test_inspect * test_multibytecodec * test_multibytecodec_support * test_site - del sys.setdefaultencoding does nothing * test_struct - needs new 2.5 struct.Struct type and pack_into/unpack_from * test_unicode - no idna encoding (which needs unicodedata); raises wrong error for decode to int of unicode string * test_univnewlines - test_doctest failures don't restore sys.stdin -- causes to skip (it normally passes) * test_with - 1 failure, testNestedSingleStatements (__main__.ExceptionalTestCase), this is a tricky one |
Line 22: | Line 26: |
* test_scope - sometimes fails due to GC | * test_socket - historically this is the case on SO_RCVBUF, SO_SNDBUF * test_tuple - sometimes OutOfMemoryErrors during regrtest (when creating a set from a large list of small tuples). maybe not the tests fault, but the fact that the regrtest progressively uses more and more memory as it goes: http://pylonshq.com/pasties/917 |
Line 27: | Line 32: |
* test_compile - over acceptance of incorrect syntax; need to raise problems with unicode being declared to have an encoding! * test_contextlib - likely parser eval order * test_decorators - eval order * test_doctest - lineno is incorrect, parser prob * test_genexp, test_generator - see above * test_java_integration - ReservedNamesTest (in/exec), also there's class * test_jy_compile - not rejecting syntax, is there an issue with exec code in a_dict? |
* test_compiler - one line functions are not working compiler.parse (causing AttributeError: 'NoneType' object has no attribute 'suite') * test_decorators - compile(..., "eval") not working for test_dbcheck |
Line 35: | Line 35: |
Compiler ======== * test_univnewlines - SyntaxError (due to newline issues?) and wrong line numbers in test_execfile |
Development =========== * test__rawffi (for ctypes, ported from PyPy) |
To Fix
- test_builtin
- test_input_and_raw_input - del sys.stdin does nothing
- test_cmp - Jython can compare objects with cycles in them, at least for this test.
- test_general_eval - Jython can use arbitrary maps for globals; this was discussed for CPython. Not in current 2.6, perhaps because it touched a lot of code or issues with performance (see http://bugs.python.org/issue1402289)
- test_doctest - unicode problem
- test_generators - parser probs; ill-behaved generator doesn't finalize upon GC; closure setup in visitLambda and visitGeneratorExp does not interact properly with a yield point, resulting in bad bytecode
- test_inspect
- test_multibytecodec
- test_multibytecodec_support
- test_site - del sys.setdefaultencoding does nothing
- test_struct - needs new 2.5 struct.Struct type and pack_into/unpack_from
- test_unicode - no idna encoding (which needs unicodedata); raises wrong error for decode to int of unicode string
- test_univnewlines - test_doctest failures don't restore sys.stdin -- causes to skip (it normally passes)
- test_with - 1 failure, testNestedSingleStatements (__main__.ExceptionalTestCase), this is a tricky one
Flaky/arch?
- test_socket - historically this is the case on SO_RCVBUF, SO_SNDBUF
- test_tuple - sometimes OutOfMemoryErrors during regrtest (when creating a set from a large list of small tuples). maybe not the tests fault, but the fact that the regrtest progressively uses more and more memory as it goes: http://pylonshq.com/pasties/917
Parser
- test_compiler - one line functions are not working compiler.parse (causing AttributeError: 'NoneType' object has no attribute 'suite')
- test_decorators - compile(..., "eval") not working for test_dbcheck
Development
- test__rawffi (for ctypes, ported from PyPy)