[issue1788] Outdated link in the tutorial
New submission from Christopher Yeleighton: The page "About Python Tutorial" <http://docs.python.org/tut/node20.html> incorrectly refers to the Python Bug Tracker at SourceForge as <http://sourceforge.net/tracker/?group_id=5470&atid=105470&func=add>. That page says "This tracker is CLOSED. Please use the new tracker instead.". The new tracker is… guess where? At <http://bugs.python.org/>. -- components: Documentation messages: 59702 nosy: spe-anatol severity: minor status: open title: Outdated link in the tutorial type: behavior versions: Python 3.0 __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1788> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1789] incorrect assumption about unsigned long byte size
New submission from Christopher Yeleighton: Text of section 11.3 "Working with Binary Data Record Layouts" at <http://docs.python.org/tut/node13.html#SECTION001330> incorrectly assumes that unsigned long is 4 bytes long (with pack codes "H" and "L" representing two and four byte unsigned numbers respectively). It is may be a valid description of the author’s environment, but it is invalid as a general statement and it creates the wrong impression that the sample programme is portable and ready-to-go. -- components: Documentation messages: 59704 nosy: spe-anatol severity: normal status: open title: incorrect assumption about unsigned long byte size type: behavior versions: Python 3.0 __ 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
[issue1789] incorrect assumption about unsigned long byte size
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 "", line 1, in 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