You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The many versions are normalize_names are fused in sage.misc.variables.normalize_names
Deprecations:
the var_array argument in PolynomialRing
the methods normalize_names, _certify_name of CategoryObject
Problems with injection of reserved names
sage: a = SR.var('or') # this should work
Traceback (most recent call last):
...
ValueError: The name "or" is not a valid Python identifier.
sage: QQ['or'].inject_variables() # this should not
Defining or
Various parents need to create variable names (the polynomial rings, free algebras, groups, the symbolic ring, etc). We fusion all of them.
TypeError
(see the "polynomial ring" thread)
The many versions are
normalize_names
are fused insage.misc.variables.normalize_names
Deprecations:
var_array
argument inPolynomialRing
normalize_names
,_certify_name
ofCategoryObject
Problems with injection of reserved names
note: should take care of '_', 'True', 'False', 'None' and builtins (see the "reserved name for variables" thread)
As a sided effect, we got some speedup in polynomial ring creation!
See also:
PolynomialRing
,FreeAlgebra
, etcCC: @mforets
Component: algebra
Author: Vincent Delecroix
Issue created by migration from https://trac.sagemath.org/ticket/18390
The text was updated successfully, but these errors were encountered: