[Python-ideas] Support data: URLs in urllib

Mathias Panzenböck grosser.meister.morti at gmx.net
Fri Nov 16 04:51:37 CET 2012


On 11/15/2012 11:48 PM, Paul Moore wrote:
> On 15 November 2012 22:45, Mathias Panzenböck <grosser.meister.morti at gmx.net
> <mailto:grosser.meister.morti at 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



More information about the Python-ideas mailing list