New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change '__len__' method of propositional formula to 'length' #32148
Comments
Branch: public/32148 |
Commit: |
New commits:
|
comment:3
I am fine with everything except deprecating this as a |
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:5
Thanks for looking at this. I'm sure this feature is rarely used, so postponing the deprecation is fine with me. |
comment:6
Thank you. |
Reviewer: Travis Scrimshaw |
comment:7
Thanks! |
Changed branch from public/32148 to |
#28053 added a
__len__
method to propositional formulas, so thatlen(f)
would return the length of the formula. However, it was pointed out in #29738 that only containers should have alen
. So the method should be renamed tolength
.For now,
__len__
is being retained as an alias.Component: symbolics
Keywords: boolean formula, len, length
Author: Dave Morris
Branch/Commit:
59cc054
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/32148
The text was updated successfully, but these errors were encountered: