psycopg2/lib
Jon Dufresne 8ad2098b74 Drop 2to3 build step; make all code compatible with all Pythons
Make all library code compatible with both Python 2 and Python 3. Helps
move to modern Python idioms. Can now write for Python 3 (with
workarounds for Python 2) instead of the other way around.

In the future, when it is eventually time to drop Python 2, the library
will be in a better position to remove workarounds

Added a very small comparability module compat.py where required. It
includes definitions for:

- text_type -- A type. str on Python 3. unicode on Python 2.
- string_types -- A tuple. Contains only str on Python 3. Contains str &
                  unicode on Python 2.
2017-12-11 20:26:58 -08:00
..
__init__.py Remove workaround for decimal module 2017-11-26 17:55:24 -08:00
_ipaddress.py Drop 2to3 build step; make all code compatible with all Pythons 2017-12-11 20:26:58 -08:00
_json.py Remove redundant parentheses 2017-11-28 16:06:52 +00:00
_range.py Drop 2to3 build step; make all code compatible with all Pythons 2017-12-11 20:26:58 -08:00
compat.py Drop 2to3 build step; make all code compatible with all Pythons 2017-12-11 20:26:58 -08:00
errorcodes.py Drop 2to3 build step; make all code compatible with all Pythons 2017-12-11 20:26:58 -08:00
extensions.py Drop 2to3 build step; make all code compatible with all Pythons 2017-12-11 20:26:58 -08:00
extras.py Drop 2to3 build step; make all code compatible with all Pythons 2017-12-11 20:26:58 -08:00
pool.py Drop 2to3 build step; make all code compatible with all Pythons 2017-12-11 20:26:58 -08:00
sql.py Drop 2to3 build step; make all code compatible with all Pythons 2017-12-11 20:26:58 -08:00
tz.py Remove redundant parentheses 2017-11-28 16:06:52 +00:00