Skip to content

Conversation

@mantepse
Copy link
Contributor

bool should return True if we know that the stream is non-zero, and False otherwise. The behaviour of equality should be similar. This simplifies things enormously.

This is a fork of #35429 which is a (non-working) attempt to make zero recognition more clever.

📚 Description

Fixes #35071

📝 Checklist

  • The title is concise, informative, and self-explanatory.
  • 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 accordingly.

⌛ Dependencies

@github-actions
Copy link

github-actions bot commented Sep 2, 2023

Documentation preview for this PR (built with commit dde4c7e; changes) is ready! 🎉

@mantepse
Copy link
Contributor Author

see #35485

@mantepse mantepse closed this Sep 19, 2023
@mantepse mantepse deleted the simplify_bool_and_richcmp branch September 19, 2023 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

implicit definition of combinatorial species fails

2 participants