ledger/ledger — pull request #108 by afh (2012-11-19 22:15:33+00:00)
Title: Fix crash when accessing the transaction code via post.xact.code using python

This pull request addresses issue #105.

ledger would abort with the following error message:

TypeError: No Python class registered for C++ class boost::optional

The changes pass a CallPolicy to make_getter when adding the transaction
`code` property for python, so that the correct `to_python` conversion is
made. For details see: [boost faq](http://www.boost.org/doc/libs/1_52_0/libs/python/doc/v2/faq.html#topythonconversionfailed)

I've named the regression test for this issue `test/regress/xact_code_py.test`
but would like the stick to the current naming scheme (8 digit hex number).
How are the names for the test files properly generated?