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 pitrou
Recipients jcea, loewis, pitrou, rhettinger
Date 2010-10-19.10:44:04
SpamBayes Score 2.5525338e-05
Marked as misclassified No
Message-id <1287485046.66.0.517497854719.issue10142@psf.upfronthosting.co.za>
In-reply-to
Content
If it's just additional constants then I don't see the problem. We already have a lot of platform-specific constants.

However, it would be a lot better if the io module were made to work properly with these constants, too. There are a lot of places where we hardcode tests such as `whence == SEEK_SET` or even `whence == 0`, and whence values above 2 aren't generally considered.

So the patch is probably a bit less trivial than what you imagine :)
History
Date User Action Args
2010-10-19 10:44:06pitrousetrecipients: + pitrou, loewis, rhettinger, jcea
2010-10-19 10:44:06pitrousetmessageid: <1287485046.66.0.517497854719.issue10142@psf.upfronthosting.co.za>
2010-10-19 10:44:04pitroulinkissue10142 messages
2010-10-19 10:44:04pitroucreate