Opened 6 years ago

Closed 6 years ago

#3702 closed defect (fixed)

Syntax error in 0.11-Permissions on python 2.3.4

Reported by: checat@… Owned by: bobbysmith007
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


byte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/ to tande_filters.pyc
  File "build/bdist.linux-i686/egg/timingandestimationplugin/", line 39
    return (x.upper() for x in permissions)
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/ to __init__.pyc
byte-compiling build/bdist.linux-i686/egg/timingandestimationplugin/ to blackmagic.pyc
  File "build/bdist.linux-i686/egg/timingandestimationplugin/", 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 (0)

Change History (1)

comment:1 Changed 6 years ago by bobbysmith007

  • Resolution set to fixed
  • Status changed from new to closed

(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 Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from bobbysmith007. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.