[Pyrex] Exception handling for builtin functions

Robert Bradshaw robertwb at math.washington.edu
Sun Oct 21 00:19:45 CEST 2007


I've been looking at the new 0.9.6.3 sources. The new builtin  
function mechanism doesn't correctly handle errors. For example,

len(None)

will return the python int -1 rather than raising the TypeError that  
it should.

- Robert



More information about the Pyrex mailing list