Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python3-daemon: Update to version 2.3.1 and to work with python-3.10.8
- Updated from version 2.3.0 to 2.3.1 - Update of rootfile - Changelog Version 2.3.1 Bugs Fixed: * Avoid operations on a closed stream file when detecting a socket. Closes: Pagure #64. Thanks to Mark Richman for the report. * Correct use of names to allow `from daemon import *`. Closes: Pagure #65. Thanks to July Tikhonov for the report. Changed: * Speed daemon start time by computing candidate file descriptors once. Closes: Pagure #40. Thanks to Alex Pyrgiotis for the report. * Remove incorrect double-patch of objects in test cases. Closes: Pagure #62. Thanks to Miro Hrončok for the report. * Deprecate helper function `is_socket`. The function incorrectly causes `ValueError` when the file object is already closed. Migrate to the new `is_socket_file` helper function instead. Removed: * Drop backward-compatible helpers that provided Python 2 support. * declaration of source encoding ‘utf-8’ * absolute_import * unicode_literals * module-level metaclass `type` * unification of str with unicode type * renamed standard library exceptions and modules * raise exception from context exception All these are default behaviour in Python 3 and need no special handling. Tested-by: Adolf Belka <[email protected]> Signed-off-by: Adolf Belka <[email protected]>
- Loading branch information