-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
use locals() in growth group factory #19580
Comments
Branch: u/dkrenn/asy/locals |
Commit: |
Author: Daniel Krenn |
comment:4
Merged in #19528 due to a merge conflict. |
Dependencies: #19528 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:6
Would it be possible to just not do this? It's a strong indication of bad design if you end up parsing strings wrt. locals/globals dictionaries. Variable names do not belong in strings. You'll probably get scoping/shadowing in the different dictionaries wrong. E.g. what about
and, subtly different,
And what would
do? I know: it probably gives errors because it's not passing the right values here, but what is different about n wrt. Z that one name needs to be looked up in a scope and the other doesn't? If you need a construction like this, then something along the lines
is probably much safer. You might want to check on sage-devel what the opinions of other developers are about letting local/global variable names sneak into strings. |
comment:7
does not merge (cf. patchbot) |
comment:10
branch does no longer apply |
Make
working.
Depends on #19528
CC: @behackl @cheuberg
Component: asymptotic expansions
Author: Daniel Krenn
Branch/Commit: u/dkrenn/asy/locals @
fc7434a
Issue created by migration from https://trac.sagemath.org/ticket/19580
The text was updated successfully, but these errors were encountered: