• Kevin Modzelewski's avatar
    Partially-templatize len · 4a114aaa
    Kevin Modzelewski authored
    The exceptions thrown by len itself can now be either style,
    though any exceptions thrown by any called functions (ex __len__)
    will still get thrown as C++ exceptions and converted if needed.
    
    Helps in a common case of "try calling len but don't worry if no
    len was defined".
    4a114aaa
abstract.cpp 60.2 KB