Inada Naoki <songofaca...@gmail.com> added the comment:
> Yes, but the code for creating a dict can be simpler. In any case we will > better see what format is better when try to write a code. Note that many annotations are not accessed. RAM usage of annotation information is important than how easy to create dict. I don't like `(('x', 'int'), ('z', 'float'), ('return', 'Hoge'))` because it creates 4 tuples. It means use more memory, load pyc slower. Please use ('x', 'int', 'z', 'float', 'return', 'Hoge') instead. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42202> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com