Skip to content

Fix #41566 (no Khoca attribute error)#41567

Merged
vbraun merged 2 commits intosagemath:developfrom
MajoranaOedipus:fix-khoca
Feb 11, 2026
Merged

Fix #41566 (no Khoca attribute error)#41567
vbraun merged 2 commits intosagemath:developfrom
MajoranaOedipus:fix-khoca

Conversation

@MajoranaOedipus
Copy link
Copy Markdown
Contributor

@MajoranaOedipus MajoranaOedipus commented Jan 31, 2026

Since khoca interface requires a ring, no default interface instance khoca is provided. Khoca is an alias for the instance creator.

📝 Checklist

  • The title is concise and informative.
  • 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.
  • I have updated the documentation and checked the documentation preview.

This fixes #41566

Since khoca interface requires a ring, no default interface instance `khoca` is provided.
`Khoca` is an alias for the instance creator.
@MajoranaOedipus MajoranaOedipus changed the title Fix https://github.com/sagemath/sage/issues/41566 Fix #41566 (no Khoca attribute error) Jan 31, 2026
@github-actions
Copy link
Copy Markdown

Documentation preview for this PR (built with commit 0b2a7d6; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

vbraun pushed a commit to vbraun/sage that referenced this pull request Feb 5, 2026
sagemathgh-41567: Fix sagemath#41566 (no Khoca attribute error)
    
Since khoca interface requires a ring, no default interface instance
`khoca` is provided. `Khoca` is an alias for the instance creator.

<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes sagemath#12345". -->



### 📝 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.
- [x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->


This fixes sagemath#41566
    
URL: sagemath#41567
Reported by: Majorana Oedipus
Reviewer(s): Chenxin Zhong
vbraun pushed a commit to vbraun/sage that referenced this pull request Feb 7, 2026
sagemathgh-41567: Fix sagemath#41566 (no Khoca attribute error)
    
Since khoca interface requires a ring, no default interface instance
`khoca` is provided. `Khoca` is an alias for the instance creator.

<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes sagemath#12345". -->



### 📝 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.
- [x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->


This fixes sagemath#41566
    
URL: sagemath#41567
Reported by: Majorana Oedipus
Reviewer(s): Chenxin Zhong
@vbraun vbraun merged commit 409a1f1 into sagemath:develop Feb 11, 2026
16 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Khoca interface broken with AttributeError: module 'sage.interfaces.khoca' has no attribute 'Khoca'

3 participants