Martin Panter added the comment:

The minus sign might have been deliberate at some stage, but I realize it is 
more accessible etc if it was ASCII -1, so I will change that.

The idea of changing the signature is to avoid people thinking it accepts a 
keyword argument. See e.g. Issue 25030 for seek(offset, whence=SEEK_SET), Issue 
14586 for truncate(size=None).

----------
versions: +Python 3.7 -Python 3.6

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

Reply via email to