]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Two minor changes for better Jython compatibility. Finn Bock says:
authorBarry Warsaw <barry@python.org>
Fri, 23 Mar 2001 17:53:49 +0000 (17:53 +0000)
committerBarry Warsaw <barry@python.org>
Fri, 23 Mar 2001 17:53:49 +0000 (17:53 +0000)
commit62d248892f8782d01cfeb1951d53eaeac81750fe
tree85be76bd682f2ec19fb18dab104a38c81bcd49e6
parent27dca06f0cd825635765e974a3a657d7192af6b0
Two minor changes for better Jython compatibility.  Finn Bock says:

    Change 1: Not all 'modules' in sys.modules have a
    sensible __file__ attribute. Some of our java package
    can have the __file__ attribute set to None.

    Change 2: In jython we have the jython license file in
    <root> and the CPython license file in <root>/Lib. By
    reversing the search sequence jython will find and
    show the jython license file before the CPython file.

Closes SF patch #405853.
Lib/site.py