Negative input to evolve crash golly

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

Negative input to evolve crash golly

Post 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)
User avatar
simsim314
Posts: 1828
Joined: February 10th, 2014, 1:27 pm

Re: Negative input to evolve crash golly

Post 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.
User avatar
Andrew
Moderator
Posts: 1060
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: Negative input to evolve crash golly

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