1
1
mirror of https://github.com/psycopg/psycopg2.git synced 2025-02-28 14:30:32 +03:00
psycopg2/sandbox/typecrash.py

8 lines
190 B
Python
Raw Normal View History

2005-11-28 06:44:14 +03:00
import psycopg2.extensions
print dir(psycopg2._psycopg)
print psycopg2.extensions.new_type(
(600,), "POINT", lambda oids, name, fun: None)
print "ciccia ciccia"
print psycopg2._psycopg