On Friday, September 08, 2006, at 03:41PM, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
>On Fri, 08 Sep 2006 15:37:00 +0200, Ronald Oussoren <[EMAIL PROTECTED]> wrote: >> >>On Friday, September 08, 2006, at 02:30PM, Jean-Paul Calderone <[EMAIL >>PROTECTED]> 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... Ronald _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com