Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Cerealkiller050
on Nov 28, 2024
|
parent
|
context
|
favorite
| on:
Python type hints may not be not for me in practic...
Dealing with this currently in a giant old legacy python 2.7 codebase that was migrated to 3.10 in the past year. I do see the requirement @ 3.12, is there a specific reason for this that wouldn't be available to 3.10?
emeryberger
on Nov 28, 2024
[–]
It relies on some features introduced in Python 3.12, specifically the `sys.monitoring` API.
emeryberger
on Nov 28, 2024
|
parent
[–]
However, the resulting type annotations should work for Python 3.9+.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: