Skip to content

[TODO] service/server: note to remove override that will become useless - #29706

Closed
beledouxdenis wants to merge 1 commit into
odoo:masterfrom
odoo-dev:master-handle_request_noblock-dle
Closed

[TODO] service/server: note to remove override that will become useless#29706
beledouxdenis wants to merge 1 commit into
odoo:masterfrom
odoo-dev:master-handle_request_noblock-dle

Conversation

@beledouxdenis

Copy link
Copy Markdown
Contributor

The method override _handle_request_noblock
is there to solve a bug in Python socketserver library
which has been solved in

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

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@8b1f52b,
- Python 3.7: python/cpython@9080824,

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
@beledouxdenis

Copy link
Copy Markdown
Contributor Author

@robodoo r+

@C3POdoo C3POdoo added the RD research & development, internal work label Dec 21, 2018
@robodoo robodoo added the CI 🤖 Robodoo has seen passing statuses label Dec 21, 2018
robodoo pushed a commit that referenced this pull request Dec 21, 2018
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@8b1f52b,
- Python 3.7: python/cpython@9080824,

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

closes #29706
@robodoo

robodoo commented Dec 21, 2018

Copy link
Copy Markdown
Contributor

Merged, thanks!

@robodoo robodoo closed this Dec 21, 2018
@beledouxdenis
beledouxdenis deleted the master-handle_request_noblock-dle branch October 16, 2019 10:18
ryv-odoo pushed a commit to odoo-dev/odoo that referenced this pull request Nov 24, 2023
The TODO added in odoo#29706 is confusing and
asks to remove the `_handle_request_noblock` method
completely. In fact, the TODO only targets the first if of the
method. Why the confusion? It was merged at the same
time as odoo#37238, which reuses the same hook
for a different feature.

Remove the confusing comment, and the first `if` of the
method, as the fix is in all supported Python versions (python/cpython@10cb376).
robodoo pushed a commit that referenced this pull request Nov 28, 2023
The TODO added in #29706 is confusing and
asks to remove the `_handle_request_noblock` method
completely. In fact, the TODO only targets the first if of the
method. Why the confusion? It was merged at the same
time as #37238, which reuses the same hook
for a different feature.

Remove the confusing comment, and the first `if` of the
method, as the fix is in all supported Python versions (python/cpython@10cb376).

closes #143297

Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
BT-anieto pushed a commit to BT-anieto/odoo that referenced this pull request Oct 30, 2024
Syncing from upstream odoo/odoo (17.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI 🤖 Robodoo has seen passing statuses RD research & development, internal work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants