Armin Ronacher <armin.ronacher <at> active-4.com> writes:

> Please do not write or advocate for import hooks, especially not for
> porting purposes.  It would either mean that people start adding that
> hook on their own to the code (and that awfully reminds me of the days
> of 'require "rubygems"' in the Ruby world) or that the __init__.py has
> to do that and that's a non trivial thing.

Well, we have to treat people as grown ups, don't we?
 
> The hook on install time works perfectly fine and the only situation
> where it might not work is when you're trying to use Python 3.2 for
> development and also support down to 2.x by using the newly introduced
> u-prefixes.

This is exactly my use case on some projects; I can't always afford the time
delay of a processing step between every edit and test (the same complaint as
was made about 2to3 in the PEP). People should be free to use what's best for
their use cases and development work processes.

Regards,

Vinay Sajip

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to