Opened 4 years ago

Last modified 4 months ago

#61 new enhancement

Consider adding type hints

Reported by: cito Owned by:
Priority: minor Milestone: 6.0
Component: Classic and DB API Version: 4.1
Keywords: types Cc:

Description (last modified by cito)

Python supports type hints since Python 3.5.

To support tool developers with tools such as PyCharm, we might consider adding type hints for PyGreSQL 5.x, e.g. in the form of additional *.pyi stub files.

Change History (2)

comment:1 Changed 4 years ago by cito

  • Priority changed from major to minor

comment:2 Changed 4 months ago by cito

  • Description modified (diff)
  • Milestone changed from 5.1 to 6.0

Postponing this to a future version that supports only Py >= 3.5. We can then add proper type hints directly into the code.

Note: See TracTickets for help on using tickets.