Skip to content

[FW][FIX] safe_eval: 3.11 compatibility#137099

Closed
fw-bot wants to merge 1 commit intoodoo:masterfrom
odoo-dev:master-saas-16.2-fix-3.11-compat-xmo-L7Rx-fw
Closed

[FW][FIX] safe_eval: 3.11 compatibility#137099
fw-bot wants to merge 1 commit intoodoo:masterfrom
odoo-dev:master-saas-16.2-fix-3.11-compat-xmo-L7Rx-fw

Conversation

@fw-bot
Copy link
Copy Markdown
Contributor

@fw-bot fw-bot commented 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...

Forward-Port-Of: #136943

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
@robodoo
Copy link
Copy Markdown
Contributor

robodoo commented Sep 29, 2023

Pull request status dashboard

@fw-bot
Copy link
Copy Markdown
Contributor Author

fw-bot commented Sep 29, 2023

@xmo-odoo this PR targets master and is the last of the forward-port chain containing:

To merge the full chain, use

@fw-bot r+

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@C3POdoo C3POdoo added the RD research & development, internal work label Sep 29, 2023
@robodoo robodoo added the forwardport This PR was created by @fw-bot label Sep 29, 2023
@xmo-odoo
Copy link
Copy Markdown
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>
@robodoo robodoo temporarily deployed to merge September 29, 2023 14:47 Inactive
@robodoo robodoo closed this Sep 29, 2023
@robodoo robodoo added the 16.5 label Sep 29, 2023
@fw-bot fw-bot deleted the master-saas-16.2-fix-3.11-compat-xmo-L7Rx-fw branch October 13, 2023 15:47
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
Complement of the previous complement e2752a0 (#137099)

Those opcodes were added in Python 3.11 and we missed them.

Fixes #140588

closes #141015

Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
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
Complement of the previous complement e2752a0 (#137099)

Those opcodes were added in Python 3.11 and we missed them.

Fixes #140588

closes #141528

X-original-commit: 252bece
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
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
@xmo-odoo xmo-odoo added 17.0 and removed 16.5 labels Nov 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

17.0 forwardport This PR was created by @fw-bot RD research & development, internal work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants