from __future__ import *
PyCon 2010, Analysis: The Other Kind of Testing
March 10, 2010 at 10:45 PM | categories: python, PyCon | View CommentsI gave a talk at PyCon 2010 in Atlanta last month called Analysis: The Other Kind of Testing (video). It's a very simple overview of techniques such as split testing (AB testing) and a call to action to improve django-lean.
Atlanta was a fantastic location for PyCon 2010, and I look forward to returning next year. Hopefully if I give another talk I'll be able to put a little more time into it :)
As per usual, I've been incredibly lazy about updating this blog, so you're much better off following @etrepum on Twitter.
simplejson 2.1.0
March 10, 2010 at 08:24 PM | categories: python, simplejson | View Commentssimplejson (documentation) is a simple, fast, complete, correct and extensible JSON (RFC 4627) encoder/decoder for Python 2.5+. It is pure Python code with no dependencies, but features an optional C extension for speed-ups.
simplejson 2.1.0 is a major update with several new features and bug-fixes:
- Decimal serialization officially supported for encoding with use_decimal=True. For encoding this encodes Decimal objects and for decoding it implies parse_float=Decimal
- Python 2.4 no longer supported (may still work, but no longer tested)
- Decoding performance and memory utilization enhancements http://bugs.python.org/issue7451
- JSONEncoderForHTML class for escaping &, <, > http://code.google.com/p/simplejson/issues/detail?id=66
- Memoization of object keys during encoding (when using speedups)
- Encoder changed to use PyIter_Next for list iteration to avoid potential threading issues
- Encoder changed to use iteritems rather than PyDict_Next in order to support dict subclasses that have a well defined ordering http://bugs.python.org/issue6105
- indent encoding parameter changed to be a string rather than an integer (integer use still supported for backwards compatibility) http://code.google.com/p/simplejson/issues/detail?id=56
- Test suite (python setup.py test) now automatically runs with and without speedups http://code.google.com/p/simplejson/issues/detail?id=55
- Fixed support for older versions of easy_install (e.g. stock Mac OS X config) http://code.google.com/p/simplejson/issues/detail?id=54
- Fixed str/unicode mismatches when using ensure_ascii=False http://code.google.com/p/simplejson/issues/detail?id=48
- Fixed error message when parsing an array with trailing comma with speedups http://code.google.com/p/simplejson/issues/detail?id=46
- Refactor decoder errors to raise JSONDecodeError instead of ValueError http://code.google.com/p/simplejson/issues/detail?id=45
- New ordered_pairs_hook feature in decoder which makes it possible to preserve key order. http://bugs.python.org/issue5381
- Fixed containerless unicode float decoding (same bug as 2.0.4, oops!) http://code.google.com/p/simplejson/issues/detail?id=43
- Share PosInf definition between encoder and decoder
- Minor reformatting to make it easier to backport simplejson changes to Python 2.7/3.1 json module
PyCon 2009, Drop ACID and think about data
April 01, 2009 at 02:11 PM | categories: python, PyCon | View CommentsI'm getting increasingly lazy about updating my blog these days, probably best to follow me on twitter: http://twitter.com/etrepum
Anyway, I gave a talk at PyCon 2009 in Rosemont ("Chicago") last week called Drop ACID and think about data. Basically it is a survey of some of the various kinds of non-traditional database technologies I've been looking at the past few years. Notable technologies NOT talked about are object databases and graph databases. *UPDATE* Video available here: http://blip.tv/file/1949416
Slides are on BitBucket for now: Drop ACID and think about data
I'll be giving a (hopefully updated) version of this talk at OpenSourceBridge, which is in Portland, OR June 17-19.
If you're interested in the content of this talk there is far more insightful information on Jonathan Ellis' Programming Blog, one of the developers working on Cassandra.
simplejson 2.0.9
February 18, 2009 at 04:00 PM | categories: python, simplejson | View Commentssimplejson (documentation) is a simple, fast, complete, correct and extensible JSON (RFC 4627) encoder/decoder for Python 2.4+. It is pure Python code with no dependencies, but features an optional C extension for speed-ups.
simplejson 2.0.9 is a major bug-fix update:
- Adds cyclic GC to the Encoder and Scanner speedups, which could've caused uncollectible cycles in some cases when using custom parser or encoder functions
simplejson 2.0.8
February 15, 2009 at 04:56 PM | categories: python, simplejson | View Commentssimplejson (documentation) is a simple, fast, complete, correct and extensible JSON (RFC 4627) encoder/decoder for Python 2.4+. It is pure Python code with no dependencies, but features an optional C extension for speed-ups.
simplejson 2.0.8 is a minor bug-fix update:
- Documentation fixes
- Fixes encoding True and False as keys
- Fixes checking for True and False by identity for several parameters
simplejson 2.0.7
January 04, 2009 at 09:41 PM | categories: python, simplejson | View Commentssimplejson (documentation) is a simple, fast, complete, correct and extensible JSON (RFC 4627) encoder/decoder for Python 2.4+. It is pure Python code with no dependencies, but features an optional C extension for speed-ups.
simplejson 2.0.7 is a minor bug-fix update:
- Documentation fixes
- C extension now always returns unicode strings when the input string is unicode, even for empty strings
simplejson 2.0.6
December 19, 2008 at 03:13 PM | categories: python, simplejson | View Commentssimplejson (documentation) is a simple, fast, complete, correct and extensible JSON (RFC 4627) encoder/decoder for Python 2.4+. It is pure Python code with no dependencies, but features an optional C extension for speed-ups.
simplejson 2.0.6 is a minor bug-fix update:
- Windows build fixes
simplejson 2.0.5
November 23, 2008 at 01:11 PM | categories: python, simplejson | View Commentssimplejson (documentation) is a simple, fast, complete, correct and extensible JSON (RFC 4627) encoder/decoder for Python 2.3+. It is pure Python code with no dependencies, but features an optional C extension for speed-ups.
simplejson 2.0.5 is a minor bug-fix update:
- Fixes a segfault in the C extension when using check_circular=False and encoding an invalid document
simplejson 2.0.4
October 24, 2008 at 10:21 AM | categories: python, simplejson | View Commentssimplejson (documentation) is a simple, fast, complete, correct and extensible JSON (RFC 4627) encoder/decoder for Python 2.3+. It is pure Python code with no dependencies, but features an optional C extension for speed-ups.
simplejson 2.0.4 is a minor bug-fix update:
- Fixes a parsing error in the C extension when the JSON document is (only) a floating point number. It would consume one too few characters in that case, and claim the document invalid.
simplejson 2.0.3
October 11, 2008 at 12:35 PM | categories: python, simplejson | View Commentssimplejson (documentation) is a simple, fast, complete, correct and extensible JSON (RFC 4627) encoder/decoder for Python 2.3+. It is pure Python code with no dependencies, but features an optional C extension for speed-ups.
simplejson 2.0.3 is an important bug-fix update:
- Fixes reference leaks in the encoding speedups (sorry about that!)
- Fixes doctest suite for Python 2.6
- More optimizations for the decoder
Next Page ยป