Re: TypeError from Exception

Mark Ellis <[email protected]> Thu, 18 Dec 2008 09:10:04 +0000
Newsgroups gmane.comp.python.pyrex
Message-ID <1229591404.7111.1.camel@mark01>
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

_______________________________________________
Pyrex mailing list
[email protected]
http://lists.copyleft.no/mailman/listinfo/pyrex
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAklKE2wACgkQkQq5eu6iQvDjSQCdFi/dhIWonVgj/87JlWJhD+r/
+o4AnijWhjTeNx7iTJ64y7VUfl6eSpa/
=O3DR
-----END PGP SIGNATURE-----