Donate Share

X-Chat

Tracker: Bugs

5 Python threading unload bug - ID: 755301
Last Update: Settings changed ( zed )

If you have used threads in your script /py unload
crashes xchat.

xchat version 2.0.2 (from debian unstable package 2.0.2-1)
python version 2.2.3

to reproduce put the following text in a file called
"boom.py" and load it into xchat followed by an "/py
unload boom":

__module_name__ = "boom"
__module_version__ = "0.0.1"
__module_description__ = "py unload bug"

import xchat
import threading

class thread(threading.Thread):
def run(self):
pass

bobj=thread()
bobj.run()

def unload(userdata):
bobj.join(10)

xchat.hook_unload(unload)


Nobody/Anonymous ( nobody ) - 2003-06-16 13:19

5

Closed

Fixed

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2003-06-16 13:22
Sender: nobody

Logged In: NO

mail torsv899@student.liu.se for feedback or more information.



Log in to comment.

Attached File ( 1 )

Filename Description Download
boom.py script that causes /py unload bug Download

Changes ( 4 )

Field Old Value Date By
status_id Open 2003-11-29 12:57 zed
close_date - 2003-11-29 12:57 zed
resolution_id None 2003-11-12 11:55 zed
File Added 53228: boom.py 2003-06-16 13:19 nobody