Merge pull request #52 from jaraco/master

Try separate requirements.txt for Python 2 and 3
contrib: add a PyQt4 example

Add an example demonstrating how to use a custom handler
to serialize PyQt4.QtCore.QPointF instances.
requirements-3.txt: add simplejson and feedparser

Signed-off-by: David Aguilar <davvid@gmail.com>
handlers: add support for python3.2

Detect the varying results returned from the json library and
normalize them so that we can consistently call b64decode().
This makes us python3.2-compatible, sans simplejson.

Closes #51
Signed-off-by: David Aguilar <davvid@gmail.com>
tests: fix tests for python3.2

Python 3.2 does not support unicode literals so the simplejson
module is not available there.

Skip the simplejson tests when on Python 3.2 and hide the
backend tests that are not available under Python 3.x so that
`nosetests --with-doctest` does not see them.

Closes #51
Signed-off-by: David Aguilar <davvid@gmail.com>
tests: add ujson python3 dependency

Signed-off-by: David Aguilar <davvid@gmail.com>
handlers: handle byte strings when using base64

Add helper methods to paper over the byte strings used by the
base64 module on python3.  This prevents `bytes` objects from
entering the json stream.

Signed-off-by: David Aguilar <davvid@gmail.com>
jsonpickle v0.6.1

Signed-off-by: David Aguilar <davvid@gmail.com>
tests: skip tests when backend is unavailable

Signed-off-by: David Aguilar <davvid@gmail.com>
tests: skip feedparser tests when not installed

Also tweak the backend test for consistency.

Signed-off-by: David Aguilar <davvid@gmail.com>
Add test for recursive dicts with numeric keys

--HG--
extra : amend_source : b5aa95eb9a3da973fc09397a137679c5b3356c2f