[ python-Bugs-1516910 ] warnings.py still refers to OverflowWarning

SourceForge.net noreply at sourceforge.net
Tue Jul 4 13:08:19 CEST 2006


Bugs item #1516910, was opened at 2006-07-04 21:08
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=1516910&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: John Machin (sjmachin)
Assigned to: Nobody/Anonymous (nobody)
Summary: warnings.py still refers to OverflowWarning

Initial Comment:
C:\devel\lfo_kit>c:\python25\python setup_mp.py install
Traceback (most recent call last):
  File "setup_mp.py", line 4, in <module>
    from distutils.core import setup, Extension
  File "c:\python25\lib\distutils\core.py", line 21, in
<module>
    from distutils.dist import Distribution
  File "c:\python25\lib\distutils\dist.py", line 16, in
<module>
    import warnings
  File "C:\python25\lib\warnings.py", line 265, in <module>
    simplefilter("ignore", category=OverflowWarning,
append=1)
NameError: name 'OverflowWarning' is not defined

C:\devel\lfo_kit>c:\python25\python
Python 2.5b1 (r25b1:47027, Jun 20 2006, 09:31:33) [MSC
v.1310 32 bit (Intel)] on win32

=====

I noted that on the line above, there's a comment
saying this should be removed for 2.5. I have commented
out the offending line in my local copy and now my
distutils stuff appears to be working.



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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1516910&group_id=5470


More information about the Python-bugs-list mailing list