Opened 10 years ago

Last modified 10 years ago

#404 new defect

Use tmpl_context, not threading.local(), for request-local state — at Initial Version

Reported by: andersk Owned by:
Priority: normal Milestone:
Component: pony Keywords:
Cc:

Description

Pony tries to use threading.local() to store request-local state, which is really fragile and leads to [bad bugs](http://scripts.mit.edu/gitweb/scripts-pony.git/commitdiff/72eac3046136e2c235bcd90441c0405ba7cb31c4). We should use something that was designed for this purpose, like Pylons’ tmpl_context.

Change History (0)

Note: See TracTickets for help on using tickets.