On 18 November 2015 at 10:22, R. David Murray <[email protected]> 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 <[email protected]> Distinguished Technologist HP Converged Cloud _______________________________________________ Distutils-SIG maillist - [email protected] https://mail.python.org/mailman/listinfo/distutils-sig
