Comment #5 on issue 824 by asmeurer: type() does not work with FunctionClass
http://code.google.com/p/sympy/issues/detail?id=824

11d5b48f39f8634eebe8437d0d390e356f4294d9 is the first bad commit
commit 11d5b48f39f8634eebe8437d0d390e356f4294d9
Author: Ondrej Certik <[email protected]>
Date:   Wed Nov 12 11:31:10 2008 +0100

     fixes the "Ignoring redefinition" warning.

     The problem was, that this code:

     class f(Function):
         pass

     class f(Function):
         pass

     generated an "Ignoring redefinition ..." warning in the BasicMeta  
metaclass,
     which is remembering all subclasses of Basic, so that one can access  
them using
     "C.SomeSubclass".  Because this is a valid Python code, the code in  
BasicMeta
     was changed to only remember the latest definition, just like in Python.

     Also a more descriptive comment was written to the FunctionClass  
metaclass.

:040000 040000 b83732f81912bc7742fa3d67fc2068353055d49f  
af38b38644f1d538a7af840a48e97feafb829cd9 M      sympy

Did you buy yourself a beer?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--

You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.


Reply via email to