By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,908 Members | 1,892 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,908 IT Pros & Developers. It's quick & easy.

Automated static checking of portability

P: n/a
All,

Is there a tool out there that can statically look at
python code (e.g. a directory of .py files) and determine
if it uses any Python library APIs that do not exist
(or are dangerous) on various platforms?

Specifically, I'd like to have a tool that can be run on
Unix (say, Solaris), and tell me whether my code calls APIs
that will fail (or are dangerous) on Windows and/or Darwin
(or even Linux). I'd like to be able to give this to developers
and say "run this on your changes before integrating" so that
we can catch a lot of potential bugs up front.

Is there a way to configure pylint (or something similar) to
do this? Thanks!

cj
Nov 7 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.