[issue8654] Improve ABI compatibility between UCS2 and UCS4 builds

Daniel Stutzbach report at bugs.python.org
Sun May 9 18:42:35 CEST 2010


Daniel Stutzbach <daniel at stutzbachenterprises.com> added the comment:

On Sun, May 9, 2010 at 10:12 AM, Marc-Andre Lemburg
<report at bugs.python.org>wrote:

> I'm just not sure how you could check for optimization
> compiler bugs/features using the buildbots.
>

Once I have a patch that I'm modestly confident in, I'll write automated
tests to go with it.

The tests will (at minimum):

- Create a tweaked copy of pyconfig.h that uses the opposite Unicode
settings (UCS4 v UCS2)

- Build an extension module in Unicode-agnostic mode
- Make sure it loads and works

- Build an extension module in Unicode-sensitive mode
- Make sure it doesn't load

----------
Added file: http://bugs.python.org/file17274/unnamed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8654>
_______________________________________
-------------- next part --------------
<div class="gmail_quote">On Sun, May 9, 2010 at 10:12 AM, Marc-Andre Lemburg <span dir="ltr">&lt;<a href="mailto:report at bugs.python.org">report at bugs.python.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I&#39;m just not sure how you could check for optimization<br>
compiler bugs/features using the buildbots.<br></blockquote><div><br>Once I have a patch that I&#39;m modestly confident in, I&#39;ll write automated tests to go with it.<br><br>The tests will (at minimum):<br><br>- Create a tweaked copy of pyconfig.h that uses the opposite Unicode settings (UCS4 v UCS2)<br>
<br>- Build an extension module in Unicode-agnostic mode<br>- Make sure it loads and works<br><br>- Build an extension module in Unicode-sensitive mode<br>
- Make sure it doesn&#39;t load<br></div></div>


More information about the Python-bugs-list mailing list