Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
m463
on May 23, 2019
|
parent
|
context
|
favorite
| on:
PEP 594 – Removing dead batteries from Python's st...
You can hide them or mark them deprecated in such a way that new scripts don't see them, but old scripts still function.
uranusjr
on May 23, 2019
[–]
How exactly do you distinguish new and old scripts? They are all just files from the interpreter’s perspective.
m463
on May 25, 2019
|
parent
[–]
that's a good question.
maybe you could make it explicit for new scripts?
from __past__ import cruft
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: