[Distutils] FINAL DRAFT: Dependency specifier PEP

Robert Collins robertc at robertcollins.net
Tue Nov 17 16:29:25 EST 2015


On 18 November 2015 at 10:22, R. David Murray <rdmurray at bitdance.com> wrote:
...
>> As I understand it, you and Antoine are saying that the current PEP
>> *does* define implementation because folk can't trust their URI
>> library to error appropriately - and thats the bit I don't understand.
>> Just parse however you want as an author, and cross check against the
>> full grammar here in case of doubt.
>
> OK, so it *is* the case that the PEP is mandating that a conforming
> implementation has to accept valid and reject invalid URLs according
> to the grammar in the PEP, but not *how* or *when* it does that (the
> implementation).  So "trap malformed URLs early" is false, but "trap
> malformed URLs" is true, if you want to be a conformant implementation.

Yes.

-Rob


-- 
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Converged Cloud


More information about the Distutils-SIG mailing list