Reviews #115814 (comment), #115814 (comment), and #115814 (comment) show that there are a few things to refactor and/or optimize in regard to operators.
Furthermore, the documentation is sometimes rather hard to read without quotes, such as e.g., "Same as a is None." (which would be much better as "Same as 'a is None'." like @sobolevn proposed).
TODO:
Reviews #115814 (comment), #115814 (comment), and #115814 (comment) show that there are a few things to refactor and/or optimize in regard to operators.
Furthermore, the documentation is sometimes rather hard to read without quotes, such as e.g.,
"Same as a is None."(which would be much better as"Same as 'a is None'."like @sobolevn proposed).TODO:
is_noneandis_not_noneoperators #115814 (comment)is_noneandis_not_noneoperators #115814 (comment) and gh-115808: Addis_noneandis_not_noneoperators #115814 (comment)