mkleehammer / pyodbc

Python ODBC bridge
https://github.com/mkleehammer/pyodbc/wiki
MIT No Attribution
2.89k stars 562 forks source link

Use argparse instead of optparse #1089

Closed keitherskine closed 1 year ago

keitherskine commented 1 year ago

The standard library package optparse has been deprecated since Python 3.2. It will be removed in Python 3.12. Hence, this PR replaces the use of optparse with argparse (but not in Python 2.7 code).

keitherskine commented 1 year ago

Thanks @gordthompson ! Much appreciated.