From: <nr...@us...> - 2008-08-17 15:24:20
|
Revision: 5193 http://jython.svn.sourceforge.net/jython/?rev=5193&view=rev Author: nriley Date: 2008-08-17 15:24:17 +0000 (Sun, 17 Aug 2008) Log Message: ----------- Better comment for PySystemState method hack: depends on "functions" in __dict__ appearing as methods. Modified Paths: -------------- branches/asm/src/org/python/core/PySystemState.java Modified: branches/asm/src/org/python/core/PySystemState.java =================================================================== --- branches/asm/src/org/python/core/PySystemState.java 2008-08-17 02:23:19 UTC (rev 5192) +++ branches/asm/src/org/python/core/PySystemState.java 2008-08-17 15:24:17 UTC (rev 5193) @@ -214,7 +214,7 @@ if (ret != null) { if (ret instanceof PyMethod) { if (__dict__.__finditem__(name) instanceof PyReflectedFunction) - return ret; // xxx hack + return ret; // xxx depends on nonstandard __dict__ } else if (ret == PyAttributeDeleted.INSTANCE) { return null; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |