Hi, On Fri, Apr 10, 2009 at 04:44:30PM -0700, Patrick Mullen wrote: > Python2.6 comes with json. Other than that, it is a small thing to include. > > The library seems to be built around json, so removing it as a > dependency doesn't make much sense.
Actually I don't think it would be a huge job to change the serialisation method to something else, optionally. I'll have a look it and see. My only concern is about security - I chose JSON serialisation over something like pickling because there's no way a client can inject malicious code using JSON. I wonder if there's some other safe, built-in, pythonic way of serialising data structures that I don't know about? > The whiteboard example is very impressive! It looks a lot easier to > start working with than twisted. Thanks! My intention was for it to be extremely simple, and lightweight, which Twisted isn't (/me dons his flame retardant suit). Part of being lightweight and simple is probably removing dependencies on unneccesary third party libraries, so I think I will have a crack at removing the simplejson requirement, and also making the built-in JSON of 2.6 useable. Best, Chris. ------------------- http://mccormick.cx
