Public paste
Undefined
By: Guest | Date: Nov 3 2009 22:53 | Format: None | Expires: never | Size: 558 B | Hits: 777

  1. bartwe@Casiopeia:~/git/babbisch$ python test.py test.h
  2. /home/bartwe/git/babbisch/babbisch/utils.py:60: Warning: 'with' will become a reserved keyword in Python 2.6
  3. Traceback (most recent call last):
  4.   File "test.py", line 4, in <module>
  5.     from babbisch.analyze import AnalyzingVisitor
  6.   File "/home/bartwe/git/babbisch/babbisch/__init__.py", line 6, in <module>
  7.     from babbisch.utils import ASTCache
  8.   File "/home/bartwe/git/babbisch/babbisch/utils.py", line 60
  9.     with open(self.filename, 'rb') as f:
  10.             ^
  11. SyntaxError: invalid syntax