[issue38498] The expression '' in '' == '' is evaluated as True

2019-10-16 Thread Eric V. Smith
Eric V. Smith added the comment: For future reference: Specifically, note that: '' in '' == '' is equivalent to: ('' in '') and ('' == '') -- nosy: +eric.smith resolution: works for me -> not a bug ___ Python tracker

[issue38498] The expression '' in '' == '' is evaluated as True

2019-10-16 Thread Weiliang Li
Weiliang Li added the comment: https://docs.python.org/3/reference/expressions.html#comparisons -- ___ Python tracker ___ ___

[issue38498] The expression '' in '' == '' is evaluated as True

2019-10-16 Thread Weiliang Li
Change by Weiliang Li : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38498] The expression '' in '' == '' is evaluated as True

2019-10-16 Thread Weiliang Li
Change by Weiliang Li : -- resolution: -> works for me ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38498] The expression '' in '' == '' is evaluated as True

2019-10-16 Thread Weiliang Li
New submission from Weiliang Li : In [1]: '' in '' == '' Out[1]: True In [2]: 'a' in 'a' == 'a' Out[2]:

[issue38498] The expression '' in '' == '' is evaluated as True

2019-10-16 Thread Weiliang Li
Change by Weiliang Li : -- nosy: kigawas priority: normal severity: normal status: open title: The expression '' in '' == '' is evaluated as True type: behavior versions: Python 3.7 ___ Python tracker