[Python-Dev] __pycode__ extension

Samuele Pedroni pedronis at bluewin.ch
Wed Nov 17 20:47:42 CET 2004

Samuele Pedroni wrote:
>> What good is that?
> I agree with the spirit of the observation, but I think that aspect is 
> immaterial. Personally I think some form of this feature is valuable as 
> long as it means getting inspect.getsource (and companions) or some 
> variation working no matter what. So as long as what goes in the 
> attribute covers the cases not working today, that should be fine.

of course depending on the scenarios one has in mind, working may mean 
produce always an output but with the same limitations from code in py 
files, or produce a correct output even in the case of file editings.

More information about the Python-Dev mailing list