R. David Murray added the comment:

Yes, I'm afraid so.  But the rationale is presumably the same as it is in many 
RFCs: you should accept broken stuff if it can be interpreted unambiguously, 
but you should not *produce* the broken stuff.  So I'd say the RFC is correct 
as quoted.  It is then up to openstack whether or not it wants to accept such 
URLs in a given interface, and it if were me I'd base that decision on whether 
it was an 'internal' interface or an 'external' one.  But you can also argue 
that even an external interface could be strict, depending on the application 
domain of the interface.  urllib, on the other hand, needs to accept it, and we 
can't change it at this point for backward compatibility reasons if nothing 
else.

Based on the RFC, one could argue that urlunsplit should omit the colon.  That 
could break backward compatibility, too, though will a lot less likelyhood.  So 
we could still fix it in 3.7 if we decide we should.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28841>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to