Subject: | |
From: | |
Reply To: | |
Date: | Thu, 14 Apr 2011 13:31:33 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On 04/14/2011 01:07 PM, Ole Streicher wrote:
> Am 14.04.2011 13:31, schrieb Vaclav Mocek:
>> On 04/14/2011 09:22 AM, Ole Streicher wrote:
>>> raise Exception()
>> I am not able to reproduce it ....
>>
>> When I run your example I got:
>>
>> $ python python_exception.py
>> Traceback (most recent call last):
>> File "python_exception.py", line 3, in<module>
>> raise Exception()
>> Exception
> The funny thing is that I can get both results: I saved the (minimal)
> program in a file $HOME/t.py
>
> If I start it like
>
> python t.py
>
> I get the exception as expected. If I start it as
>
> python ~/t.py
>
> it hangs as described. The home directory is a local disk. When the abrt
> daemon is disabled, the program does hang, too.
>
> Best
>
> Ole
>
Still unable to reproduce it:
$ chmod 700 python_exception.py
$ ./python_exception.py
Traceback (most recent call last):
File "./python_exception.py", line 3, in <module>
raise Exception()
Exception
$
Vaclav M.
|
|
|