This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients eli.bendersky, scoder, serhiy.storchaka
Date 2020-03-02.07:39:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583134745.29.0.697381999553.issue39822@roundup.psfhosted.org>
In-reply-to
Content
Currently None is used instead of an empty directory for the attrib field in the C implementation of Element in ElementTree. It is a pure optimization: an empty dict takes a memory and its creation has a cost.

The proposed PR makes NULL be using instead of None. This simplifies the code.
History
Date User Action Args
2020-03-02 07:39:05serhiy.storchakasetrecipients: + serhiy.storchaka, scoder, eli.bendersky
2020-03-02 07:39:05serhiy.storchakasetmessageid: <1583134745.29.0.697381999553.issue39822@roundup.psfhosted.org>
2020-03-02 07:39:05serhiy.storchakalinkissue39822 messages
2020-03-02 07:39:05serhiy.storchakacreate