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 pitrou
Recipients Christian.Kleineidam, NeilGirdhar, aisaac, dkorchem, madison.may, mark.dickinson, pitrou, rhettinger, serhiy.storchaka, tim.peters, westley.martinez, xksteven
Date 2016-04-07.07:47:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460015240.76.0.791920158192.issue18844@psf.upfronthosting.co.za>
In-reply-to
Content
> Suggestion: if you want to go that way, return a single number if `amount` is not provided (so make the default value for `amount` None rather than 1). If `amount=1` is explicitly given, a list containing one item should be returned.

+1
History
Date User Action Args
2016-04-07 07:47:20pitrousetrecipients: + pitrou, tim.peters, rhettinger, mark.dickinson, aisaac, westley.martinez, serhiy.storchaka, NeilGirdhar, madison.may, dkorchem, Christian.Kleineidam, xksteven
2016-04-07 07:47:20pitrousetmessageid: <1460015240.76.0.791920158192.issue18844@psf.upfronthosting.co.za>
2016-04-07 07:47:20pitroulinkissue18844 messages
2016-04-07 07:47:20pitroucreate