Issue1884

classification
Title: threading.current_thread method not created
Type: behaviour Severity: minor
Components: None Versions: 2.5.2
Milestone:
process
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: Nosy List: fwierzbicki, taggartaa
Priority: Keywords:

Created on 2012-05-15.14:47:59 by taggartaa, last changed 2012-05-15.15:26:50 by fwierzbicki.

Messages
msg7092 (view) Author: Aaron Taggart (taggartaa) Date: 2012-05-15.14:47:59
threading.create_thread does not exist but threading.createThread does. This is inconsistent with Cpython. 

Reproduce:
import threading
threading.create_thread()

Attribute Error: 'module' object has no attribute 'create_thread'
msg7093 (view) Author: Aaron Taggart (taggartaa) Date: 2012-05-15.14:51:59
I meant current_thread, not create_thread. Sorry!
msg7094 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2012-05-15.15:26:50
Thanks for the bug report, however: threading.current_thread was added after version CPython 2.5 so it should not go in Jython 2.5 - we already have it in the default branch, which will become Jython 2.7 so you will get it then :)
History
Date User Action Args
2012-05-15 15:26:50fwierzbickisetstatus: open -> closed
resolution: invalid
messages: + msg7094
nosy: + fwierzbicki
2012-05-15 14:51:59taggartaasetmessages: + msg7093
title: threading.create_thread method not created -> threading.current_thread method not created
2012-05-15 14:47:59taggartaacreate