[Pyrex] TypeError from Exception

Mark Ellis mark at mpellis.org.uk
Thu Dec 18 10:10:04 CET 2008


On Thu, 2008-12-18 at 00:26 +0100, Greg Ewing wrote:
> Mark Ellis wrote:
> 
> > A few users have reported tracebacks ending with the following.
> >
> > TypeError: exceptions must be strings, classes, or instances, not
> > RAPIError
> 
> Looks like the result of not using a new enough version
> of Pyrex. Version 0.9.6 or later is needed with Python
> versions that have new-style exception classes.
> 

Ah, I think I was getting it the wrong way round. For some reason I had
concluded that the problem was with older python versions, not newer
ones.

Thanks
Mark

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.copyleft.no/pipermail/pyrex/attachments/20081218/74e34b92/attachment.bin 


More information about the Pyrex mailing list