[Bug 997830] [NEW] deprecation warnings in py3versions
Julian Taylor
jtaylor.debian at googlemail.com
Thu May 10 22:23:44 UTC 2012
Public bug reported:
when building python-simplegeneric in precise/quantal you get a bunch of
deprecation warnings from py3versions:
/usr/bin/py3versions:11: DeprecationWarning: The SafeConfigParser class has been renamed to ConfigParser in Python 3.2. This alias will be removed in future versions. Use ConfigParser directly instead.
config = SafeConfigParser()
/usr/bin/py3versions:12: DeprecationWarning: This method will be removed in future versions. Use 'parser.read_file()' instead.
config.readfp(open('/usr/share/python3/debian_defaults'))
** Affects: python3-defaults (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
- when building python-simplegeneric you get a bunch of deprecation
- warnings from py3versions:
+ when building python-simplegeneric in precise/quantal you get a bunch of
+ deprecation warnings from py3versions:
/usr/bin/py3versions:11: DeprecationWarning: The SafeConfigParser class has been renamed to ConfigParser in Python 3.2. This alias will be removed in future versions. Use ConfigParser directly instead.
- config = SafeConfigParser()
+ config = SafeConfigParser()
/usr/bin/py3versions:12: DeprecationWarning: This method will be removed in future versions. Use 'parser.read_file()' instead.
- config.readfp(open('/usr/share/python3/debian_defaults'))
+ config.readfp(open('/usr/share/python3/debian_defaults'))
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/997830
Title:
deprecation warnings in py3versions
Status in “python3-defaults” package in Ubuntu:
New
Bug description:
when building python-simplegeneric in precise/quantal you get a bunch
of deprecation warnings from py3versions:
/usr/bin/py3versions:11: DeprecationWarning: The SafeConfigParser class has been renamed to ConfigParser in Python 3.2. This alias will be removed in future versions. Use ConfigParser directly instead.
config = SafeConfigParser()
/usr/bin/py3versions:12: DeprecationWarning: This method will be removed in future versions. Use 'parser.read_file()' instead.
config.readfp(open('/usr/share/python3/debian_defaults'))
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/997830/+subscriptions
More information about the foundations-bugs
mailing list