Guy Taylor <thebigguy.co...@gmail.com> added the comment:

@murray The thing I would be worried at in both supporting truncate(0) and 
truncate(size=0) would be truncate(0, size=1). This could throw an exception 
but causes the need for extra sanity checks and introduces ambiguity in the 
otherwise 'only one way to do something' Python style.

----------

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

Reply via email to