[issue38060] precedence (relational, logical operator)not working with single value

2019-09-10 Thread Sangeeta M Chauhan
Sangeeta M Chauhan added the comment: Sir, I was expecting that the precedence should be given to relational operator ( 7>"str") and according to that instead of printing 9 it should give error. On Mon, Sep 9, 2019 at 8:38 PM Tim Peters wrote: > > Tim Peters

[issue38060] precedence (relational, logical operator)not working with single value

2019-09-08 Thread Sangeeta M Chauhan
Sangeeta M Chauhan added the comment: i am not satisfied ..with your answer . as in the following expression 9 or 7 > "str" precedence must be given to relational operator . why is is executing logical operator first?? if we write 4>9 or 7> "str&quo

[issue38060] precedence (relational, logical operator)not working with single value

2019-09-08 Thread Sangeeta M Chauhan
New submission from Sangeeta M Chauhan : precendence betweeen relational and logical operators not working properly if expression contains single values instead of sub expressions. . Please see attached file -- components: Interpreter Core files: pythonBug.py messages: 351344 nosy