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 rhettinger
Recipients ajaksu2, eric.araujo, georg.brandl, petraszd, phr, rhettinger
Date 2010-11-21.22:33:03
SpamBayes Score 1.4600902e-06
Marked as misclassified No
Message-id <1290378784.84.0.125431707631.issue1560032@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry, it's time to close this one.  The code is not buggy, it is documented as being a bound method and that is a perfectly acceptable python coding style to use bound methods as callables.  It's also been around for a *very* long without causing issues beyond Python's usual irritation with the number of arguments messages (that happened when Python became object oriented and that artifact still survives).

When it comes to the random module, people are performance sensitive and it would be a total waste to wrap these bound methods in another layer just to get different error message reporting.  Anyone whose Monte Carlo simulation run time doubles because of this would be rightfully irritated.
History
Date User Action Args
2010-11-21 22:33:04rhettingersetrecipients: + rhettinger, georg.brandl, phr, ajaksu2, eric.araujo, petraszd
2010-11-21 22:33:04rhettingersetmessageid: <1290378784.84.0.125431707631.issue1560032@psf.upfronthosting.co.za>
2010-11-21 22:33:03rhettingerlinkissue1560032 messages
2010-11-21 22:33:03rhettingercreate