rogerallen / ramu

Automatically exported from code.google.com/p/ramu
0 stars 0 forks source link

Sets is deprecated #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run twinkle.py, for example

What is the expected output? What do you see instead?
Should see no warnings, instead I see:
/Users/rallen/lib/python/ramu/music.py:30: DeprecationWarning: the sets
module is deprecated
  import sets

According to http://www.python.org/dev/peps/pep-0004/

    Module name:   sets
    Rationale:     The built-in set/frozenset types, introduced in
                   Python 2.4, supplant the module.
    Date:          12-Jan-2007
    Documentation: Documented as deprecated as of Python 2.6.

Hrmph.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by rallen on 16 Feb 2010 at 5:55

GoogleCodeExporter commented 9 years ago
That was easy to fix.

Original comment by rallen on 16 Feb 2010 at 6:07