This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author slingamn
Recipients christian.heimes, slingamn
Date 2022-02-14.18:24:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Sorry, I should have been more clear: I am including the initial costs of importing stringprep and unicodedata. On my system:

$ python3 -c "import time; start = time.time(); r = 'a'.encode('idna'); elapsed = time.time() - start; print(elapsed)"

So the earlier measurement of 15 milliseconds was excessive (I'm not sure what happened) but it's the right order of magnitude: I can reproduce 5 milliseconds reliably.
Date User Action Args
2022-02-14 18:24:22slingamnsetrecipients: + slingamn, christian.heimes
2022-02-14 18:24:22slingamnsetmessageid: <>
2022-02-14 18:24:22slingamnlinkissue46750 messages
2022-02-14 18:24:22slingamncreate