home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1263967757

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/7111#issuecomment-1263967757 https://api.github.com/repos/pydata/xarray/issues/7111 1263967757 IC_kwDOAMm_X85LVp4N 5635139 2022-09-30T19:59:05Z 2022-09-30T19:59:05Z MEMBER

Hmmm, python seems to deal with this reasonably for its builtins:

```python In [1]: a = [1]

In [2]: b = [a]

In [3]: a.append(b)

In [4]: import copy

In [5]: copy.deepcopy(a) Out[5]: [1, [[...]]] ```

I doubt this is getting hit that much given it requires a recursive data structure, but it does seem like a gnarly error.

Is there some feature that python uses to check whether a data structure is recursive when it's copying, which we're not taking advantage of? I can look more later.

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