Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
PR 14166 now fixes the issue in more generic way. It skips one additional frame when type.__new__ is called not directly from type.__call__. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue28869> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com