From: <cg...@us...> - 2009-07-09 01:47:59
|
Revision: 6526 http://jython.svn.sourceforge.net/jython/?rev=6526&view=rev Author: cgroves Date: 2009-07-09 01:47:52 +0000 (Thu, 09 Jul 2009) Log Message: ----------- Ensure that Thread.group is None since we're not doing anything with it, and that's what CPython does Modified Paths: -------------- trunk/jython/Lib/threading.py Modified: trunk/jython/Lib/threading.py =================================================================== --- trunk/jython/Lib/threading.py 2009-07-07 21:13:06 UTC (rev 6525) +++ trunk/jython/Lib/threading.py 2009-07-09 01:47:52 UTC (rev 6526) @@ -218,6 +218,7 @@ class Thread(JavaThread): def __init__(self, group=None, target=None, name=None, args=None, kwargs=None): + assert group is None, "group argument must be None for now" _thread = self._create_thread() JavaThread.__init__(self, _thread) if args is None: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |