Eric Wieser <wieser.eric+py...@gmail.com> added the comment:
> It should be fairly simple to modify the code to use a format of "B<size>" > for unions, so that it at least matches the itemsize Seems reasonable, although: * I think it should be "<size>B" or "(<size>)B" * I'd rather leave that for a later patch. While it would be correct, it's still not correct enough to be that useful, since ultimately the union layout is still lost. I'd prefer to focus on fixing the part of the PEPE3118 implementation that is most useful, rather than committing to fixing the whole thing all at once. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32780> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com