A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-November/040229.html below:

[Python-checkins] python/dist/src/Lib modulefinder.py, 1.7, 1.8

[Python-Dev] Re: [Python-checkins] python/dist/src/Lib modulefinder.py, 1.7, 1.8Guido van Rossum guido at python.org
Fri Nov 14 11:03:39 EST 2003
> Index: modulefinder.py
> ===================================================================
> RCS file: /cvsroot/python/python/dist/src/Lib/modulefinder.py,v
> retrieving revision 1.7
> retrieving revision 1.8
> diff -C2 -d -r1.7 -r1.8
> *** modulefinder.py	18 Jul 2003 15:31:40 -0000	1.7
> --- modulefinder.py	14 Nov 2003 10:28:42 -0000	1.8
> ***************
> *** 211,215 ****
>               return
>           modules = {}
> !         suffixes = [".py", ".pyc", ".pyo"]
>           for dir in m.__path__:
>               try:
> --- 211,220 ----
>               return
>           modules = {}
> !         # 'suffixes' used to be a list hardcoded to [".py", ".pyc", ".pyo"].
> !         # But we must also collect Python extension modules - although
> !         # we cannot separate normal dlls from Python extensions.
> !         suffixes = []
> !         for triple in imp.get_suffixes():
> !             suffixes.append(triple[0])
>           for dir in m.__path__:
>               try:

Have you tested freeze after this?  I'm not sure that receiving
extension module files won't confuse it.

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4