[ https://issues.apache.org/jira/browse/KAFKA-15153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Divij Vaidya resolved KAFKA-15153. ---------------------------------- Reviewer: Divij Vaidya Resolution: Fixed > Use Python `is` instead of `==` to compare for None > ---------------------------------------------------- > > Key: KAFKA-15153 > URL: https://issues.apache.org/jira/browse/KAFKA-15153 > Project: Kafka > Issue Type: Improvement > Reporter: Divij Vaidya > Assignee: Lan Ding > Priority: Minor > Labels: newbie > Fix For: 3.6.0 > > > *This is a good item to be picked by first time contributors to Kafka code > base* > At release_notes.py Line: 47 > The {{==}} and {{!=}} operators use the compared objects' {{__eq__}} method > to test if they are equal. To check if an object is a singleton, such as > {{{}None{}}}, we recommend that you use the {{is}} identity comparison > operator. -- This message was sent by Atlassian Jira (v8.20.10#820010)