Message9148

Author zyasoft
Recipients pekka.klarck, zyasoft
Date 2014-10-14.17:46:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1413308815.18.0.0718757493856.issue2221@psf.upfronthosting.co.za>
In-reply-to
Content
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!
History
Date User Action Args
2014-10-14 17:46:55zyasoftsetmessageid: <1413308815.18.0.0718757493856.issue2221@psf.upfronthosting.co.za>
2014-10-14 17:46:55zyasoftsetrecipients: + zyasoft, pekka.klarck
2014-10-14 17:46:55zyasoftlinkissue2221 messages
2014-10-14 17:46:54zyasoftcreate