<div dir="ltr"><br clear="all">Hello everybody,<br><div dir="ltr"><div><div><div><div><div><div><br></div>I thought perhaps we could allow the usage of a "new" keyword to instanciate an object, ie:<br><br></div> obj = new yourmodule.YourClass()<br><br></div>In
this case, it would behave the same as from yourmodule import
YourClass; obj = YourClass(), except that it wouldn't need to be
imported. This would also eliminate the need to manage an import list at
the beginning of a script in most case.<br><br></div>I'm really not
proud of this idea but PHP has had autoload for years and when i open
scripts with hundred lines of imports it makes me think Python could do something about this.<br><br></div>Thanks in advance for your feedback<br><br></div>Best regards</div><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>∞<br></div></div></div>
</div>