Skip to content

Clean up type checking in rex2txt (Fixes #5884) - #6396

Merged
tacaswell merged 1 commit into
matplotlib:v1.5.xfrom
dopplershift:rec2txt
May 11, 2016
Merged

tacaswell merged 1 commit into
matplotlib:v1.5.xfrom
dopplershift:rec2txt

Conversation

@dopplershift

Copy link
Copy Markdown
Contributor

The main goal is to remove the reference to np.string0. In the end, it became better to clean up the checking of various types using np.issubdtype.

This also gains things like better unicode handling and support for 128-bit float, for what it's worth. Given that it was completely broken on python3, I'm not convinced there were many users of this function.

The main goal is to remove the reference to np.string0. In the end,
it became better to clean up the checking of various types using
np.issubdtype.
@dopplershift dopplershift added this to the 1.5.2 (Critical bug fix release) milestone May 10, 2016
@WeatherGod

Copy link
Copy Markdown
Member

we have a test_mlab.py?! amazing!

@dopplershift

Copy link
Copy Markdown
Contributor Author

Yeah--but had 0% test coverage on rec2txt. 😭

@tacaswell
tacaswell merged commit 0e9bef9 into matplotlib:v1.5.x May 11, 2016
@dopplershift
dopplershift deleted the rec2txt branch May 11, 2016 15:29
@dopplershift

Copy link
Copy Markdown
Contributor Author

I'm out of practice--what should I do about this for master/2.0?

@WeatherGod

Copy link
Copy Markdown
Member

it'll get merged in during one of the regular merge-downs (about once a week).

jarrodmillman added a commit to jarrodmillman/permute that referenced this pull request Jul 27, 2016
Problem due to this bug:
matplotlib/matplotlib#5884

1.5.2 includes the fix:
matplotlib/matplotlib#6396

1.5.2 tagged release:
matplotlib/matplotlib/releases/tag/v1.5.2

(also update numpy to current release)
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.

4 participants