The following code segfaults on `connection_repr()`, because `self->dsn` is not set yet: ``` py class conn2(psycopg2.extensions.connection): def __init__(conn, *args, **kwargs): print(repr(conn)) super(psycopg2.extensions.connection, conn).__init__(*args, **kwargs) psycopg2.connect('', connection_factory=conn2) ``` Do we want to fix this? Just add a check like `self->dsn ? self->dsn : "None"`?