[Python-Dev] Lib/test/test_compiler.py fails

2006-03-03 Thread Matthew Fleming
testCompileLibrary (__main__.CompilerTest) ... compiling /home/splitscreen/src/python/python/Lib/dircache.pycompiling /home/splitscreen/src/python/python/Lib/smtplib.pycompiling /home/splitscreen/src/python/python/Lib/pickle.py
ERRORtestFlatten (__main__.CompilerTest) ... oktestLineNo (__main__.CompilerTest) ... oktestNewClassSyntax (__main__.CompilerTest) ... oktestYieldExpr (__main__.CompilerTest) ... ok==
ERROR: testCompileLibrary (__main__.CompilerTest)--Traceback (most recent call last):  File "Lib/test/test_compiler.py", line 36, in testCompileLibrary
    compiler.compile(buf, basename, "exec")  File "/home/splitscreen/src/python/python/Lib/compiler/pycodegen.py", line 64, in compile    gen.compile()  File "/home/splitscreen/src/python/python/Lib/compiler/pycodegen.py", line 112, in compile
    gen = ModuleCodeGenerator(tree)  File "/home/splitscreen/src/python/python/Lib/compiler/pycodegen.py", line 1290, in __init__    walk(tree, self)  File "/home/splitscreen/src/python/python/Lib/compiler/visitor.py", line 106, in walk
    walker.preorder(tree, visitor)  File "/home/splitscreen/src/python/python/Lib/compiler/visitor.py", line 63, in preorder    self.dispatch(tree, *args) # XXX *args make sense?  File "/home/splitscreen/src/python/python/Lib/compiler/visitor.py", line 57, in dispatch
    return meth(node, *args)  File "/home/splitscreen/src/python/python/Lib/compiler/pycodegen.py", line 350, in visitModule    self.visit(node.node)  File "/home/splitscreen/src/python/python/Lib/compiler/visitor.py", line 57, in dispatch
    return meth(node, *args)  File "/home/splitscreen/src/python/python/Lib/compiler/visitor.py", line 40, in default    self.dispatch(child, *args)  File "/home/splitscreen/src/python/python/Lib/compiler/visitor.py", line 57, in dispatch
    return meth(node, *args)  File "/home/splitscreen/src/python/python/Lib/compiler/pycodegen.py", line 362, in visitFunction    self._visitFuncOrLambda(node, isLambda=0)  File "/home/splitscreen/src/python/python/Lib/compiler/pycodegen.py", line 380, in _visitFuncOrLambda
    walk(node.code, gen)  File "/home/splitscreen/src/python/python/Lib/compiler/visitor.py", line 106, in walk    walker.preorder(tree, visitor)  File "/home/splitscreen/src/python/python/Lib/compiler/visitor.py", line 63, in preorder
    self.dispatch(tree, *args) # XXX *args make sense?  File "/home/splitscreen/src/python/python/Lib/compiler/visitor.py", line 57, in dispatch    return meth(node, *args)  File "/home/splitscreen/src/python/python/Lib/compiler/visitor.py", line 40, in default
    self.dispatch(child, *args)  File "/home/splitscreen/src/python/python/Lib/compiler/visitor.py", line 57, in dispatch    return meth(node, *args)  File "/home/splitscreen/src/python/python/Lib/compiler/pycodegen.py", line 894, in visitImport
    level = 0 if "absolute_import" in self.futures else -1AttributeError: FunctionCodeGenerator instance has no attribute 'futures'[in file pickle.py]--
Ran 5 tests in 0.878sFAILED (errors=1)
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] GeneratorExit inheriting from Exception

2006-03-18 Thread Matthew Fleming
except Error:  # is what you normally should do+1
This definatley makes more sense and is easier to understand just from glancing at it.Thanks,Matt
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Python 3000 Process

2006-03-20 Thread Matthew Fleming
On 20/03/06, Nick Coghlan <[EMAIL PROTECTED]> wrote:
+1 on the separate mailing list (and PEP numbers).If Barry (or another mailing list admin) is feeling energetic, somebranch-specific topics on python-checkins would be nice, too. While I'minterested in tracking trunk checkins, I'm not so concerned about the exact
details of what's happening on the p3yk branch.+1 for the separate mailing list.Reading anything from 50 to 100 emails first thing every morning, I need all the help I can get trying to distinguish different topics.
Also, as Nick said, a separate mailing list for p3yk check-ins would be nice but naturally, only if someone has the time to maintain it.Thanks,Matt
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com