Re: [Python-Dev] flock in Python 3

2014-04-13 Thread Jakub QB Dorňák
You are right, it should be https://pypi.python.org/pypi/flock - Original Message - From: "Benjamin Peterson" To: "Jakub QB Dorňák" , "Python Dev" Sent: Friday, April 11, 2014 6:38:43 PM Subject: Re: [Python-Dev] flock in Python 3 On Fri, Apr 11, 2014,

Re: [Python-Dev] flock in Python 3

2014-04-11 Thread Benjamin Peterson
On Fri, Apr 11, 2014, at 5:58, Jakub QB Dorňák wrote: > Hi all, > > writing a threaded application I've been surprised that there is no > object api for fcntl.flock implementing __enter__() and __exit__() > methods to be used with 'with' statement. > I have written one (https://pypi.python.org/pyp

Re: [Python-Dev] flock in Python 3

2014-04-11 Thread Terry Reedy
On 4/11/2014 8:58 AM, Jakub QB Dorňák wrote: writing a threaded application I've been surprised that there is no object api for fcntl.flock implementing __enter__() and __exit__() methods to be used with 'with' statement. Several things have been turned into context managers because someone f

[Python-Dev] flock in Python 3

2014-04-11 Thread Jakub QB Dorňák
Hi all, writing a threaded application I've been surprised that there is no object api for fcntl.flock implementing __enter__() and __exit__() methods to be used with 'with' statement. I have written one (https://pypi.python.org/pypi), but I wonder whether this could get into the Python Standar