FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

BUG: ensure that casting to/from structured is properly checked. by charris · Pull Request #14044 · numpy/numpy · GitHub

/ numpy Public

BUG: ensure that casting to/from structured is properly checked. - #14044

Merged
charris merged 1 commit into
numpy:maintenance/1.16.xfrom
charris:backport-13648
Jul 17, 2019
Merged

charris merged 1 commit into
numpy:maintenance/1.16.xfrom
charris:backport-13648

Conversation

charris commented Jul 17, 2019

Copy link
Copy Markdown
Member

Backport of #13648 .

Allow unsafe casting from a simple data type to a structured one with
multiple fields, but only from structured data type with a single
field (checked recursively) to a simple data type.

For now, continue to allow any structured to structured with
casting="unsafe", as the current can_cast implementation does not
match that of "astype".

Allow unsafe casting from a simple data type to a structured one with
multiple fields, but only from structured data type with a single
field (checked recursively) to a simple data type.

For now, continue to allow any structured to structured with
casting="unsafe", as the current can_cast implementation does not
match that of "astype".
charris added this to the 1.16.5 release milestone Jul 17, 2019
charris merged commit 2075623 into numpy:maintenance/1.16.x Jul 17, 2019
charris deleted the backport-13648 branch July 17, 2019 20:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL