When will we get Python 3.7 ?
And pandas?
Forum Archive
Python 3.7 ?
Why do you want Python 3.7?
If it comes with same same kind of performance improvement I saw in desktop systems, I also can’t wait for it. One of my applications saw a breathtaking 50 to 100% improvement. In other applications there is no to little difference, but in some contexts it is really noticeable.
@ccc
Dataclasses
@ccc I’m trying to work with coroutines and asyncio and would like the comfortability of the asyncio.run() function, as I cannot get my bot to run due to a how much I’ve failed at figuring out why a ‘class coroutine’ type object called main() is not a coroutine object.
from __future__ import annotations
pretty sure that annotations are in 3.6, as is typing...
https://docs.python.org/3/library/__future__.html
Bumping this… I’d love to be able to use dataclasses. Feel free to tell me why I should do it another way, but I think it’s a valid request. I’m still newish to python but I’ve been writing software for 20 years.
@ottoflux see attr.s for older Python (found via Google but I don't know anything about it)
@ottoflux there is a backport of dataclasses, since this basically pure py.
https://github.com/ericvsmith/dataclasses
@JonB thanks, I’ll check it out.
@cvp thanks!
@Strassboom or others missing the quite convenient asyncio.run feature: CPython repo has a backport of the runners module, which you can conditionally import with a try ... except.