Skip to content

MAINT: Special-case only string array scalars in array_str. - #1

Closed
mhvk wants to merge 4 commits into
ahaldane:fix_0d_strreprfrom
mhvk:pr-9332-fixup
Closed

mhvk wants to merge 4 commits into
ahaldane:fix_0d_strreprfrom
mhvk:pr-9332-fixup

Conversation

@mhvk

@mhvk mhvk commented Nov 8, 2017

Copy link
Copy Markdown

Here's my suggestion (it seems it picked up a pep8 error as well...)

ahaldane and others added 4 commits November 7, 2017 19:11
The str of 0d arrays now returns `str(a[()])` like scalars, and the
repr returns `'array(' + formatter(a[()]) + ')'` like ndarrays.
The default implementation of str and repr for user-defined types is
removed. Fixes numpy#1415
@ahaldane
ahaldane force-pushed the fix_0d_strrepr branch 7 times, most recently from 8df86b6 to bbf5438 Compare November 9, 2017 17:28
@mhvk mhvk closed this Nov 27, 2017
@mhvk
mhvk deleted the pr-9332-fixup branch November 27, 2017 22:25
ahaldane pushed a commit that referenced this pull request Dec 26, 2018
BUG: non-uint-aligned arrays were counted as uint-aligned
ahaldane pushed a commit that referenced this pull request Aug 20, 2019
Add function types directly to prng_t to simplify use
Clean distributionsto use new syntex
Remove unused type definitions
Rename type definitions to me more meaningful

xref #1
ahaldane pushed a commit that referenced this pull request Aug 20, 2019
DOC: fix reference links
ahaldane pushed a commit that referenced this pull request Mar 4, 2021
…py#18295)

* BUG: don't mutate list of fake libraries while iterating over it

* BUG: iterate over copy of list

* TST: add build test for build_ext fix (#1)

* TST: add build test for build_ext fix

* TST: clearer test name

* STY: use triple quotes instead of lists of strings

* FIX: check for f77 compiler before test is run

* DOC: add comment explaining that a list copy is necessary
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.

2 participants