@ancoghlan as a side note, i had to fix METADATA parsing in pip recently because it turns out google likes to introduce chains of \r that the standard email policy doesn't appreciate. there is a one-off patch in recent cpython for this error, but given that metadata parsing directly translates into the dependencies your user agent then dutifully fetches for you, it's very surprising and concerning that METADATA parsing in wheels uses a format which can so easily be manipulated to split records in invisible ways
Post
Replies:
1
@hipsterelectron That one is pure "hysterical raisins": distutils (and thus METADATA) was invented in the late 1990s, a few years before JSON was first specified as a data interchange format. It wasn't until metadata 2.1 nearly two decades later that even a canonical translation to JSON was defined (although ad hoc translations were around well before that formalisation).