
Nov. 16, 2012
3:51 a.m.
On 11/15/2012 11:48 PM, Paul Moore wrote:
On 15 November 2012 22:45, Mathias Panzenböck <grosser.meister.morti@gmx.net <mailto:grosser.meister.morti@gmx.net>> wrote:
Yes, I would also be in favor to including this in python, but I was told here I should write it as recipe in the documentation.
It is e.g. useful for crawlers/spiders, that analyze webpages including their images.
It would be good in the stdlib. By all means submit a patch for adding it. Paul
Ok, I added a patch that adds this to the stdlib to this issue: http://bugs.python.org/issue16423 I changed my code so it is more aligned with the existing code in urllib.request. -panzi