Message5985

Author zyasoft
Recipients zyasoft
Date 2010-08-17.19:24:04
SpamBayes Score 0.004141841
Marked as misclassified No
Message-id <1282073045.85.0.837223437771.issue1645@psf.upfronthosting.co.za>
In-reply-to
Content
This refactoring would probably be reasonable for PyDictionary and other types, but deferring that for now, so changing the title.

Because PyBoolean is a subclass of PyInteger (due to int/bool compatibility in Python, which stems from the lack of bool prior to 2.2), you need to override getBooleanValue, which is then used by getValue.

Fixed in r7097, but marking as pending because we need unit tests around how this can be used to support user type extension.
History
Date User Action Args
2010-08-17 19:24:05zyasoftsetmessageid: <1282073045.85.0.837223437771.issue1645@psf.upfronthosting.co.za>
2010-08-17 19:24:05zyasoftsetrecipients: + zyasoft
2010-08-17 19:24:05zyasoftlinkissue1645 messages
2010-08-17 19:24:05zyasoftcreate