This project is archived and is in readonly mode.
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
-
Daniele Varrazzo March 29th, 2012 @ 11:01 PM
- State changed from new to resolved
Yes, it's already been fixed a couple of releases ago.
https://github.com/dvarrazzo/psycopg/commit/bb8e1e94555429c5aacfb40...
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.