Issue 7130: json uses sre_* modules which may not work on alternate implemenations (original) (raw)

Issue7130

Created on 2009-10-14 18:54 by dino.viehland, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg94010 - (view) Author: Dino Viehland (dino.viehland) * (Python committer) Date: 2009-10-14 18:54
Currently the json module is using the sre_* modules to construct it's regular expressions instead of just using the re module directly. Because of this it's taking a dependency on what would appear to be CPython specific implementation details (sre_* appear to be undocumented) and a deprecated module. The end result is that json decoding doesn't work on IronPython and may not work on other Python implementations.
msg94041 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2009-10-14 22:29
This doesn't seem true on trunk/py3k (2.7, 3.2) anymore. Please reopen if I'm wrong.
History
Date User Action Args
2022-04-11 14:56:53 admin set github: 51379
2009-10-14 22:29:36 pitrou set status: open -> closedversions: + Python 2.7, Python 3.2nosy: + bob.ippolito, pitroumessages: + resolution: out of date
2009-10-14 18:54:03 dino.viehland create