Stefan Behnel wrote: > it's actually faster to write > > raise KeyError, "No _ObserverItem found belonging to '%s'." % observer
But only if the exception is both raised and caught in Pyrex or Cython code (because no exception instance is created). Otherwise it makes little difference. -- Greg _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
