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.
config->bytes_warning
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.