def standard_paths():
for is_plat_spec in [True, False]:<EOL><INDENT>path = distutils.sysconfig.get_python_lib(standard_lib=True,<EOL>plat_specific=is_plat_spec)<EOL>for name in os.listdir(path):<EOL><INDENT>yield name<EOL><DEDENT>try:<EOL><INDENT>for name in os.listdir(os.path.join(path, '<STR_LIT>')):<EOL><INDENT>yield name<EOL><DEDENT><DEDENT>except OSError:  <EOL><INDENT>pass<EOL><DEDENT><DEDENT>
Yield paths to standard modules.