This project is archived and is in readonly mode.

#162 ✓ invalid
Psycopg website

RuntimeError: dictionary changed size during iteration

Reported by Psycopg website | May 7th, 2013 @ 10:12 AM

Submitted by: michael poeltl michael.poeltl@univie.ac.at

psycopg2 (2.5) with python3.3;
extensions.py line 173
for k, v in encodings.items():
k = k.replace('_', '').replace('-', '').upper() encodings[k] = v

throws a RuntimeError exception
(RuntimeError: dictionary changed size during iteration)

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 »

WARNING: the informations in this tracker are archived. Please submit new tickets or comments to the new tracker.


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