Pylons/pyramid — pull request #710 by mmerickel (2012-10-30 06:12:04+00:00)
Title: fix.299 raise exception if view_execution_permitted is invoked on a non-existant view

If `TypeError` doesn't make sense, change it. Also the docs say "an exception" when they should probably specify the type.