Weiliang Li added the comment:
Thank you, our hardworking BDFL!
--
___
Python tracker
<https://bugs.python.org/issue41950>
___
___
Python-bugs-list mailin
Weiliang Li added the comment:
No wonder there is discrepancy...
So our tactic would be to patch in 3.9 branch and bring it back to master?
--
___
Python tracker
<https://bugs.python.org/issue41
Weiliang Li added the comment:
The diff is here:
https://gist.github.com/kigawas/c0c3900e5f56552f13160c7989612c28
Looks like it is not trivial.
And the commit at branch 3.9 is:
https://github.com/python/cpython/commit/9cf6752276e6fcfd0c23fdb064ad27f448aaaf75#diff
Weiliang Li added the comment:
The whole CONTAINS_OP stuff is gone in master, but it's still there in 3.9
branch.
I don't know why.
Any plan to resolve the discrepancy?
--
___
Python tracker
<https://bugs.python.o
Weiliang Li added the comment:
And the "What’s New In Python 3.9" page (updated today):
https://docs.python.org/3/whatsnew/3.9.html#cpython-bytecode-changes
--
___
Python tracker
<https://bugs.python.o
Weiliang Li added the comment:
It's here
https://github.com/python/cpython/blob/3.9/Doc/whatsnew/3.9.rst#cpython-bytecode-changes
Just several pixels below
--
___
Python tracker
<https://bugs.python.org/is
Weiliang Li added the comment:
Well, it looks like there is no CONTAINS_OP part under the subtitle "CPython
bytecode changes" in master's Doc/whatsnew/3.9.rst
Maybe it's some discrepancy?
--
___
Python tracker
<https://bug
Change by Weiliang Li :
--
keywords: +patch
pull_requests: +21568
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/22573
___
Python tracker
<https://bugs.python.org/issu
New submission from Weiliang Li :
CONTAINS_OP for ‘in’ and ‘is not’ tests
should be
CONTAINS_OP for ‘in’ and ‘not in’ tests
Ref:
https://bugs.python.org/issue39156
--
assignee: docs@python
components: Documentation
messages: 378085
nosy: docs@python, kigawas
priority: normal
Weiliang Li added the comment:
https://docs.python.org/3/reference/expressions.html#comparisons
--
___
Python tracker
<https://bugs.python.org/issue38
Change by Weiliang Li :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue38498>
___
___
Python-bugs-list
Change by Weiliang Li :
--
resolution: -> works for me
___
Python tracker
<https://bugs.python.org/issue38498>
___
___
Python-bugs-list mailing list
Un
New submission from Weiliang Li :
In [1]: '' in '' == ''
Out[1]: True
In [2]: 'a' in 'a' == 'a'
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
<h
14 matches
Mail list logo