[web2py] Some say local_import is deprecated. Is it?

2011-10-14 Thread seongjoo
While solving some problems of importing module, I found a web article
that contains some argument saying that local_import is deprecated.

http://comments.gmane.org/gmane.comp.python.web2py/67885

The web2py book (ed 3.1) has no mention about local_import being
deprecated, so I would like to know it is or it is not.



Re: [web2py] Some say local_import is deprecated. Is it?

2011-10-14 Thread Bruno Rocha
It is still supported and should work, but it is deprecated and encouraged
to use the new import system

On Fri, Oct 14, 2011 at 3:22 AM, seongjoo seongjoo@gmail.com wrote:

 While solving some problems of importing module, I found a web article
 that contains some argument saying that local_import is deprecated.

 http://comments.gmane.org/gmane.comp.python.web2py/67885

 The web2py book (ed 3.1) has no mention about local_import being
 deprecated, so I would like to know it is or it is not.




-- 



--
Bruno Rocha
[ About me: http://zerp.ly/rochacbruno ]
[ Aprenda a programar: http://CursoDePython.com.br ]
[ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ]
[ Consultoria em desenvolvimento web: http://www.blouweb.com ]


Re: [web2py] Some say local_import is deprecated. Is it?

2011-10-14 Thread Vinicius Assef
Where is the nem import system documented or where can we know more
details about it?


On Fri, Oct 14, 2011 at 3:24 AM, Bruno Rocha rochacbr...@gmail.com wrote:
 It is still supported and should work, but it is deprecated and encouraged
 to use the new import system

 On Fri, Oct 14, 2011 at 3:22 AM, seongjoo seongjoo@gmail.com wrote:

 While solving some problems of importing module, I found a web article
 that contains some argument saying that local_import is deprecated.

 http://comments.gmane.org/gmane.comp.python.web2py/67885

 The web2py book (ed 3.1) has no mention about local_import being
 deprecated, so I would like to know it is or it is not.




 --



 --
 Bruno Rocha
 [ About me: http://zerp.ly/rochacbruno ]
 [ Aprenda a programar: http://CursoDePython.com.br ]
 [ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ]
 [ Consultoria em desenvolvimento web: http://www.blouweb.com ]



Re: [web2py] Some say local_import is deprecated. Is it?

2011-10-14 Thread Bruno Rocha
the custom_importer is implemented in a transpatent way.

you only have to use normal imports.

from module import object

this has adittional feature to track changes in modules.

track_changes()

I guess it is not doccumented yet.

http://zerp.ly/rochacbruno
Em 14/10/2011 14:45, Vinicius Assef vinicius...@gmail.com escreveu:

 Where is the nem import system documented or where can we know more
 details about it?


 On Fri, Oct 14, 2011 at 3:24 AM, Bruno Rocha rochacbr...@gmail.com
 wrote:
  It is still supported and should work, but it is deprecated and
 encouraged
  to use the new import system
 
  On Fri, Oct 14, 2011 at 3:22 AM, seongjoo seongjoo@gmail.com
 wrote:
 
  While solving some problems of importing module, I found a web article
  that contains some argument saying that local_import is deprecated.
 
  http://comments.gmane.org/gmane.comp.python.web2py/67885
 
  The web2py book (ed 3.1) has no mention about local_import being
  deprecated, so I would like to know it is or it is not.
 
 
 
 
  --
 
 
 
  --
  Bruno Rocha
  [ About me: http://zerp.ly/rochacbruno ]
  [ Aprenda a programar: http://CursoDePython.com.br ]
  [ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ]
  [ Consultoria em desenvolvimento web: http://www.blouweb.com ]
 



Re: [web2py] Some say local_import is deprecated. Is it?

2011-10-14 Thread Martín Mulone
http://www.slideshare.net/martinpm/web2py-pensando-en-grande-9448110
slides from 13 to 20.

2011/10/14 Bruno Rocha rochacbr...@gmail.com

 the custom_importer is implemented in a transpatent way.

 you only have to use normal imports.

 from module import object

 this has adittional feature to track changes in modules.

 track_changes()

 I guess it is not doccumented yet.

 http://zerp.ly/rochacbruno
 Em 14/10/2011 14:45, Vinicius Assef vinicius...@gmail.com escreveu:

 Where is the nem import system documented or where can we know more
 details about it?


 On Fri, Oct 14, 2011 at 3:24 AM, Bruno Rocha rochacbr...@gmail.com
 wrote:
  It is still supported and should work, but it is deprecated and
 encouraged
  to use the new import system
 
  On Fri, Oct 14, 2011 at 3:22 AM, seongjoo seongjoo@gmail.com
 wrote:
 
  While solving some problems of importing module, I found a web article
  that contains some argument saying that local_import is deprecated.
 
  http://comments.gmane.org/gmane.comp.python.web2py/67885
 
  The web2py book (ed 3.1) has no mention about local_import being
  deprecated, so I would like to know it is or it is not.
 
 
 
 
  --
 
 
 
  --
  Bruno Rocha
  [ About me: http://zerp.ly/rochacbruno ]
  [ Aprenda a programar: http://CursoDePython.com.br ]
  [ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br]
  [ Consultoria em desenvolvimento web: http://www.blouweb.com ]
 




-- 
 http://martin.tecnodoc.com.ar