Code Sample, a copy-pastable example if possible

After running this code :

store.append(tablename, df_i, format=format, complib=complib)
store.close(); del store

Problem description

I cannot delete/move the windows h5 store file, it is still locked by Python.exe

Expected Output

We expect the file being release.

Output of pd.show_versions()

pandas: 0.18.1

pandas: 0.18.1

Comment From: jreback

looks ok to me.

In [22]: df = tm.makeDataFrame()

In [23]: store = pd.HDFStore('foo.h5')

In [24]: store.append('df', df)

In [25]: store.close()

In [26]: del store

In [27]: !dir foo*
 Volume in drive C has no label.
 Volume Serial Number is EAE0-116E

 Directory of C:\dev\pandas

01/06/2017  08:36 AM            84,305 foo.h5
               1 File(s)         84,305 bytes
               0 Dir(s)  487,259,361,280 bytes free

In [28]: !move foo.h5 foo2.h5
        1 file(s) moved.

In [29]: !dir foo*
 Volume in drive C has no label.
 Volume Serial Number is EAE0-116E

 Directory of C:\dev\pandas

01/06/2017  08:36 AM            84,305 foo2.h5
               1 File(s)         84,305 bytes
               0 Dir(s)  487,259,361,280 bytes free