Am 30.03.2015 um 13:28 schrieb Francesco Bonazzi:

[with `symbols`,] it's easy to swap two
letters without noticing so you essentially get the equivalent of
  >>> p = Symbol('i')
  >>> i = Symbol('p')
with the devious consequence that everything would still work but any
outputs would be utterly confusing because it would print 'p' wherever
the user expects 'i' and vice versa.

What about a new code quality test checking for such mistakes?

Sounds like an excellent idea to me.
Solves the basic problem for code in SymPy, so this should definitely be done (or put up as an Issue so it is not forgotten).

For user code, this does not help, unfortunately.

--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/551989F3.5040504%40durchholz.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to