Differences between revisions 2 and 37 (spanning 35 versions)
Revision 2 as of 2008-07-13 01:22:54
Size: 1655
Editor: astound-69-42-4-166
Comment: bring in Jim's doc with a few changes
Revision 37 as of 2008-08-15 17:00:17
Size: 1870
Editor: c-67-190-72-101
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#format rst
Line 4: 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 20: 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 25: 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 33: 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)

UpgradeTo25CPythonLib (last edited 2010-05-25 03:25:59 by vpn3-145126)