• [^] # Re: LinuxFR en OSD

    Posté par . En réponse à la dépêche LinuxFR en OSD. Évalué à 1.

    ca ne devrais pas planter de toute facon car la requete vers le site est dans un "try", je pense que le problème vient d'autre part. Voici des infos sur python-urllib et le proxy.

    http://www.python.org/doc/lib/module-urllib.html(...)

    The urlopen() function works transparently with proxies which do not require authentication. In a Unix or Windows environment, set the http_proxy, ftp_proxy or gopher_proxy environment variables to a URL that identifies the proxy server before starting the Python interpreter. For example (the "%" is the command prompt):

    % http_proxy="http://www.someproxy.com:3128"(...)
    % export http_proxy
    % python
    ...

    In a Macintosh environment, urlopen() will retrieve proxy information from Internet Config.

    Proxies which require authentication for use are not currently supported; this is considered an implementation limitation.