|
|
Log in / Subscribe / Register

Adding Requests to the standard library

Adding Requests to the standard library

Posted Apr 23, 2015 2:13 UTC (Thu) by mathstuf (subscriber, #69389)
Parent article: Adding Requests to the standard library

I think Python really needs to stop adding things like this to the standard library. It leads to modules hanging around long after deprecation and the docs never seem to keep up with everything. Until this year, I had still been using easy_install rather than pip because it was an extra step. Lo and behold, when I asked about a problem installing a package with it, the response is "why would you use that and not pip?". Same thing with distribute and set up tools flip flopping being the default. Same thing with lxml being much better than the standard library xml module.

I can only expect that if Python development doesn't accelerateand requests goes in, we're going to get stuck with requests2 and the standard library version will just stagnate over time but never get removed.


to post comments

Adding Requests to the standard library

Posted Apr 23, 2015 15:37 UTC (Thu) by synacktiv (subscriber, #86420) [Link]

Completely agree with you.

Furthermore how do they decide which requests addons should be included: kerberos auth/ntlm auth/socks relay/sdch compression/etc..

Adding Requests to the standard library

Posted Apr 30, 2015 9:38 UTC (Thu) by MKesper (subscriber, #38539) [Link] (2 responses)

Be aware, though, that pip still cannot install eggs (offline) while easy_install can.

Adding Requests to the standard library

Posted Apr 30, 2015 10:15 UTC (Thu) by mathstuf (subscriber, #69389) [Link] (1 responses)

To be fair, I don't think I have ever seen an egg-as-distribution-method myself. I see them dumped in the site-packages directory, but I've never cared what they are. I've seen a (single) wheel file in the wild, but that required pip and was for an edge case (VS2010-compiled 64-bit NumPy).

Adding Requests to the standard library

Posted May 1, 2015 12:51 UTC (Fri) by mgedmin (guest, #34497) [Link]

Eggs (and wheels) are more important for Windows users, because they often don't have a C compiler.

Easy_install supports eggs but not wheels. Pip supports wheels but not eggs. It's rather sad.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds