This project is archived and is in readonly mode.

#106 ✓resolved
Mike Shultz

Bug leading to indescriptive error in extras

Reported by Mike Shultz | March 29th, 2012 @ 10:00 PM

I do believe ln 801 should use 'tokens' instead of 'self.tokens'. If the script attempts to raise this exception, it gives the error that 'CompositeCaster' object has no attribute 'tokens'.

                 (len(self.atttypes), self.name, len(tokens)))

This was in psycopg2-2.4-py2.7-linux-x86_64.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

<b>WARNING:</b> the informations in this tracker are archived. Please submit new tickets or comments to <a href="https://github.com/psycopg/psycopg2/issues">the new tracker</a>.
<br/>
Psycopg is the most used PostgreSQL adapter for the Python programming language. At the core it fully implements the Python DB API 2.0 specifications. Several extensions allow access to many of the features offered by PostgreSQL.

Shared Ticket Bins

Pages