Page 1 of 1

Negative input to evolve crash golly

Posted: December 16th, 2014, 6:37 pm
by simsim314
I know you're not suppose to give negative parameter to evolve - bit this should not crash golly - just show error message.

This code crashes golly (2.6):

Code: Select all

import golly as g 

blink = g.parse("3o")
g.evolve(blink, -1)

Re: Negative input to evolve crash golly

Posted: December 17th, 2014, 7:46 am
by simsim314
While on it, I would like to proposed my improvement list to golly:

1. Crush recovery (with auto-save, at least for small objects).
2. In python getevents add "keyup", "mouseup" events.
3. Option to disable notifications using python.

Re: Negative input to evolve crash golly

Posted: March 29th, 2015, 9:40 pm
by Andrew
simsim314 wrote:This code crashes golly (2.6):

Code: Select all

import golly as g 

blink = g.parse("3o")
g.evolve(blink, -1)
Thanks for the report -- fixed in the next release (hopefully this year some time!).