[Python-ideas] PEP 511: API for code transformers
Ethan Furman
ethan at stoneleaf.us
Sat Jan 30 13:35:24 EST 2016
On 01/30/2016 09:29 AM, Brett Cannon wrote:
> On Fri, Jan 29, 2016, 11:57 Andrew Barnert wrote:
>> Earlier I suggested that the import system documentation should have
>> some simple examples of how to actually use the import system to
>> write transforming hooks. Someone (Brett?) pointed out that it's a
>> dangerous technique, and making it too easy for people to play with
>> it without understanding it may be a bad idea. And they're probably
>> right.
> If we added an appropriate warning to the example I would be fine
> adding one that covers how to add a custom loader.
That would be great!
--
~Ethan~
More information about the Python-ideas
mailing list