Message110412
| Author |
ghazel |
| Recipients |
ghazel, theller |
| Date |
2010年07月16日.04:29:03 |
| SpamBayes Score |
0.00092048856 |
| Marked as misclassified |
No |
| Message-id |
<1279254547.58.0.636737341251.issue9266@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Ok, this issue is worse, and much easier to reproduce, than I thought. Here is an updated ctypes_test.zip with a repro using only integers and callbacks.
Correct output:
('three', (1, 2, 3))
('four', (1, 2, 3, 4))
('five', (1, 2, 3, 4, 5))
Incorrect output:
('three', (1, 2, 3))
('four', (1, 2, 3, 0))
('five', (1, 2, 3, 0, 5))
I built Python 2.7 from source with MSVC 9. This is not reproducible in Debug mode, or Win32 Release mode. It only happens in x64 Release mode.
One very interesting discovery is that if I set these options:
Optimization: Disabled (/Od)
Enable Instrinsic Functions: No
the error does not occur! |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年07月16日 04:29:07 | ghazel | set | recipients:
+ ghazel, theller |
| 2010年07月16日 04:29:07 | ghazel | set | messageid: <1279254547.58.0.636737341251.issue9266@psf.upfronthosting.co.za> |
| 2010年07月16日 04:29:05 | ghazel | link | issue9266 messages |
| 2010年07月16日 04:29:03 | ghazel | create |
|