New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:

Currently xml.etree.ElementTree.XMLParser has the tp_getattro slot for handling 
some attributes. The proposed PR replaces it with tp_members and tp_getset.

Benefits: constant time access, names of these attributes are added to the 
result of dir() and help(), better structured code.

----------
components: Extension Modules
messages: 325766
nosy: eli.bendersky, scoder, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Get rid of tp_getattro in xml.etree.ElementTree.XMLParser
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34739>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to