Originally posted by anybody
View Post
Announcement
Collapse
No announcement yet.
A Look Back At Python 3.0 After 10 Years
Collapse
X
-
Last edited by TheBlackCat; 12 February 2018, 05:35 PM.
- Likes 3
-
The reason aiohttp isn't part of standard library, is the same reason that requests isn't part of standard library.
They don't want to be pinned down, as they are improving/changing at a much faster rate than python itself.
Also, there is a reliable packaging system that makes it super easy to include extra dependencies in your project.
- Likes 5
Leave a comment:
-
Originally posted by Vistaus View PostAnd still so many things haven't been ported yet from Python 2 to 3...Last edited by brrrrttttt; 12 February 2018, 07:25 PM.
- Likes 4
Leave a comment:
-
Originally posted by Vistaus View PostAnd still so many things haven't been ported yet from Python 2 to 3...
- Likes 1
Leave a comment:
-
Originally posted by schmidtbag View PostTo my knowledge, there is almost nothing worth caring about that hasn't been ported. If a program or library is still on Python 2, it is likely outdated or niche.
- Likes 1
Leave a comment:
-
Originally posted by jpg44 View PostIsn't there also Twisted framework for asynchronous HTTP? I like twisted due to how you can use it on many different event notification systems and how many modules can share the same event loop. Of course you have to install it, which shouldn't be that hard to do.
My main interest with Python+HTTP is WebSocket. Twisted supports that too, but not in an elegant way. It's been a while since I've checked, but there was this very basic library that accomplished WebSocket with far less effort and was only a couple hundred KB.
Originally posted by Vistaus View PostAnd still so many things haven't been ported yet from Python 2 to 3...
- Likes 1
Leave a comment:
-
And still so many things haven't been ported yet from Python 2 to 3...
- Likes 4
Leave a comment:
-
Originally posted by schmidtbag View PostWhat's wrong with using aiohttp? Also depending on what you're trying to do, you can always try the multiprocessing or thread libraries. Note the latter keeps your application single-threaded, but from what I recall, it makes memory management easier.
- Likes 1
Leave a comment:
-
Originally posted by uid313 View PostOne of my gripes with Python 3 is that the built-in HTTP client is not asynchronous.
To perform asynchronous HTTP requests you have to rely on a third-party library such as aiohttp.
- Likes 1
Leave a comment:
-
One of my gripes with Python 3 is that the built-in HTTP client is not asynchronous.
To perform asynchronous HTTP requests you have to rely on a third-party library such as aiohttp.
- Likes 1
Leave a comment:
Leave a comment: