-
Notifications
You must be signed in to change notification settings - Fork 257
Implement #109 #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement #109 #110
Conversation
|
Hi , not sure I'm getting this commit. |
|
Hey, It's an attempt at solving the underlying issue. About users not knowing what is and isn't being added by Qt.py. Solving it via the documentation route. It's just a thought. The problem I see with warnings, is that it might get inconsistent; where only the things we add that are pure functions can give warnings, whereas other things, such as plain attributes ala |
|
Ah, darn. This should have gone into it's own PR. |
|
Ok, done. Let me know what you think @fredrikaverpil! Especially about the README. My motivation was to better highlight important bits, i.e. docs, goal and usage. |
|
Ok let's see. So what was being discussed is whether we should print warnings to explain whether e.g. Like mentioned in #109 (comment) we're just making simple remappings and there's no code inbetween to catch such events. Also, I'm not sure I understand why such warnings being printed is useful - or if we could at all implement such a feature reliably. The sole purpose of this shim is to just take care of this as good as possible "under the hood" and provide the means to debug and catch these kinds of things yourself when needed. I agree that taking the documentation route makes more sense to me as well.
I think perhaps these incentives should go into some kind of "development vision" under the development guidelines. I've been busy lately but I've been meaning to set up a PR of a bunch of different example usage of the Taking all of that into consideration, an "example" could perhaps show how to print warnings for a specific use case but I think you indirectly already covered this well in the README. However, it wouldn't hurt to be more allowing towards new examples in comparison to PRs towards actual functionality of Qt.py which needs to be thoroughly considered and discussed. So this all looks good to me. |
Agreed. I've added "Development goals", with your two last points condensed into what I think is what we're trying to say. Let's add/remove to this list as our picture becomes clearer.
How about actual gists? That way, the library would be in our README. E.g. It would on the other hand enable gists to change under our noses, and prevent anyone from contributing. An |
|
Looks great! I think gists (although changing/disappearing) is a good idea but I think the |
Here's one way to solve #109.