[issue6068] ctypes is not correctly handling bitfields backed by 64 bit integers on Windows

higstar report at bugs.python.org
Sat Jun 25 00:37:40 CEST 2011


higstar <adrian at higstar.com> added the comment:

Issue was originally found on do sp2 on Python 2.6.
Thanks Vlad, this rendered ctypes useless for my purposes, had to mask and
shift myself.
On Jun 25, 2011 8:32 AM, "Vlad Riscutia" <report at bugs.python.org> wrote:
>
> Vlad Riscutia <riscutiavlad at gmail.com> added the comment:
>
> Attached is addition to unittests which repro the issue. They will
currently pass on Linux but fail on Windows.
>
> ----------
> keywords: +patch
> Added file: http://bugs.python.org/file22447/issue6068_unittest.diff
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue6068>
> _______________________________________

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

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6068>
_______________________________________
-------------- next part --------------
<p>Issue was originally found on do sp2 on Python 2.6.<br>
Thanks Vlad, this rendered ctypes useless for my purposes, had to mask and shift myself.</p>
<div class="gmail_quote">On Jun 25, 2011 8:32 AM, &quot;Vlad Riscutia&quot; &lt;<a href="mailto:report at bugs.python.org">report at bugs.python.org</a>&gt; wrote:<br type="attribution">&gt; <br>&gt; Vlad Riscutia &lt;<a href="mailto:riscutiavlad at gmail.com">riscutiavlad at gmail.com</a>&gt; added the comment:<br>
&gt; <br>&gt; Attached is addition to unittests which repro the issue. They will currently pass on Linux but fail on Windows.<br>&gt; <br>&gt; ----------<br>&gt; keywords: +patch<br>&gt; Added file: <a href="http://bugs.python.org/file22447/issue6068_unittest.diff">http://bugs.python.org/file22447/issue6068_unittest.diff</a><br>
&gt; <br>&gt; _______________________________________<br>&gt; Python tracker &lt;<a href="mailto:report at bugs.python.org">report at bugs.python.org</a>&gt;<br>&gt; &lt;<a href="http://bugs.python.org/issue6068">http://bugs.python.org/issue6068</a>&gt;<br>
&gt; _______________________________________<br></div>


More information about the Python-bugs-list mailing list