[issue36764] Types module doesn't have a type for _abc_data

Batuhan report at bugs.python.org
Wed May 1 05:32:37 EDT 2019


Batuhan <batuhanosmantaskaya at gmail.com> added the comment:

I'm working on a project that is a custom byte code interpreter for some
extended types. I needed ABCData there and i thought types module already
has that, but i was wrong so i added.

Isn't types module exposing some types that are implementation detail such
as cells?

On Wed, May 1, 2019, 12:17 PM Inada Naoki <report at bugs.python.org> wrote:

>
> Inada Naoki <songofacandy at gmail.com> added the comment:
>
> It's implementation detail of abc.  I don't want expose it in public.
> (Note that we maintain pure Python version of abc module too.)
>
> Why you need it in types module?
> I don't think all types exposed via types module.  Only useful types
> should be exposed.
>
> ----------
> nosy: +inada.naoki
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <https://bugs.python.org/issue36764>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36764>
_______________________________________


More information about the Python-bugs-list mailing list