[go: up one dir, main page]

Skip to content

Fix polystr/polybytes to use import-time aliasing under Python 2

Under Python 2, reposurgeon now simply aliases polystr and polybytes to str and bytes. Also, the wrapper logic for the standard streams is only activated under Python 3; the import-time check avoids this code path altogether under Python 2.

Merge request reports

Loading