~azzar1/unity/add-show-desktop-key

  • Committer: David Coles
  • Date: 2010-08-30 03:26:13 UTC
  • Revision ID: coles.david@gmail.com-20100830032613-d14vng0jkelniu3l
python-console: Fix globals broken with new JSON library.

simplejson always returns unicode strings. cJSON would return ordinary strings 
if possible. cPickle.loads() only accepts strings. At present we use pickle 
version 0 so they should all works as ASCII strings. Higher versions of pickle 
are not plain ASCII and are likely to break this and so this should be fixed 
at some point.

Also replaced unconditional exception with one that catches Pickle errors. Not 
sure the best way to report failures of these functions.
Filename Latest Rev Last Changed Committer Comment Size
..
test 1099.1.34 15 years ago William Grant Split up ivle.webapp.base.views into ivle.webapp.b Diff
__init__.py 1099.1.95 15 years ago William Grant Error views are now retrieved from a class method Empty Diff Download File
forms.py 1733 14 years ago Matt Giuca DateTimeValidator: Removed some debugging code. Oo 4.5 KB Diff Download File
ivle-headings.html 1586 14 years ago William Grant Be a bit nicer when displaying the public mode use 3.6 KB Diff Download File
overlays.py 1720 14 years ago William Grant Share one TemplateLoader between every instance of 2 KB Diff Download File
plugins.py 1294.2.123 15 years ago William Grant Fix up the ViewPlugin docstring; it's all differen 3.8 KB Diff Download File
rest.py 1801.1.1 14 years ago William Grant Replace cjson with json, or simplejson if json is 7.6 KB Diff Download File
text.py 1812 14 years ago Matt Giuca TextView: Removed constructor (it just called its 2.6 KB Diff Download File
views.py 1673 14 years ago William Grant Reject off-site non-GET requests. 1.4 KB Diff Download File
xhtml.py 1720 14 years ago William Grant Share one TemplateLoader between every instance of 10.5 KB Diff Download File
xhtmlerror.html 1100.1.24 15 years ago Matt Giuca (almost) all HTML pages updated: Moved <h1>s outsi 354 bytes Diff Download File
xhtmlunauthorized.html 1294.2.130 15 years ago William Grant If the user is an admin, indicate the object in an 292 bytes Diff Download File