Skip to content

Remove error handler cache - #2362

Merged
davidism merged 2 commits into
pallets:masterfrom
davidism:remove-error-handler-cache
Jun 5, 2017
Merged

davidism merged 2 commits into
pallets:masterfrom
davidism:remove-error-handler-cache

Conversation

@davidism

@davidism davidism commented Jun 5, 2017

Copy link
Copy Markdown
Member

Caching handlers for the exception MRO caused issues with some inheritance setups. I don't expect hierarchies to be deep enough for this to affect most cases, but if performance is an issues handlers should be explicitly registered for each class they apply to.

closes #2267, closes #1433

@davidism davidism added this to the 1.0 milestone Jun 5, 2017
@davidism davidism self-assigned this Jun 5, 2017
@davidism
davidism merged commit b80cf05 into pallets:master Jun 5, 2017
@davidism
davidism deleted the remove-error-handler-cache branch June 5, 2017 13:34
jace added a commit to hasgeek/boxoffice that referenced this pull request Jun 18, 2018