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 vstinner
Recipients fredrikj, loewis, mark.dickinson, rhettinger, terry.reedy, vstinner
Date 2008-10-14.15:13:40
SpamBayes Score 1.5679465e-05
Marked as misclassified No
Message-id <>
> Accidentally removed the following message from Victor Stinner

No problem.

> Is there any good reason to make this a property?

Since numbits() cost is O(n) with n: number of digits. I prefer a 
method than a property because, IMHO, reading a property should be 
O(1) (*read* an attribute is different than *compute* a value).
Date User Action Args
2008-10-14 15:13:41vstinnersetrecipients: + vstinner, loewis, rhettinger, terry.reedy, mark.dickinson, fredrikj
2008-10-14 15:13:41vstinnersetmessageid: <>
2008-10-14 15:13:40vstinnerlinkissue3439 messages
2008-10-14 15:13:40vstinnercreate