Ticket #3702 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

Syntax error in 0.11-Permissions on python 2.3.4

Reported by: checat@pochta.ru Assigned to: bobbysmith007
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

byte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/tande_filters.py to tande_filters.pyc
  File "build/bdist.linux-i686/egg/timingandestimationplugin/tande_filters.py", line 39
    return (x.upper() for x in permissions)
                        ^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/blackmagic.py to blackmagic.pyc
  File "build/bdist.linux-i686/egg/timingandestimationplugin/blackmagic.py", line 86
    return (x.upper() for x in permissions)
                        ^
SyntaxError: invalid syntax

Could it be fixed with something like "from future import something", I wonder?

Attachments

Change History

09/11/08 11:52:21 changed by bobbysmith007

  • status changed from new to closed.
  • resolution set to fixed.

(In [4269]) closes #3702

python 2.3 doesnt support generator expressions. I have changed that to just a list comprehension which should work as well.


Add/Change #3702 (Syntax error in 0.11-Permissions on python 2.3.4)




Change Properties
Action