in gluon/__init__.py there is a "from globals import current"

On Saturday, 23 July 2016 11:44:38 UTC-5, Carlos Zenteno wrote:
>
> Stupid question...
>
> When we run
>
> From gluon import current
>
> Where does current is imported from? 
>
> I have only found current defined in globals.py as :
>
> Import threading
>
> Current = threading.local ()
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [web2py] Curreny Carlos Zenteno
    • [web2py] Re: Importing Current Massimo Di Pierro

Reply via email to