[FW][FIX] safe_eval: 3.11 compatibility#137099
Closed
fw-bot wants to merge 1 commit intoodoo:masterfrom
Closed
Conversation
Complement on 1e35315 (odoo#112450): alongside the split between forwards and backwards jump we missed that 3.11 has a specialized version of each for the `is None` and `is not None` cases. A use of that was added in standard in 16.5 (odoo#120446) but more generally it makes sense that server actions would support conditional tests against `None`, probably... X-original-commit: 3227ae4
Contributor
Contributor
Author
|
@xmo-odoo this PR targets master and is the last of the forward-port chain containing: To merge the full chain, use
More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port |
Collaborator
|
@fw-bot r+ |
robodoo
pushed a commit
that referenced
this pull request
Sep 29, 2023
Complement on 1e35315 (#112450): alongside the split between forwards and backwards jump we missed that 3.11 has a specialized version of each for the `is None` and `is not None` cases. A use of that was added in standard in 16.5 (#120446) but more generally it makes sense that server actions would support conditional tests against `None`, probably... closes #137099 X-original-commit: 3227ae4 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
d-fence
added a commit
to odoo-dev/odoo
that referenced
this pull request
Nov 6, 2023
Complement of the previous complement e2752a0 (odoo#137099) Those opcodes were added in Python 3.11 and we missed them. Fixes odoo#140588
robodoo
pushed a commit
that referenced
this pull request
Nov 7, 2023
fw-bot
pushed a commit
to odoo-dev/odoo
that referenced
this pull request
Nov 7, 2023
Complement of the previous complement e2752a0 (odoo#137099) Those opcodes were added in Python 3.11 and we missed them. Fixes odoo#140588 X-original-commit: 252bece
robodoo
pushed a commit
that referenced
this pull request
Nov 17, 2023
sbidoul
pushed a commit
to acsone/odoo
that referenced
this pull request
Jan 8, 2024
Complement of the previous complement e2752a0 (odoo#137099) Those opcodes were added in Python 3.11 and we missed them. Fixes odoo#140588 X-original-commit: 252bece
lmignon
pushed a commit
to acsone/odoo
that referenced
this pull request
Feb 21, 2024
Complement of the previous complement e2752a0 (odoo#137099) Those opcodes were added in Python 3.11 and we missed them. Fixes odoo#140588 X-original-commit: 252bece
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Complement on 1e35315 (#112450): alongside the split between forwards and backwards jump we missed that 3.11 has a specialized version of each for the
is Noneandis not Nonecases. A use of that was added in standard in 16.5 (#120446) but more generally it makes sense that server actions would support conditional tests againstNone, probably...Forward-Port-Of: #136943