This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neologix
Recipients neologix
Date 2011-06-13.14:34:41
SpamBayes Score 8.77092e-07
Marked as misclassified No
Message-id <>
Linus recently decided that the next Linux kernel version would 3.0 [1].
As a consequence, sys.platform (which is actually MACHDEP) will be 'linux3' on machines running Linux 3 kernels, and tests checking explicitely against 'linux2' will either break and won't run.
A quick grep through the code base returns only a couple problematic places, but this should definitely be fixed.
For information, here's a - probably incomplete - list of such occurrences:

./Lib/test/        if sys.platform in ('linux2', 'darwin'):
./Lib/test/        sys.platform = 'linux2'
./Lib/test/    'linux2':
./Lib/test/    if sys.platform == 'linux2':
./Lib/test/        if sys.platform == "linux2":
./Lib/distutils/tests/        if sys.platform != 'linux2':
./Lib/distutils/tests/        if sys.platform != 'linux2':
./Lib/distutils/tests/        sys.platform = 'linux2'
./Lib/packaging/tests/  inotify (0.0.1); sys.platform == 'linux2'
./Lib/packaging/tests/                  "inotify (0.0.1); sys.platform == 'linux2'"]
./        if (platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6',

Date User Action Args
2011-06-13 14:34:42neologixsetrecipients: + neologix
2011-06-13 14:34:42neologixsetmessageid: <>
2011-06-13 14:34:41neologixlinkissue12326 messages
2011-06-13 14:34:41neologixcreate