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/2001-June/015338.html below:

[Python-Dev] sys.modules["__main__"] in Jython

[Python-Dev] sys.modules["__main__"] in Jython [Python-Dev] sys.modules["__main__"] in JythonTim Peters tim.one@home.com
Fri, 8 Jun 2001 18:02:06 -0400
[Finn Bock]
> To me it seems like Jython defines sys.modules["__main__"] in the same
> way as CPython.

Thank you, Finn!  doctest has always avoided introspection tricks for which
Jython doesn't work "exactly the same way" as CPython.  However, in the past
it achieved this by not paying any attention <wink>, then ripping out bad
ideas when a Jython user reported failure.  But now that it's in the std
library, I want to proceed more carefully.  Skip's idea is much more
attractive now that you've confirmed it will work there too.




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