We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c35592c commit ec5f814Copy full SHA for ec5f814
shapefile.py
@@ -730,6 +730,8 @@ def __getattr__(self, item):
730
corresponding value in the Record does not exist
731
"""
732
try:
733
+ if item == "__setstate__": # Prevent infinite loop from copy.deepcopy()
734
+ raise AttributeError('_Record does not implement __setstate__')
735
index = self.__field_positions[item]
736
return list.__getitem__(self, index)
737
except KeyError:
0 commit comments