Opened 4 years ago

Last modified 6 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: majorminor

comment:2 Changed 6 months ago by cito

Description: modified (diff)
Milestone: 5.16.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.