psycopg2/psycopg
Daniele Varrazzo 73a680f45d Convert int subclasses to long before adapting
Fixes adaptation of int/long subclasses whose str() is not the number,
such IntEnum

Close #591

Note that I thought it would have needed a new adapter, so I considered
it a new feature. But it is more a shortcoming of the int adapter
failing to do something reasonable (poor Liskov, always mistreated) so I
may actually backport it if there is a new 2.7 release.
2018-11-16 18:16:03 +00:00
..
_psycopg.vc9.amd64.manifest Windows manifest changes based upon architecture 2011-02-11 10:01:38 -07:00
_psycopg.vc9.x86.manifest Windows manifest changes based upon architecture 2011-02-11 10:01:38 -07:00
adapter_asis.c Dropped simple type wrapper functions 2014-08-15 02:54:31 +01:00
adapter_asis.h Dropped simple type wrapper functions 2014-08-15 02:54:31 +01:00
adapter_binary.c Dropped ifdef guards against obsolete libpq versions 2016-08-15 02:55:44 +01:00
adapter_binary.h Dropped simple type wrapper functions 2014-08-15 02:54:31 +01:00
adapter_datetime.c Moved datatime compatibility macros with others 2018-01-10 22:29:16 +00:00
adapter_datetime.h Don't fail import if mx.DateTime module is not found at import time 2011-06-04 14:16:24 +01:00
adapter_list.c Fixed adaptation of lists of empty lists 2018-10-30 01:48:51 +00:00
adapter_list.h Dropped simple type wrapper functions 2014-08-15 02:54:31 +01:00
adapter_mxdatetime.c Dropped almost-no-op customized objects repr() 2014-08-15 02:54:10 +01:00
adapter_mxdatetime.h Pulled down changes from dvarrazzo branch on gh 2011-02-10 15:59:31 -07:00
adapter_pboolean.c Dropped PSYCOPG_NEW_BOOLEAN flag 2014-08-24 01:25:02 +01:00
adapter_pboolean.h Dropped simple type wrapper functions 2014-08-15 02:54:31 +01:00
adapter_pdecimal.c Dropped simple type wrapper functions 2014-08-15 02:54:31 +01:00
adapter_pdecimal.h Dropped simple type wrapper functions 2014-08-15 02:54:31 +01:00
adapter_pfloat.c Dropped simple type wrapper functions 2014-08-15 02:54:31 +01:00
adapter_pfloat.h Dropped simple type wrapper functions 2014-08-15 02:54:31 +01:00
adapter_pint.c Convert int subclasses to long before adapting 2018-11-16 18:16:03 +00:00
adapter_pint.h Dropped simple type wrapper functions 2014-08-15 02:54:31 +01:00
adapter_qstring.c Dropped compiler warning about signed/unsigned comparisons 2017-02-08 08:44:08 +00:00
adapter_qstring.h Work in progress on writable encoding 2016-07-01 18:00:05 +01:00
bytes_format.c Trim trailing whitespace from all files throughout project 2017-12-01 21:42:14 -08:00
column_type.c Added table_oid, table_column on cursor.description items 2018-10-11 03:37:09 +01:00
column.h Added table_oid, table_column on cursor.description items 2018-10-11 03:37:09 +01:00
config.h Remove obsolete and incorrect FreeBSD version condition 2018-09-07 23:57:33 +01:00
connection_int.c Autocommit shouldn't change deferrable on servers not supporting it 2018-02-08 15:00:38 +00:00
connection_type.c Merge branch 'master' into feature-expose-pgconn 2018-11-07 14:15:29 +01:00
connection.h Added readonly and deferrable attributes 2017-02-16 12:46:35 +00:00
conninfo_type.c Guard from some info functions not available in some libpq versions 2018-10-13 03:09:39 +01:00
conninfo.h Moving host attribute to a connection.info object 2018-10-11 22:42:52 +01:00
cursor_int.c Accept Composable in start_replication_expert() 2017-06-17 03:30:44 +01:00
cursor_type.c Fixed compile error on windows 2018-07-24 21:16:36 +01:00
cursor.h Accept Composable in start_replication_expert() 2017-06-17 03:30:44 +01:00
diagnostics_type.c Merge branch 'master' into https 2018-10-10 22:07:33 +01:00
diagnostics.h psycopg2.Error object and type renamed more consistently 2013-03-20 00:03:58 +00:00
error_type.c Don't look up for Python encoding 2016-12-29 22:11:58 +01:00
error.h Don't look up for Python encoding 2016-12-29 22:11:58 +01:00
green.c Dropped PSYCOPG_EXTENSIONS flag 2014-08-23 19:30:48 +01:00
green.h Prefer https:// URLs when available 2018-09-22 19:02:33 -07:00
libpq_support.c Use inttypes.h definitions 2016-08-14 19:48:31 +01:00
libpq_support.h Don't use PG_INT64_TYPE 2017-03-02 19:32:39 +00:00
lobject_int.c Dropped compiler warning in debug mode 2017-02-04 02:32:26 +00:00
lobject_type.c Handle lobject mode=None correctly 2017-04-16 03:20:31 +02:00
lobject.h Fix Windows 64bit lobject support for very (>2GB) large objects 2016-03-10 12:02:00 +00:00
microprotocols_proto.c Name the types after the module they are exposed from 2014-08-15 01:47:19 +01:00
microprotocols_proto.h Fix multiple misspellings 2013-04-26 09:59:40 +01:00
microprotocols.c Give precedence to '__conform__()' over superclasses choosing adapter 2017-02-05 11:54:50 +01:00
microprotocols.h Pulled down changes from dvarrazzo branch on gh 2011-02-10 15:59:31 -07:00
notify_type.c Use the connection.info properties instead of the legacy methods 2018-10-13 03:28:42 +01:00
notify.h Notify and Xid objects and types renamed for consistency 2013-03-20 01:48:05 +00:00
pgtypes.h Added aync.txt to distribution. 2005-11-29 12:01:46 +00:00
pqpath.c Merge branch 'master' into errors-module 2018-10-15 00:58:32 +01:00
pqpath.h Drop ReplicationCursor.flush_feedback(), rectify pq_*_replication_*() interface. 2015-10-23 18:30:18 +02:00
psycopg.h Obscure the password on url dsn too 2017-03-16 03:53:40 +00:00
psycopgmodule.c Moving host attribute to a connection.info object 2018-10-11 22:42:52 +01:00
python.h Added several ConnectionInfo attributes 2018-10-12 04:18:59 +01:00
replication_connection_type.c replication connection init refactored to use psyco_make_dsn 2017-03-16 03:55:22 +00:00
replication_connection.h Use python-defined make_dsn() for ReplicationConnection class 2016-03-08 18:52:21 +01:00
replication_cursor_type.c Accept Composable in start_replication_expert() 2017-06-17 03:30:44 +01:00
replication_cursor.h Allow retrying start_replication after syntax or data error. 2016-01-05 12:31:57 +01:00
replication_message_type.c Dropped import of postgres internal/c.h 2016-08-14 19:36:48 +01:00
replication_message.h Use inttypes.h definitions 2016-08-14 19:48:31 +01:00
solaris_support.c Fixed building on SmartOS 2018-02-19 11:40:05 +00:00
solaris_support.h Fixed building on SmartOS 2018-02-19 11:40:05 +00:00
typecast_array.c Added back timestamptz[] default cast 2017-07-24 14:23:36 +01:00
typecast_basic.c Don't look up for Python encoding 2016-12-29 22:11:58 +01:00
typecast_binary.c Prefer https:// URLs when available 2018-09-22 19:02:33 -07:00
typecast_binary.h Pulled down changes from dvarrazzo branch on gh 2011-02-10 15:59:31 -07:00
typecast_builtins.c Trim trailing whitespace from all files throughout project 2017-12-01 21:42:14 -08:00
typecast_datetime.c Raise NotSupportedError fetching iso_8601 intervals 2018-05-20 13:22:38 +01:00
typecast_mxdatetime.c Trim trailing whitespace from all files throughout project 2017-12-01 21:42:14 -08:00
typecast.c Return objects with timezone parsing infinity timestamptz 2017-03-22 03:03:02 +00:00
typecast.h Further modeling of exception raising 2012-03-04 04:38:44 +00:00
utils.c Allow strings subclasses in ensure_bytes 2018-02-21 10:27:28 +00:00
win32_support.c Added support for MSVC compiler 2017-02-09 20:57:54 -07:00
win32_support.h Added support for MSVC compiler 2017-02-09 20:57:54 -07:00
xid_type.c Dropped GC support from Xid and Notify types 2013-04-02 01:50:31 +01:00
xid.h Notify and Xid objects and types renamed for consistency 2013-03-20 01:48:05 +00:00