[ python-Bugs-923576 ] Incorrect __name__ assignment

SourceForge.net noreply at sourceforge.net
Wed Mar 31 05:56:51 EST 2004


Bugs item #923576, was opened at 2004-03-26 00:43
Message generated for change (Comment added) made by mwh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=923576&group_id=5470

Category: Macintosh
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.



----------------------------------------------------------------------

>Comment By: Michael Hudson (mwh)
Date: 2004-03-31 11:56

Message:
Logged In: YES 
user_id=6656

Terry, this bug is in the 'Macintosh' category for a reason :-)

----------------------------------------------------------------------

Comment By: Terry J. Reedy (tjreedy)
Date: 2004-03-30 18:14

Message:
Logged In: YES 
user_id=593130

When making a bug report, please include at least the Python 
version.  The system you are running on is sometimes 
essential info also.

I am not familiar with either PythonLauncher or PythonIDE.  
Just PyWin and Idle.  If they are third-party items not part of 
the distribution, then this report should go to their authors.

'When you use' is also somewhat vague.  Saying what 
command line option or menu entry or buttom you used to 
run/load might also get a better answer.


----------------------------------------------------------------------

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