Author tim.peters
Recipients Scott Eilerman, docs@python, rhettinger, tim.peters
Date 2018-03-25.06:05:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521957909.56.0.467229070634.issue33114@psf.upfronthosting.co.za>
In-reply-to
Content
There's nothing in the docs I can see that implies `sample(x, n)` is a prefix of what `sample(x, n+1)` would have returned had the latter been called instead.  If so, then - as always - it's "at your own risk" when you rely on behaviors that haven't been specified.  Since the universe of _possible_ behaviors that haven't been specified is immense, I'd rather we didn't even start to list all of them ;-)

Seriously, when the docs don't promise something, it's usually a mistake to assume they just forgot to mention it.  I'd leave the docs alone in this case.
History
Date User Action Args
2018-03-25 06:05:09tim.peterssetrecipients: + tim.peters, rhettinger, docs@python, Scott Eilerman
2018-03-25 06:05:09tim.peterssetmessageid: <1521957909.56.0.467229070634.issue33114@psf.upfronthosting.co.za>
2018-03-25 06:05:09tim.peterslinkissue33114 messages
2018-03-25 06:05:07tim.peterscreate