homepage

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 vstinner
Recipients aklauer, amaury.forgeotdarc, jcea, kristjan.jonsson, loewis, pitrou, rhettinger, vstinner
Date 2012年03月20日.22:24:57
SpamBayes Score 0.0006595299
Marked as misclassified No
Message-id <1332282298.48.0.165132229872.issue10142@psf.upfronthosting.co.za>
In-reply-to
Content
+ /* SEEK_SET and SEEK_CUR are special because we could seek inside the
+ buffer. Other whence values must be managed without this optimization.
+ Some Operating Systems can provide additional values, like
+ SEEK_HOLE/SEEK_DATA. */
+ if (((whence == 0) || (whence == 1)) && self->readable) {
Why not using SEEK_SET and SEEK_CUR instead of 0 and 1 here?
+ .. versionadded:: 3.2
This is now outdated, it should be 3.3.
History
Date User Action Args
2012年03月20日 22:24:58vstinnersetrecipients: + vstinner, loewis, rhettinger, jcea, amaury.forgeotdarc, pitrou, kristjan.jonsson, aklauer
2012年03月20日 22:24:58vstinnersetmessageid: <1332282298.48.0.165132229872.issue10142@psf.upfronthosting.co.za>
2012年03月20日 22:24:57vstinnerlinkissue10142 messages
2012年03月20日 22:24:57vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /