Message 341188 - Python tracker

Message341188

Author BTaskaya
Recipients BTaskaya, methane, yselivanov
Date 2019-05-01.11:07:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556708851.07.0.846763423187.issue36764@roundup.psfhosted.org>
In-reply-to
Content
> I still don't understand why you need _abc_data.
I'm using it both for comparisons which needed to build an abstract base class and typing. Currently there are 2 ways, i need to create a dummy abc and put type() calls everywhere or i need to set a constant to my module and _abc_data is totally irrelevant with this. I dont think users want that.

> On the other hand, _abc_data is implementation detail of extension module, not interpreter.
Abstract base classes can be called a core part of python too and when someone needs to obtain type of the struct that holds state of ABCs it shouldnt be hard, types module should expose it.
History
Date User Action Args
2019-05-01 11:07:31BTaskayasetrecipients: + BTaskaya, methane, yselivanov
2019-05-01 11:07:31BTaskayasetmessageid: <1556708851.07.0.846763423187.issue36764@roundup.psfhosted.org>
2019-05-01 11:07:31BTaskayalinkissue36764 messages
2019-05-01 11:07:30BTaskayacreate