[Python-3000] iostack, second revision
ronaldoussoren at mac.com
Fri Sep 8 16:06:30 CEST 2006
On Friday, September 08, 2006, at 03:41PM, Jean-Paul Calderone <exarkun at divmod.com> wrote:
>On Fri, 08 Sep 2006 15:37:00 +0200, Ronald Oussoren <ronaldoussoren at mac.com> wrote:
>>On Friday, September 08, 2006, at 02:30PM, Jean-Paul Calderone <exarkun at divmod.com> wrote:
>>>Note that Python is _worse_ than C here. C has named constants for these,
>>>Python does not expose them.
>>What about os.SEEK_SET, os.SEEK_CUR, os.SEEK_END? The named constants are there, just not at the most convenient location.
>New in Python 2.5, so Python will finally be caught up with C when 2.5
>final is released :)
The same constants are also defined in posixfile, which even according to python 2.3 is deprecated. Sigh...
More information about the Python-3000