tarsh / pyshp

Automatically exported from code.google.com/p/pyshp
MIT License
0 stars 0 forks source link

Clearing memory #41

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Creating a temporary shapefile using some function in arcpy
2. Use shapefile to read the shapefile
3. Try to delete/overwrite the shapefile with some arcpy function

What is the expected output? What do you see instead?
Need to some clear the shapefile from memory having read in shapes and records 

e.g. 
sfr = shapefile.Reader(some_file_name)
Recs = sfr.records()
Shapes = sfr.shapes()
#insert sfr.clear() or sfr.close() or something similar here

What version of the product are you using? On what operating system?
1.1.6-beta, Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by martin.d...@gmail.com on 7 Dec 2012 at 6:12

GoogleCodeExporter commented 9 years ago

Original comment by jlawh...@geospatialpython.com on 2 May 2013 at 4:57