Karan <fghj...@gmail.com> added the comment:

Here are the results from other languages. Go parses incorrectly at the same 
time rust does it correctly.

Go- https://go.dev/play/p/nNMhyznuGpn
&url.URL{Scheme:"http", Opaque:"@localhost", User:(*url.Userinfo)(nil), 
Host:"", Path:"", RawPath:"", ForceQuery:false, RawQuery:"", Fragment:"", 
RawFragment:""}


Rust- 
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=92681b56f7cbd62b7735c962a2f5321e
Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, 
host: Some(Domain("localhost")), port: None, path: "/", query: None, fragment: 
None }

----------
nosy: +karanchaudhary

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46870>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to