Skip to content

Bug pylint 2885 #732

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

Merged
merged 11 commits into from
Dec 9, 2019
Merged

Bug pylint 2885 #732

merged 11 commits into from
Dec 9, 2019

Conversation

hippo91
Copy link
Contributor

@hippo91 hippo91 commented Dec 9, 2019

Steps

  • [*] For new features or bug fixes, add a ChangeLog entry describing what your PR does.
  • [*] Write a good description on what the PR does.

Description

This PR improves the numpy brain and specifically the ufunc functions.
They are now deriving from a fake class that mimics the behavior and properties of real ufunc objects.

The shape attribute of numpy ndarray is now itself a ndarray. It is now subscriptable.

Type of Changes

Type
🐛 Bug fix

Related Issue

Closes pylint-dev/pylint#2885 and pylint-dev/pylint#3139

@PCManticore PCManticore merged commit 18c99c4 into master Dec 9, 2019
@PCManticore PCManticore deleted the bug_pylint_2885 branch December 9, 2019 07:42
@PCManticore
Copy link
Contributor

Thanks a lot @hippo91 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pylint no longer detects numpy ufunc methods
2 participants