~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
..
all_input.py 270 16 years ago dilshan_a Initial check in for test framework, and example p 210 bytes Diff Download File
all_input_text.xml 513 16 years ago stevenbird test/test_framework/*, exercises/sample/* * change 2.2 KB Diff Download File
fib.py 270 16 years ago dilshan_a Initial check in for test framework, and example p 102 bytes Diff Download File
fib_text.xml 513 16 years ago stevenbird test/test_framework/*, exercises/sample/* * change 1 KB Diff Download File
file_test.py 278 16 years ago dilshan_a Added README files to explain the test framework a 2.1 KB Diff Download File
filespace_test.py 278 16 years ago dilshan_a Added README files to explain the test framework a 372 bytes Diff Download File
filesum.py 295 16 years ago dilshan_a Added a filesum problem. Updated paths in test.py 53 bytes Diff Download File
filesum_text.xml 513 16 years ago stevenbird test/test_framework/*, exercises/sample/* * change 1.1 KB Diff Download File
hack_1.py 270 16 years ago dilshan_a Initial check in for test framework, and example p 123 bytes Diff Download File
hello.py 357 16 years ago stevenbird fixed syntax error 20 bytes Diff Download File
hello_text.xml 513 16 years ago stevenbird test/test_framework/*, exercises/sample/* * change 1.4 KB Diff Download File
problem.dtd 368 16 years ago stevenbird First version of a DTD for XML problem files 583 bytes Diff Download File
README-examples 511 16 years ago stevenbird README-examples: * documented new functionality fo 1.6 KB Diff Download File
test.py 513 16 years ago stevenbird test/test_framework/*, exercises/sample/* * change 1.1 KB Diff Download File
test_framework_tests.py 513 16 years ago stevenbird test/test_framework/*, exercises/sample/* * change 515 bytes Diff Download File
test_json.py 1801.1.1 14 years ago William Grant Replace cjson with json, or simplejson if json is 487 bytes Diff Download File
tests.py 513 16 years ago stevenbird test/test_framework/*, exercises/sample/* * change 1.3 KB Diff Download File
tute_doc.tex 283 16 years ago dilshan_a Fixed a bug where variables were persistent across 16.5 KB Diff Download File