Title: setName semantics of threading.Thread different to CPython
Type: behaviour Severity: normal
Components: Library Versions: 25rc4
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: pjenvey, rasjidw
Priority: Keywords:

Created on 2009-05-13.01:31:56 by rasjidw, last changed 2009-05-13.03:02:21 by pjenvey.

msg4677 (view) Author: Rasjid (rasjidw) Date: 2009-05-13.01:31:55
The following works under CPython, not under Jython:

from threading import Thread
t = Thread(name = 1)

In CPython the name is changed to a string where Jython raises an
exception.  This is still true for 2.5rc2.
msg4679 (view) Author: Philip Jenvey (pjenvey) Date: 2009-05-13.03:02:20
fixed in r6347, thanks
Date User Action Args
2009-05-13 03:02:21pjenveysetstatus: open -> closed
resolution: fixed
messages: + msg4679
nosy: + pjenvey
2009-05-13 01:31:56rasjidwcreate