Skip to content

BUG: fix einsum issue with unicode input and py2 - #10396

Merged
charris merged 1 commit into
numpy:maintenance/1.14.xfrom
charris:backport-90371
Jan 14, 2018
Merged

charris merged 1 commit into
numpy:maintenance/1.14.xfrom
charris:backport-90371

Conversation

@charris

@charris charris commented Jan 14, 2018 •

Copy link
Copy Markdown
Member

Backport of #10371, fixes #10369.

The issue was the use of isinstance(..., str). There is a np.compat.basestring but I used the way that is used in np.core to re-define basestring for py3.

@charris
charris merged commit 0147728 into numpy:maintenance/1.14.x Jan 14, 2018
@charris
charris deleted the backport-90371 branch January 14, 2018 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants