Skip to content

Conversation

@fda-odoo
Copy link
Collaborator

@fda-odoo fda-odoo commented Oct 30, 2025

…try..catch

If a missing impotr is in a catch clause like

try:
    pass
except ImportError:
    import something_wrong

we should not raise a diagnostic as the content of the try will probably contain the right import

@fda-odoo fda-odoo added this to the 1.0.4 milestone Oct 30, 2025
@fda-odoo fda-odoo requested a review from mmahrouss October 30, 2025 16:31
@fda-odoo fda-odoo self-assigned this Oct 30, 2025
@fda-odoo fda-odoo added bug Something isn't working enhancement New feature or request labels Oct 30, 2025
…try..catch

If a missing impotr is in a catch clause like
```python
try:
    pass
except ImportError:
    import something_wrong
```
we should not raise a diagnostic as the content of the try will probably contain the right import
@fda-odoo fda-odoo force-pushed the release-importError-trycatch-fda branch from bacc89f to 09ccfc8 Compare October 30, 2025 16:32
@fda-odoo fda-odoo changed the base branch from release to alpha October 30, 2025 16:33
@fda-odoo fda-odoo modified the milestones: 1.0.4, 1.1.0 Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants