[Python-3000] Another generic functions/adaptation use case

Manuzhai mail at manuzhai.nl
Fri Apr 14 15:44:31 CEST 2006


Nick Coghlan wrote:
> Another potential generic function use case that occurred to me is the open() 
> builtin.

I think this is a great idea. For example, I'd like to use open() to do 
simple HTTP fetching (for simple GET requests).

This would allow for things somewhat similar to PHP's streams API.

http://nl.php.net/manual/en/streams.php

Regards,

Manuzhai



More information about the Python-3000 mailing list