Kyle Stanley <aeros...@gmail.com> added the comment:

> I would agree with changing the tutorial.  The rest doesn't need to be 
> changed.

Fair enough, that's understandable. I'll look into creating a PR for the 
tutorial to attach to this issue. Thanks for the feedback Antoine and Raymond. 

>AFAIK there is an open PR which sweeps through the standard library, changing 
>seek() >everywhere to use named constants.

Even I would disagree with doing it through all of stdlib, especially with the 
current feedback. I was primarily advocating for using the constants in places 
where the io module was already being imported, since in that case, it wouldn't 
result in any additional overhead. Replacing it everywhere would require a 
significant number of additional io imports.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37635>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to