I'm experimenting with rpc_python, and simplejson and I seem to have run into a 
problem. In rpc_python file json.py, the lines:

from simplejson import ANYTHING
from simplejson import Scanner, pattern

all fail even though simplejson is installed. Easy install picks up version 
2.1.2. at the moment. Because I don't have cjson (and can't use it 
unfortunately , I need a pure python solution) the server fails to start.

I've had a quick look through the code on the assumption that ANYTHING might be 
a variable and although it's used in line 179 of json.py:

_scanner=Scanner(ANYTHING+[JSONDateTime])

...in a way that looks like a variable or constant to me, it doesn't seem to be 
set anywhere as far as I can see although this is based on a pretty superficial 
examination.

I also had a quick look through simplejson.scanner by executing 
dir(simplejson.scanner) no sign of Scanner or pattern that I could see. I've 
only been using python for a few weeks though so something could easily have 
escaped me. 

I got the impression from the documentation that Christian Boulanger was the 
maintainer for this code but he tells me he's no longer in that role. Can 
anyone else help me with this ?

Andy Dwelly

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to