Message140172
Also added diff for fix:
- Implemented proposed issubclass(typ, Structure) solution
- Refactored _other_endian function because we used to getattr, catch exception, then check if type is array/structure. I believe exception throwing should not be on normal code path so I replaced try-except with a check for hasattr
- Removed a unittest which becomes deprecated with this fix (unittest asserts getting _other_endian for nested struct raises exception which is no longer the case) |
|
Date |
User |
Action |
Args |
2011-07-12 02:50:20 | vladris | set | recipients:
+ vladris, theller, terry.reedy, vstinner, castironpi, Alexander.Belopolsky, Jake.Coffman |
2011-07-12 02:50:20 | vladris | set | messageid: <1310439020.75.0.664665366285.issue4376@psf.upfronthosting.co.za> |
2011-07-12 02:50:20 | vladris | link | issue4376 messages |
2011-07-12 02:50:20 | vladris | create | |
|