Antoine Pitrou added the comment:

> PyASCIIObject is allocated on heap and should have a maximal alignment
> enough for every type. If sizeof(PyASCIIObject) % SIZEOF_LONG == 0
> then dest is at least long-aligned. Currently sizeof(PyASCIIObject) is
> 22 on m68k and the optimization is switched off at compile time. When
> PyASCIIObject will grow to 24 bytes the optimization will switched on
> and perhaps will have some effect. I prefer checks for features
> instead of concrete names.

This is a bugfix, please let's keep it simple. Checking for __m68k__
ensures that other architectures aren't affected by mistake.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17237>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to