The future of the Python ssl module
The future of the Python ssl module
Posted Jun 4, 2016 16:00 UTC (Sat) by rahulsundaram (subscriber, #21946)In reply to: The future of the Python ssl module by robert_s
Parent article: The future of the Python ssl module
Are they though? Distributions typically unbundle these.
Posted Jun 4, 2016 17:47 UTC (Sat)
by flussence (guest, #85566)
[Link] (6 responses)
Posted Jun 17, 2016 17:25 UTC (Fri)
by ceplm (subscriber, #41334)
[Link] (5 responses)
a) urllib3 is one of the reasons why requests are evil,
Anything else?
Posted Jun 21, 2016 12:30 UTC (Tue)
by mathstuf (subscriber, #69389)
[Link] (4 responses)
Posted Jun 21, 2016 15:16 UTC (Tue)
by ceplm (subscriber, #41334)
[Link] (3 responses)
2. arrogance of maintainers who believe that they know better than anybody, so instead of using standard API, people should install for their five lines script three quarters of megabytes of their crap including their own root certificates.
Look, I don’t claim that the urllib2 API is the most beautiful one in the world, but IMHO the way how to fix standard library is to fix standard library not to do completely incompatible thing on the side. And from following the discussions about inclusion of python-request API in the stdlib I didn't get the impression that the Python community is at fault that it has been rejected.
Posted Jun 21, 2016 17:01 UTC (Tue)
by ceplm (subscriber, #41334)
[Link]
Posted Jun 22, 2016 13:40 UTC (Wed)
by mathstuf (subscriber, #69389)
[Link] (1 responses)
Granted, Python didn't start out with a good package management system (and having gone through multiple iterations, seems to have finally decided on one[1]). But that doesn't mean that Python3 couldn't have spun modules out just as easily.
I really like that requests was not put into the standard library; it would have just stagnated it and required a new requests2 to be born.
[1]Though now Anaconda exists and some folk are claiming it as the Python Package Manager to End All Package Managers. Personally, it sets up walls around itself that are too high that it isn't a redistributable solution (hard-coded absolute paths everywhere).
Posted Jun 22, 2016 14:52 UTC (Wed)
by ceplm (subscriber, #41334)
[Link]
What I think is important is to investigate further separation of API and its implementation. Java guys manage to do that splendidly and I really like that I could switch between the implementation of the ElementTree from the Python standard library and lxml quite easily (and I see, I could do the same with lxml as an alternative implementation of SAX).
So, yes, I would be all for introduction of requests API in the standard library as a thin wrapper over the current urllib even with all limitations of that.
The future of the Python ssl module
The future of the Python ssl module
b) this looks like a packaging bug
The future of the Python ssl module
The future of the Python ssl module
The future of the Python ssl module
The future of the Python ssl module
The future of the Python ssl module