[issue10063] file:// scheme will stop accessing via ftp protocol

Senthil Kumaran report at bugs.python.org
Mon Oct 11 08:32:26 CEST 2010


Senthil Kumaran <orsenthil at gmail.com> added the comment:

On Sun, Oct 10, 2010 at 03:49:42PM +0000, R. David Murray wrote:
> Does it also need a deprecation cycle?

I think, adding a deprecation cycle might just delay this change.
So, I would prefer if we make it in the 3.2 itself.

- This is not a user-facing API change and I did not see any
  references where people relied upon this behavior. (No bugs / usage
  cases)
- It is actually a bug, because one may not be sure if the ftp service
  is running the machine in the first place and user may not intend
  that ftp service be used for accessing local resources.

We had python-dev discussion on this sometime back when fixing another
bug and conclusion was that we raise a ValueError when file:// scheme
was used in non-local url. Instead of ValueError, I think the generic
URLError is okay too.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10063>
_______________________________________


More information about the Python-bugs-list mailing list