objectsGS ate my script

A script that was working previously has stopped, and I think it’s because something has loaded objectsGS.py. I’m trying to assign an array of tuples of NSPoints to path.segmentss, and this is happening:

Traceback (most recent call last):
  File "Curve All Straights.py", line 21, in <module>
    p.segments = news
  File "/Users/simon/Library/Application Support/Glyphs/Scripts/objectsGS.py", line 976, in __GSPath_set_segments
    points.append(segment.points)
AttributeError: 'tuple' object has no attribute 'points'

Obviously objectsGS is overriding __GSPath_set_segments, but I’m not sure why this is now causing problems.