Gregory P. Smith <g...@krypto.org> added the comment: I think it is worth getting such a change in.
its arguable that the compiler should be able to see through the union for this use case but I assume such a fix would only land in a recent clang version. i'm attaching a variant on your patch that doesn't cast entire structs but just casts the VLA. thoughts? ---------- Added file: https://bugs.python.org/file47542/maybe-less-horrible-gps01.patch _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33312> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com