Benjamin Peterson <benja...@python.org> added the comment:

Your PR is basically what we did prior to 
186122ead26f3ae4c2bc9f6715d2a29d339fdc5a. The problem is that may run afoul of 
different UB, namely strict aliasing. (Though, I suppose we could probably also 
avoid that by making dk_indices char[].)

If VLAs work with whatever MSVC we're using, it seems fine to add it to PEP 7. 
At worst, we can #ifdef sanitizer it.

----------

_______________________________________
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

Reply via email to