[issue1789] assumption about unsigned long byte size in struct module usage

2010-06-25 Thread Joseph Turian
Joseph Turian added the comment: That patch gives good clarification. -- ___ Python tracker <http://bugs.python.org/issue1789> ___ ___ Python-bugs-list mailin

[issue1789] assumption about unsigned long byte size in struct module usage

2010-06-25 Thread Joseph Turian
Joseph Turian added the comment: I just got bit by this bug. This documentation (http://docs.python.org/library/struct.html) claims that an unsigned long is 4 bytes. On my machine, it's 8. -- nosy: +Joseph Turian ___ Python tracker