home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 368110090

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/1938#issuecomment-368110090 https://api.github.com/repos/pydata/xarray/issues/1938 368110090 MDEyOklzc3VlQ29tbWVudDM2ODExMDA5MA== 1217238 2018-02-23T19:13:14Z 2018-02-23T19:13:14Z MEMBER

How about something like checking inside a list if something is top priority, then call a, if second priority, call b, etc.

Usually, this is not a good idea. The problem is that it's impossible to know a global priority order across unrelated packages. It's usually better to declare valid type matches explicitly.

NumPy tried this with __array_priority__, but in practice these priority numbers are basically meaningless for all comparisons other than comparisons to the priority of NumPy arrays.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  299668148
Powered by Datasette · Queries took 0.896ms · About: xarray-datasette