scrapy / scurl

Performance-focused replacement for Python urllib
Apache License 2.0
21 stars 6 forks source link

urlparse result does not raise AttributeError for unsupported attributes #45

Closed lopuhin closed 5 years ago

lopuhin commented 6 years ago
>>> import scurl
>>> x = scurl.urlparse('http://example.com/bar')
>>> x.fooo is None
True

while an AttributeError should be raised. This might be fixed by #42 though.

malloxpb commented 5 years ago

Hey @lopuhin , I believe this has been fixed :)

lopuhin commented 5 years ago

Right, thanks for the fix @nctl144 ! (fixed in #55 )