(2012/07/31 21:29), SASADA Koichi wrote:
> 
> === Python: PEP-273, PEP-302
> 
> Python can import file from Java file (described in PEP-273).
> Python extends PEP-273 to import any format file by PEP-302.
> This proposal (Proposal1) is based on PEP-302.
> 
> However, PEP-302 can only support to import `.py' and `.pyc' files, not
> other file format.

Thanks Python hackers.  They give us the nice comments on it:

http://programmers.stackexchange.com/questions/154247/experience-of-pythons-pep-302-new-import-hooks

-- 
// SASADA Koichi at atdot dot net