Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336973 - Ternary Operator not parsed
Summary: Ternary Operator not parsed
Status: CLOSED WONTFIX
Alias: None
Product: DLTK
Classification: Technology
Component: Python (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: dltk.python-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-11 11:57 EST by milkservice CLA
Modified: 2020-01-03 07:54 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description milkservice CLA 2011-02-11 11:57:07 EST
The following valid construct is errorneously marked as syntax error:

v = "t" if True else "f"
Comment 1 Matěj Cepl CLA 2016-07-20 09:26:38 EDT
Can still reproduce with Python IDE 5.6.0.201607190416
Comment 2 Dawid Pakula CLA 2020-01-03 07:54:30 EST
Python support has been removed