Message7544

Author pjenvey
Recipients fwierzbicki, jeff.allen, pjenvey
Date 2012-12-05.08:46:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354697183.43.0.963661921883.issue1996@psf.upfronthosting.co.za>
In-reply-to
Content
It's actually not slot handling itself. Turns out the problem is that PyType.best_base determines the wrong base type here (of which the slots handling is based off of):

Jython 2.7.0a2+ (j6 qbase qtip tip:f39766cb9cf6, Sep 10 2012, 12:13:45) 
[Java HotSpot(TM) 64-Bit Server VM (Apple Inc.)] on java1.6.0_37
Type "help", "copyright", "credits" or "license" for more information.
>>> class UnsupportedOperation(ValueError, IOError): pass
... 
>>> UnsupportedOperation.__base__
<type 'exceptions.ValueError'>

On CPython 2.5 and 2.7:
Python 2.5.4 (r254:67916, Aug  1 2011, 15:52:49) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> class UnsupportedOperation(ValueError, IOError): pass
... 
>>> UnsupportedOperation.__base__
<type 'exceptions.IOError'>
History
Date User Action Args
2012-12-05 08:46:23pjenveysetmessageid: <1354697183.43.0.963661921883.issue1996@psf.upfronthosting.co.za>
2012-12-05 08:46:23pjenveysetrecipients: + pjenvey, fwierzbicki, jeff.allen
2012-12-05 08:46:23pjenveylinkissue1996 messages
2012-12-05 08:46:23pjenveycreate