Message8826
Because of the enabling work in https://bitbucket.org/jimbaker/jython-resource-leaks, I was able to solve the performance and resource leak issues I mentioned earlier, with the attached contextclassloader.diff
However this currently causes a number of failures that I haven't been able to fix in a number of tests. test_chdir demonstrates:
======================================================================
FAIL: test_compile_dest (__main__.PyCompileTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "dist/Lib/test/test_chdir.py", line 407, in test_compile_dest
AssertionError: '__pyclasspath__/tmp1bIis4chdir_test$py.class' != 'tmp1bIis4chdir_test$py.class'
It's interesting, because there's no obvious reason for the connection between SyspathJavaLoader, a ClassLoader, with ClasspathPyImporter, which is an importer of Python code.
At the very least try out this diff, and see if it helps. The specific revision I'm using is 7328:06d196031fa1 of the above fork. |
|
Date |
User |
Action |
Args |
2014-06-26 22:00:40 | zyasoft | set | messageid: <1403820040.42.0.367893784772.issue2142@psf.upfronthosting.co.za> |
2014-06-26 22:00:40 | zyasoft | set | recipients:
+ zyasoft, rec |
2014-06-26 22:00:40 | zyasoft | link | issue2142 messages |
2014-06-26 22:00:40 | zyasoft | create | |
|