3 ms·
Old versions get deprecated in libraries, you don’t just cut over to a new way and break your callers on upgrade. If you own all the callers of your api in the
by theptip 5y ago
Old versions get deprecated in libraries, you don’t just cut over to a new way and break your callers on upgrade.
If you own all the callers of your api in the same repo, you probably don’t want this, you just replace all the old callers along with the implementation.
- remram 5y agoWhat I mean is (looking at the example in the README): when `asyncio.run()` was added, `asyncio.get_event_loop().run_until_complete()` didn't stop working. What is the point of making two versions of the functions, when one of them already supports every Python you target?