Bugs item #1516910, was opened at 2006-07-04 21:08 Message generated for change (Comment added) made by sjmachin 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: Closed Resolution: Works For Me 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. ---------------------------------------------------------------------- >Comment By: John Machin (sjmachin) Date: 2006-07-05 20:09 Message: Logged In: YES user_id=480138 Yes, was local problem caused by jumbled install of 2.5b1 over the top of 2.5a2 -- am taking that issue up with MvL. Sorry for the nuisance, Georg. ---------------------------------------------------------------------- Comment By: Georg Brandl (gbrandl) Date: 2006-07-05 18:22 Message: Logged In: YES user_id=849994 There must be a problem on your end. In the current warnings.py there's no reference to OverflowWarning anymore. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1516910&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com