An important detail is missing from the LaTeX library ref, namely how to get at the values of the special types (bool, date, binary); I had to inspect code to get at this (I think even the module docstrings don't reveal this). Naively (with str) you get the repr() values: <Boolean True at 8287f8c>, <DateTime 20030818T18:42:52 at 829ab94>, <xmlrpclib.Binary instance at 0x829aeb4>), To get at the underlying real values, you need: int(boolval) (or bool(boolval) for 2.3) dateval.value binary.data This should be documented on the relevant sections (11.20.2/3/4).
Logged In: YES user_id=752496 Please, could you verify if this problem persists in Python 2.3.4 or 2.4? If yes, in which version? Can you provide a test case? If the problem is solved, from which version? Note that if you fail to answer in one month, I'll close this bug as "Won't fix". Thank you! . Facundo