Thank you Phil, just my 2 cents
On 12 October 2010 22:45, Phil Thompson wrote:
> On Tue, 12 Oct 2010 15:50:21 +0100, Daniele Esposti
> wrote:
>> Running the attached test under Python 2.7 raises an attribute error:
>>
>> Traceback (most recent call last):
>> File "locker.py", line 11, in
>>
On Tue, 12 Oct 2010 15:50:21 +0100, Daniele Esposti
wrote:
> Running the attached test under Python 2.7 raises an attribute error:
>
> Traceback (most recent call last):
> File "locker.py", line 11, in
> with QtCore.QReadLocker( lock ):
> AttributeError: __exit__
>
> Tested with Python
Running the attached test under Python 2.7 raises an attribute error:
Traceback (most recent call last):
File "locker.py", line 11, in
with QtCore.QReadLocker( lock ):
AttributeError: __exit__
Tested with Python 2.7, PyQt4 4.7.7-1, sip 4.11.1 under Windows and Linux.
The same code work