Message9148
Interesting use of ctypes. I believe the most portable way to do this is with JMX however.
Let's implement a robust scheme. As long as we have error handling, it will be better than simply returning None, which remains valid for Jython if we cannot determine the value. (Or perhaps we raise an exception - that could be reasonable too). Then once we have JEP 102 (http://openjdk.java.net/jeps/102) available on Java 9, we can use that instead in a future release of 2.7.x (where x > 0, probably greater than 1)
Personally I just prefer a patch, including tests, attached to this bug. PRs on Bitbucket are just a mess; although it's possible that PRs against the GitHub mirror work better. To be seen shortly.
Please add any tests to test_subprocess_jy.py
Thanks! |
|
Date |
User |
Action |
Args |
2014-10-14 17:46:55 | zyasoft | set | messageid: <1413308815.18.0.0718757493856.issue2221@psf.upfronthosting.co.za> |
2014-10-14 17:46:55 | zyasoft | set | recipients:
+ zyasoft, pekka.klarck |
2014-10-14 17:46:55 | zyasoft | link | issue2221 messages |
2014-10-14 17:46:54 | zyasoft | create | |
|