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

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?

Login to comment on this ticket.

Metadata