Message341216
> Is there are reason your validator doesn't use uuid.UUID to normalize the value? That is, whatever the customer provides, why not use the result of stringifying the resulting UUID
Yes, this is exactly what we do now
However this behaviour is a bit surprising, we were thinking that uuid.UUID could be used as a validator
I understand the risk of breaking existing code with a fix that enforce a strict form.
Maybe a line should be added in the documentation to prevent people using this as a validator without more check?
But ok, you can close the bug if you prefer ... I think there no perfect solution :-) |
|
Date |
User |
Action |
Args |
2019-05-01 17:24:56 | Cédric Cabessa | set | recipients:
+ Cédric Cabessa, josh.r |
2019-05-01 17:24:56 | Cédric Cabessa | set | messageid: <1556731496.72.0.00434072774902.issue36757@roundup.psfhosted.org> |
2019-05-01 17:24:56 | Cédric Cabessa | link | issue36757 messages |
2019-05-01 17:24:56 | Cédric Cabessa | create | |
|