Opened 9 years ago

Last modified 9 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:

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.

Change History (1)

comment:1 Changed 9 years ago by andersk

  • Description modified (diff)
Note: See TracTickets for help on using tickets.