Christopher Yeleighton added the comment: Python 2.5.1 (r251:54863, Oct 5 2007, 13:50:07) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import struct >>> g_f = open('/dev/null') >>> struct.unpack('L', g_f.read(04)) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.5/struct.py", line 87, in unpack return o.unpack(s) struct.error: unpack requires a string argument of length 8
__________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1789> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com