encodings.idna.to_unicode has a bug which will keep it from working when built against ICU.
Attached bundle for that, as well as a bit of reorganization (the logic was going "#ifndef thing...code...#else...other code...#endif" -- I swapped so it's now #ifdef thing...other code...#else...code...#endif"), and some better-safe-than-sorry error checking
Patches are against trunk
encodings.idna.to_unicode has a bug which will keep it from working when built against ICU. Attached bundle for that, as well as a bit of reorganization (the logic was going "#ifndef thing...code...#else...other code...#endif" -- I swapped so it's now #ifdef thing...other code...#else...code...#endif"), and some better-safe-than-sorry error checking Patches are against trunk
AttachmentsPulled and pushed.
Changes