Routes tries to be thread-safe - it even provides special thread-local
storage for data from the web framework. Nevertheless in __init__.py,
in load_wsgi_environ() there is: self.mapper.environ = environ.

That way the thread-safety is broken - it is impossible to correctly
use one mapper for all threads. Do I correctly see this as a bug? In
my opinion thread-safe RoutesConfig should not make any modifications
to mapper object, but instead mapper should query RoutesConfig for
environment data when needed.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to