[Python-Dev] Install / import hooks
Vinay Sajip
vinay_sajip at yahoo.co.uk
Sun Mar 4 17:06:31 CET 2012
More information about the Python-Dev mailing list
Sun Mar 4 17:06:31 CET 2012
- Previous message: [Python-Dev] Install Hook [Was: Re: PEP 414 updated]
- Next message: [Python-Dev] Install Hook [Was: Re: PEP 414 updated]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Install Hook [Was: Re: PEP 414 updated]
- Next message: [Python-Dev] Install Hook [Was: Re: PEP 414 updated]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list