Message80457
| 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:19 | jaraco | set | recipients:
+ jaraco, theller |
| 2009年01月24日 16:04:19 | jaraco | set | messageid: <1232813059.45.0.979222906271.issue5042@psf.upfronthosting.co.za> |
| 2009年01月24日 16:04:18 | jaraco | link | issue5042 messages |
| 2009年01月24日 16:04:17 | jaraco | create |
|