Skip to content

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

Peter Donis requested to merge pdonis/src:poly-fix into master

Under Python 2, polystr and polybytes are now aliased to str and bytes. Also, the code path for wrapping the standard streams is only activated under Python 3; the import-time check avoids it altogether under Python 2.

Merge request reports