Skip to content

simplify some call of isinstance in pyx files#39146

Merged
vbraun merged 4 commits intosagemath:developfrom
fchapoton:simplified_isinstance_pyx
Jan 4, 2025
Merged

simplify some call of isinstance in pyx files#39146
vbraun merged 4 commits intosagemath:developfrom
fchapoton:simplified_isinstance_pyx

Conversation

@fchapoton
Copy link
Contributor

by gathering the possible types

📝 Checklist

  • The title is concise and informative.
  • The description explains in detail what this PR is about.

@github-actions
Copy link

github-actions bot commented Dec 16, 2024

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

@mantepse mantepse changed the title simplify some call of isintance in pyx files simplify some call of isinstance in pyx files Dec 17, 2024
@mantepse
Copy link
Contributor

There might be a trivial merge conflict with #38207, I should check.

@fchapoton
Copy link
Contributor Author

I do not think we have to care in advance for merge conflicts. Rather we should handle them when and if they appear.

Copy link
Contributor

@mantepse mantepse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

vbraun pushed a commit to vbraun/sage that referenced this pull request Jan 1, 2025
sagemathgh-39146: simplify some call of isinstance in pyx files
    
by gathering the possible types

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
    
URL: sagemath#39146
Reported by: Frédéric Chapoton
Reviewer(s): Martin Rubey
@vbraun vbraun merged commit bc8b841 into sagemath:develop Jan 4, 2025
19 of 22 checks passed
@fchapoton fchapoton deleted the simplified_isinstance_pyx branch January 4, 2025 18:27
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.

3 participants

Comments