Closed
Description
Python 3.10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from ada_url import URL, idna
>>> idna.encode('example.com')
b'example.com'
>>> idna.encode('фси.рф')
b'xn--h1ari.xn--p1ai'
>>>
ada-python/ada_url/ada_adapter.py
Line 751 in e005613
Type hint is str
while return value seems to bytes
Metadata
Metadata
Assignees
Labels
No labels