Friday, December 21, 2018
1 change · master
Miscellaneous changes
This change adds a note that a temporary server workaround can be removed once supported Python versions include the upstream fix. It has no immediate impact on users, but helps keep future maintenance simpler and safer.
Original PR description
The method override `_handle_request_noblock` is there to solve a bug in Python socketserver library which has been solved in - Python 3.6: python/cpython@8b1f52b5a93403acd7d112cd1c1bc716b31a418a, - Python 3.7: python/cpython@908082451382b8b3ba09ebba638db660edbf5d8e, through PR python/cpython#9952. These revisions will be included in Python releases 3.6.8 and 3.7.2, and the override will then become useless. We therefore can remove the `_handle_request_noblock` override as soon as the Python 3 releases installed on operating systems supported by Odoo are above - 3.6.8 for Python 3.6 - 3.7.2 for Python 3.7