it seems there is a bug that causes python to spike in cpu usage for some inputs,
here is one case that i ran into:
>>>a=u'(%o10) log(x^2-x+1)/6+atan((2*x-1)/sqrt(3))/sqrt(3)-log(x+1)/3'>>>importasciitomathml.asciitomathml>>>the_string=a>>>the_string=unicode(the_string.decode('utf8'))# adjust to your own encoding>>>math_obj=asciitomathml.asciitomathml.AsciiMathML()>>>math_obj.parse_string(the_string)
after this the computer get so overwhelmed i have to do a hard restart, since it becomes totally unresponsive.
this is a serious one.
Last edit: jiun 2013-05-11
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the fix, apparently sourceforge does not give nottifications.
But, when the usage spiked, even the keyboard+mouse was unresponsive, there was no way for me to kill the process.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
it seems there is a bug that causes python to spike in cpu usage for some inputs,
here is one case that i ran into:
after this the computer get so overwhelmed i have to do a hard restart, since it becomes totally unresponsive.
this is a serious one.
Last edit: jiun 2013-05-11
On 5/11/13 4:10 AM, jiun wrote:
By the way, couldn't you just use ctr-C to quit out of your shell rather
than having to do a hard restart on your computer?
Paul
I fixed the bug. By the way, can't you just use ctr-c to force the program to quite from the shell, rather than doing a hard restart?
Thanks for the fix, apparently sourceforge does not give nottifications.
But, when the usage spiked, even the keyboard+mouse was unresponsive, there was no way for me to kill the process.