2 messages in org.python.python-bugs-list[ python-Bugs-917108 ] warnings.py do...
FromSent OnAttachments
SourceForge.netMar 16, 2004 12:59 am 
SourceForge.netMar 21, 2004 12:16 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[ python-Bugs-917108 ] warnings.py does not define _test()Actions...
From:SourceForge.net (nore@sourceforge.net)
Date:Mar 21, 2004 12:16:45 pm
List:org.python.python-bugs-list

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

Category: Python Library Group: Python 2.4

Status: Closed Resolution: Fixed

Priority: 5 Submitted By: Aahz (aahz) Assigned to: Nobody/Anonymous (nobody) Summary: warnings.py does not define _test()

Initial Comment: At the bottom of warnings.py, there's a call to _test() if run as a script. However, _test() is neither defined nor imported.

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

Comment By: Tim Peters (tim_one)

Date: 2004-03-21 12:16

Message: Logged In: YES user_id=31435

Fixed, by removing the entire __name__ == '__main__' block.

Lib/warnings.py; new revision: 1.23

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