This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author TheBiggerGuy
Recipients TheBiggerGuy, docs@python, pitrou, r.david.murray
Date 2012-04-16.19:48:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334605695.74.0.787635944115.issue14586@psf.upfronthosting.co.za>
In-reply-to
Content
@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.
History
Date User Action Args
2012-04-16 19:48:15TheBiggerGuysetrecipients: + TheBiggerGuy, pitrou, r.david.murray, docs@python
2012-04-16 19:48:15TheBiggerGuysetmessageid: <1334605695.74.0.787635944115.issue14586@psf.upfronthosting.co.za>
2012-04-16 19:48:15TheBiggerGuylinkissue14586 messages
2012-04-16 19:48:15TheBiggerGuycreate