object.enable() anti-pattern

Gregory Ewing greg.ewing at canterbury.ac.nz
Thu May 9 03:54:56 EDT 2013


Steven D'Aprano wrote:
> There is no sensible use-case for creating a file without opening it. 
> What would be the point?

Early unix systems often used this as a form of locking.

-- 
Greg



More information about the Python-list mailing list