simplejson raises deprecation warning on import in feisty
Bug #91150 reported by
John Beisley
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
simplejson (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-simplejson
To reproduce, run Python 2.5 (default in feisty), and enter: "import simplejson"
This is not a critical problem, but might be in future Python releases. For now it just outputs ugly warnings.
The problem appears to have been fixed in version 1.6 of simplejson (upstream). Upstream version 1.6 seems to import without warning on both Python 2.4 and 2.5.
Changed in simplejson: | |
status: | New → Fix Released |
To post a comment you must log in.
Oh, and the warning message itself: python- support/ python2. 5/simplejson/ scanner. py:6: DeprecationWarning: The sre module is deprecated, please import re.
/var/lib/
from sre import VERBOSE, MULTILINE, DOTALL