[Python-3000] iostack, second revision

Hasan Diwan hasan.diwan at gmail.com
Fri Sep 8 09:26:55 CEST 2006

On 08/09/06, Antoine Pitrou <solipsis at pitrou.net> wrote:
> Perhaps it would be good to drop those magic numbers (0, 1, 2) for
> seek() ? They don't really help readibility except perhaps for people
> who still do a lot of C ;)

If we can't don't want to eliminate the "magic numbers" entirely, perhaps we
could assign symbolic constants to them? fileobj.seek(fileobj.START) for
Hasan Diwan <hasan.diwan at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20060908/1477f322/attachment.html 

More information about the Python-3000 mailing list