-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
How to check whether the proxy is resolved or not #41
Comments
It would depend on the implementation. I guess I could add a standard way of telling if it holds the instance or not (like |
Thinking more about this, a |
Hi @ionelmc, First of all, thanks a lot for taking your time here. I can't express how grateful I am (and so is the folks using your project) About your suggestion, While my requirement is quite peculiar, I thought the functionality to check proxy-resolution is quite useful and widely being used already. Currently what I do is to use "__wrapper__" in proxyobj.__dict__ |
So I would like to add this property in the next release but I'm not sure about the name. It has to be something unique enough and double underscored (to increase uniqueness). It has to avoid british/american spelling differences, and be pretty obvious. My candidates:
Hmmm... perhaps there's some terminology already established in the stdlib? |
On second thought perhaps reusing terms from stdlib would be a bad idea. So I've found |
How about |
So turns out no one spells "rezolved". Anyway, not using the "is" prefix as it seems to have a "call interface" in the stdlib (eg: |
Thanks a lot for the wonderful package
I was wondering if there is a mechanism to check whether the factory function is being called or not, may be allowing to check?
The text was updated successfully, but these errors were encountered: