Menu

#23 Deprecation warning with Python 2.6

MyHDL_0.6
closed-fixed
None
5
2009-05-10
2009-03-31
No

It would be good to check the version of Python in use before importing the Sets module since it gives a deprecation warning with Python 2.6:
$ python test_all.py
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/sets.py:85: DeprecationWarning: functions overriding warnings.showwarning() must support the 'line' argument
stacklevel=2)
** DeprecationWarning: the sets module is deprecated
Zero delay behavior ... ok
...

Discussion

  • Jan Decaluwe

    Jan Decaluwe - 2009-05-10

    Solved in development.

     
  • Jan Decaluwe

    Jan Decaluwe - 2009-05-10
    • milestone: --> MyHDL_0.6
    • assigned_to: nobody --> jandecaluwe
    • status: open --> closed-fixed
     

Log in to post a comment.

Auth0 Logo