Negative input to evolve crash golly

Has something gone haywire? Let us know about it!
Post Reply
User avatar
simsim314
Posts: 1823
Joined: February 10th, 2014, 1:27 pm

Negative input to evolve crash golly

Post by simsim314 » December 16th, 2014, 6:37 pm

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)

User avatar
simsim314
Posts: 1823
Joined: February 10th, 2014, 1:27 pm

Re: Negative input to evolve crash golly

Post by simsim314 » December 17th, 2014, 7:46 am

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.

User avatar
Andrew
Moderator
Posts: 919
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: Negative input to evolve crash golly

Post by Andrew » March 29th, 2015, 9:40 pm

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!).
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

Post Reply