[issue34741] Get rid of tp_getattro and tp_setattro in pyexpat.xmlparser

2018-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 55f8249d65af3f1b83df81fa46f6fc6e452ed944 by Serhiy Storchaka in branch 'master': bpo-34741: Get rid of tp_getattro and tp_setattro in pyexpat.xmlparser. (GH-9422)

[issue34741] Get rid of tp_getattro and tp_setattro in pyexpat.xmlparser

2018-10-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34741] Get rid of tp_getattro and tp_setattro in pyexpat.xmlparser

2018-09-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +8842 stage: -> patch review ___ Python tracker ___ ___

[issue34741] Get rid of tp_getattro and tp_setattro in pyexpat.xmlparser

2018-09-19 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently pyexpat.xmlparser has the tp_getattro and tp_setattro 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 help(),