Re: [BangPypers] Pyramid and open-id

2011-05-17 Thread Gopalakrishnan Subramani
I don't know what you mean by automatic.. The thread local helps to have global variables per thread so that it preserves the changes made in one thread should not affect another global variable in another thread.. In Pylons, request & context (may be many other stuffs) are treated as a global va

Re: [BangPypers] Pyramid and open-id

2011-05-17 Thread Kiran Jonnalagadda
On 17-May-2011, at 11:38 AM, Baiju M wrote: >> You may need to port this code for Pyramid, though, as Flask is heavily >> dependent on thread-local proxies. > > What is the problem with "thread-local proxies" ? Nothing. It just means that the code won't run automatically in Pyramid. Kiran

Re: [BangPypers] Pyramid and open-id

2011-05-16 Thread Baiju M
On Tue, May 17, 2011 at 9:57 AM, Kiran Jonnalagadda wrote: > On 02-May-2011, at 12:35 PM, Baiju M wrote: > >> Flask has one OpenID extension: >> http://packages.python.org/Flask-OpenID/ > > +1 for the Flask-OpenID plugin. I just used it and it works like a charm. > > You may need to port this code

Re: [BangPypers] Pyramid and open-id

2011-05-16 Thread Kiran Jonnalagadda
On 02-May-2011, at 12:35 PM, Baiju M wrote: > Flask has one OpenID extension: > http://packages.python.org/Flask-OpenID/ +1 for the Flask-OpenID plugin. I just used it and it works like a charm. You may need to port this code for Pyramid, though, as Flask is heavily dependent on thread-local pr

Re: [BangPypers] Pyramid and open-id

2011-05-02 Thread Baiju M
On Mon, May 2, 2011 at 12:33 PM, Gopalakrishnan Subramani wrote: > Anybody works here on Pyramid web framework? I have an aggregation portal, I > am planing to migrate to Pyramid in a month time. > I am looking for open-id authentication to use with Pyramid. Google search > shows me https://github

[BangPypers] Pyramid and open-id

2011-05-02 Thread Gopalakrishnan Subramani
Anybody works here on Pyramid web framework? I have an aggregation portal, I am planing to migrate to Pyramid in a month time. I am looking for open-id authentication to use with Pyramid. Google search shows me https://github.com/ralphbean/pyramid_openid Any other framework do you use for open-id