On 02/25/2012 02:30 AM, Christian Bühler wrote:
Hm, sounds like probably my patch
(https://github.com/sympy/sympy/pull/1066) introduced the problem.
I'm sorry, but currently I cannot look at the problem because I have
to learn for my exams. If it still persists after March 1st, I will
take care of it.
Am 25.02.2012 03:14, schrieb Chris Smith:
I believe it is failing because the broadcast mechanism is not working.
It fails right from the start, as I recall, because things created with
MV appear undefined. All subsequence expressions then generate errors.
--
You received this message because you are subscribed to the Google
Groups "sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy?hl=en.
I tried the following -
from inspect import currentframe
frame = currentframe().f_back
def test_frame():
frame.f_globals['x'] = (1,2)
return
test_frame()
print x
"""
Traceback (most recent call last):
File "frame.py", line 8, in <module>
test_frame()
File "frame.py", line 5, in test_frame
frame.f_globals['x'] = (1,2)
AttributeError: 'NoneType' object has no attribute 'f_globals'
"""
I am using python 2.7 and it appears currentframe().f_back is not a
dictionary.
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy?hl=en.