Mahmoud Hashemi

Results 281 comments of Mahmoud Hashemi

Interesting. Well, my first instinct is to add an `as_ascii` or `ascii` flag to `to_text` and then talk about the use cases in the docs a bit. 2c, etc.

https://github.com/EclecticIQ/python-data-uri is a good starting point should we decide we want to include data URI functionality.

WHATWG and 3986 love to avoid talking about the slashes, but I don't know what to call them other than "netloc slashes", and `uses_netloc_slashes` seems a bit much. Naming aside,...

Haha, bravo, that's a good one! One question that's been on my mind from the start is: what is the goal of the `__init__` method? Like these are two different...

2 and 3 are of course different, as you've shown in your case! You constructed a valid URL through creative means.

Hey Colin! I've heard of yarl, but never used it myself. One additional difference I see is that yarl uses cython, presumably for performance, but this may also have compatibility...

Hmm, I've certainly heard of eventually here and there, but I've never used it. Also, it's apparently not announced yet nor does the PyPI link to a codebase. I guess...

Ah, yes, I've used incremental. I could see needing this for, e.g., replacing `userinfo` with separate `username` and `password` fields.

I'm generally down for this kind of contextualization, but I must say that I would not want it to happen this way. This kind of invokes a JavaScript-like, prototype-driven approach....