STINNER Victor <victor.stin...@gmail.com> added the comment: > OTOH, I fail to see why they need to be bitfields: a plain > unsigned char field should work as well (as would an int bitfield). Victor?
I chose a bitfield to have a more compact structure. I didn't know that a bitfield using unsigned char is a GCC extension: it compiles on Visual Studio 2008, isn't it? The size of _PyUnicodeWriter doesn't really matter, so I replace the two fields with simple types. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14993> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com