Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
gh-101860: Expose __name__ on property#101876
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
bedevere-bot commentedFeb 13, 2023
Most changes to Pythonrequire a NEWS entry. Please add it using theblurb_it web app or theblurb command-line tool. |
05db108
to9c956c7
Compare@eltoder, there are a lot of conflicts now. Could you please update the branch? |
Useful for introspection and consistent with functions and otherdescriptors.
9c956c7
to8ec1251
Compare@serhiy-storchaka Done |
Thank you. I knew I could count on you. |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
@serhiy-storchaka I made |
Raise AttributeError if no fget or it doesn't have `__name__`.
732337d
toc20e9a7
CompareThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM. And I like to to review more of your PRs.
Thank you! |
Useful for introspection and consistent with functions and otherdescriptors.
Useful for introspection and consistent with functions and otherdescriptors.
Useful for introspection and consistent with functions and otherdescriptors.
Following where `__name__` used to be sourced from-python/cpython#101876
* chore(typing): fix `check_docstrings` `Path` warning`pyright` did a good job spotting that one* chore: Use `dir(...)` instead of `.__dir__()`Fixes 2/6 errors and shrinks the script* chore(typing): Fix 2 more errorsThese have been popping up and bugging me for 2 weeks 🙈#2351 (comment)* chore(typing): Fix the last 2 as well* chore: Simplify the rest* chore(typing): Ignore remaining in `utils`* chore(typing): Ignore everything in `tpch`These are all the same issue, can be fixed with a constrained `TypeVar`* fix: pre-`3.13` compat?Following where `__name__` used to be sourced from-python/cpython#101876* chore(typing): Fix some of the new `tpch` ignoresThe rest seem pretty unavoidable* fix: don't clobber `typing` 🤦♂️https://github.com/narwhals-dev/narwhals/actions/runs/14624570842/job/41032838053?pr=2426
Uh oh!
There was an error while loading.Please reload this page.
Useful for introspection and consistent with functions and other descriptors.
__name__
to property #101860