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.07:47:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334562463.88.0.9542912452.issue14586@psf.upfronthosting.co.za>
In-reply-to
Content
What ever change is made to the new CPythons the old docs should be updated to prevent confusion, with truncate([size]).

On fixing it for the future I would agree that supporting it as a keyword argument is preferred, as it is more pythonic (in my opinion). However this would cause ether backwards incompatibility or ambiguity in the language (ie. truncate(0, size=1) or need the deprecate, warn then removal stages taken three release cycles).

Maybe the less perfect but acceptable solution is just to change the docs and wait for Python 4k for the real fix....?
History
Date User Action Args
2012-04-16 07:47:43TheBiggerGuysetrecipients: + TheBiggerGuy, pitrou, r.david.murray, docs@python
2012-04-16 07:47:43TheBiggerGuysetmessageid: <1334562463.88.0.9542912452.issue14586@psf.upfronthosting.co.za>
2012-04-16 07:47:43TheBiggerGuylinkissue14586 messages
2012-04-16 07:47:43TheBiggerGuycreate