homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jaraco
Recipients jaraco, theller
Date 2009年01月24日.16:04:14
SpamBayes Score 0.0004086279
Marked as misclassified No
Message-id <1232813059.45.0.979222906271.issue5042@psf.upfronthosting.co.za>
In-reply-to
Content
When trying to create a sub-subclass of a ctypes.Structure, the behavior
is not as expected.
An executable example that describes the problem in detail and
demonstrates the issue is available at
http://paste.turbogears.org/paste/29555 and also attached.
The failing behavior is near the beginning, following the description.
Three unsuccessful workarounds follow.
The expected behavior is found at the end, where a final workaround has
been implemented.
Can this behavior be improved in subsequent releases of ctypes? If not,
can ctypes at least support the workaround natively (perhaps by
providing a method in the Structure class that performs the workaround
and can be called by a sub-subclass during __init__)?
History
Date User Action Args
2009年01月24日 16:04:19jaracosetrecipients: + jaraco, theller
2009年01月24日 16:04:19jaracosetmessageid: <1232813059.45.0.979222906271.issue5042@psf.upfronthosting.co.za>
2009年01月24日 16:04:18jaracolinkissue5042 messages
2009年01月24日 16:04:17jaracocreate

AltStyle によって変換されたページ (->オリジナル) /