template parser ignores operators' priorities

Bug #135708 reported by eel ghEEz
2
Affects Status Importance Assigned to Milestone
web.py
Fix Released
Undecided
Anand Chitipothu

Bug Description

I had to put braces into a logical expression to obtain correct results.

The original statement without braces,

  $if not x and y:

evaluated as if "not" was applied to the rest,

  $if not (x and y):

Revision history for this message
eel ghEEz (ilatypov) wrote :

(using Ubuntu webpy 0.210-1).

Revision history for this message
Anand Chitipothu (anandology) wrote :

This doesn't happen with the new implementaion of templator.

Changed in webpy:
assignee: nobody → anandology
milestone: none → 0.3
status: New → Fix Committed
Changed in webpy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.