From: Francesc A. <fa...@py...> - 2012-04-02 19:48:45
|
On 4/2/12 12:38 PM, Alvaro Tejero Cantero wrote: > Hi, > > should PyTables flush on __exit__ ? > https://github.com/PyTables/PyTables/blob/master/tables/file.py#L2164 > > it is not clear to me if a File.close() call results in automatic > flushing all the nodes, since Node()._f_close() promises only "On > nodes with data, it may be flushed to disk." > https://github.com/PyTables/PyTables/blob/master/tables/node.py#L512 Yup, it does flush. The message should be more explicit on this. -- Francesc Alted |