#8417 Remove or replace Py_BytesWarningFlag hack in ipalib/__init__.py
Opened by cheimes. Modified

Request for enhancement

The Py_BytesWarningFlag hack in https://github.com/freeipa/freeipa/blob/master/ipalib/init.py#L886-L912 does no longer work with Python 3.8. The interpreter now reads config->bytes_warning from the current interpreter state.

The hack was useful for migrating to Python 3. I think we can now safely remove it.


@cheimes just for clarification, I assume the DeprecationWarning part need to remain, right?

Metadata