[issue4572] add SEEK_* values to io and/or io.IOBase

2009-04-01 Thread Georg Brandl
Georg Brandl added the comment: Added in r70992. -- nosy: +georg.brandl resolution: -> accepted status: open -> closed ___ Python tracker ___ ___

[issue4572] add SEEK_* values to io and/or io.IOBase

2008-12-31 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- versions: -Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue4572] add SEEK_* values to io and/or io.IOBase

2008-12-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Sounds like a nice improvement. -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing

[issue4572] add SEEK_* values to io and/or io.IOBase

2008-12-06 Thread gumpy
New submission from gumpy <[EMAIL PROTECTED]>: Currently io.IOBase.seek(offset[, whence]) uses magic numbers for the second argument. Since this is essentially identical the C function fseek I think adding the same "constants" that C uses (SEEK_SET=0, SEEK_CUR=1, SEEK_END=2) may be worth consider