Message7972

Author Arfrever
Recipients Arfrever, fwierzbicki
Date 2013-03-23.21:56:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364075770.91.0.870807888778.issue2032@psf.upfronthosting.co.za>
In-reply-to
Content
Revision f763cd15ee2b backported fix of typo in compiler.consts module (http://bugs.python.org/issue15212).

Jython's Lib/compiler/pycodegen.py needs to use SC_GLOBAL_EXPLICIT instead of SC_GLOBAL_EXPLICT to avoid exception.

$ jython2.7 -c 'import compiler'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/share/jython-2.7/Lib/compiler/__init__.py", line 31, in <module>
    from compiler.pycodegen import compile, compileFile
  File "/usr/share/jython-2.7/Lib/compiler/pycodegen.py", line 11, in <module>
    from compiler.consts import SC_LOCAL, SC_GLOBAL_IMPLICIT, SC_GLOBAL_EXPLICT, \
ImportError: cannot import name SC_GLOBAL_EXPLICT
History
Date User Action Args
2013-03-23 21:56:10Arfreversetrecipients: + Arfrever, fwierzbicki
2013-03-23 21:56:10Arfreversetmessageid: <1364075770.91.0.870807888778.issue2032@psf.upfronthosting.co.za>
2013-03-23 21:56:10Arfreverlinkissue2032 messages
2013-03-23 21:56:10Arfrevercreate