[ python-Bugs-923576 ] Incorrect __name__ assignment
SourceForge.net
noreply at sourceforge.net
Thu Mar 25 19:43:41 EST 2004
Bugs item #923576, was opened at 2004-03-26 00:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=923576&group_id=5470
Category: Parser/Compiler
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: El cepi (elcepi)
Assigned to: Nobody/Anonymous (nobody)
Summary: Incorrect __name__ assignment
Initial Comment:
When you use PythonLauncher or PythonIDE the value of
__name__ is incorrectly assigned.
For example, in the attached file the output is "The module
has been load" when the module is fun in PythonIDE.
With this you can not disciminate between the code you
should run when you load the module and when you try to
run it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=923576&group_id=5470
More information about the Python-bugs-list
mailing list