You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sagemathgh-40541: Fix an occurrence of lazy_import
Previously the following code fails if executed right after Sage starts:
```python
P.<x,y,z> = ProjectiveSpace(QQ, 2)
C = Curve([(x^2 + y^2 - y*z - 2*z^2)*(y*z - x^2 + 2*z^2)*z + y^5], P)
C.ordinary_model()
```
The error is:
```python
NotImplementedError: object does not support iteration
```
This pull request fixes it. The reason why it is fixed is explained in
the code edit.
### 📝 Checklist
<!-- Put an `x` in all the boxes that apply. -->
- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [x] I have updated the documentation and checked the documentation
preview.
### ⌛ Dependencies
<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
URL: sagemath#40541
Reported by: user202729
Reviewer(s): grnx
0 commit comments