Differences between revisions 43 and 44
Revision 43 as of 2008-08-15 18:03:11
Size: 2615
Comment:
Revision 44 as of 2008-08-15 18:06:25
Size: 3205
Editor: c-67-190-72-101
Comment:
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:
  * test_excluding_predicates - sys.exit, etc., are not really attributes of a module
  * test_wrapped_decorator - the line number needs to be set for the wrapped function at the def, not at the decorators stacked above. right now node.getLine() in CodeCompiler#visitFunctionDef must be reporting where the function def starts in the AST (which includes of course the decorators)
Line 41: Line 44:

---- /!\ '''Edit conflict - other version:''' ----
Line 42: Line 47:

---- /!\ '''Edit conflict - your version:''' ----

---- /!\ '''End of edit conflict''' ----
Line 48: Line 57:
* test_unicodedata - need to implement unicodedata!

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_execfile - on the other hand, Jython does not even validate that the locals or globals are in fact mapping objects
  • test_doctest - unicode problem
  • test_generators
    • parser probs where we don't reject bad syntax
    • 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_excluding_predicates - sys.exit, etc., are not really attributes of a module
    • test_wrapped_decorator - the line number needs to be set for the wrapped function at the def, not at the decorators stacked above. right now node.getLine() in CodeCompiler#visitFunctionDef must be reporting where the function def starts in the AST (which includes of course the decorators)
  • 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
  • test_doctest - in addition to the unicode problem, there is a parsing problem with newlines + comment -- the following fails: (try: pass<newline>except: pass<newlne>#comment)
  • test_syntax - lots of work needed to make exceptions look more like CPython

---- /!'''Edit conflict - other version:''' ---- * test_inspect.test_wrapped_decorator, the line number needs to be set for the wrapped function at the def, not at the decorators stacked above. right now node.getLine() in CodeCompiler#visitFunctionDef must be reporting where the function def starts in the AST (which includes of course the decorators)

---- /!'''Edit conflict - your version:''' ----

---- /!'''End of edit conflict''' ----

Development

  • test__rawffi (for ctypes, ported from PyPy)
  • test_multibytecodec (implies test_multibytecodec_support)
  • test_unicodedata - need to implement unicodedata!

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