Opened 10 years ago
Last modified 10 years ago
#404 new defect
Use tmpl_context, not threading.local(), for request-local state
Reported by: | andersk | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | pony | Keywords: | |
Cc: |
Description (last modified by andersk)
Pony tries to use threading.local() to store request-local state, which is really fragile and leads to bad bugs. We should use something that was designed for this purpose, like Pylons’ tmpl_context.
Note: See
TracTickets for help on using
tickets.