Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
those darn exceptions
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Chris Angelico, post: 4223138"] The idea I was toying with was that it would have the source to X, so it knows that it calls Y. Unfortunately duck typing makes that difficult for anything where an object is passed in, but it's at least possible with simpler calls. The tool would be run on a snapshot of code. If you update the code, you rerun it. Again, not an issue if you don't expect it to be stable. You just look at how the code functions _now_. Yep. And because of duck typing, the information isn't really there. I think you're right that it's impossible. Right, but this tool would simply be useless then. Again, that would be a limitation of the tool. I'd prefer that it listed more exceptions than less. Yep. Agreed (except for the out-of-date qualifier), and that probably means this won't be of much use. But hey, it was an interesting thought experiment. ChrisA [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
those darn exceptions
Top