You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reproduce UnboundLocalError in tests of 3.0.0 <=PyShp <= 3.0.2, e.g. a non single point type, M/Z Shapefile with no mmin & no mmax #379
A fix for the known problem in the code has already been merged, but it'd be good to have a real example of "UnboundLocalError when reading byte_stream": #377 in the tests, to guard against regressions and make sure there are no unknown problems in the code when reading this type of Shapefile (or otherwise).
Contributions
I am interested in implementing the described feature request and submit as a PR.
Activity
JamesParrott commentedon May 18, 2026
This bug can be reproduced with 2D points in a Polygonz shapefile
Completed by 6b63fea