Faking stdlib

Antoon Pardon antoon.pardon at vub.be
Thu Oct 1 02:59:37 EDT 2020


I'm playing with the following idea.

Have the main program do some kind of preparations so that all further 
modules can import the standard modules via stdlib. So instead of

     import sys
     from itertools import chain

I could do

     import stdlib.sys
     from stdlib.itertools import chain

-- 
Antoon Pardon


More information about the Python-list mailing list