Thanks to visit codestin.com
Credit goes to github.com

Skip to content

EntryPoint objects are not pickleable #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jaraco opened this issue Oct 22, 2020 · 12 comments
Closed

EntryPoint objects are not pickleable #96

jaraco opened this issue Oct 22, 2020 · 12 comments

Comments

@jaraco
Copy link
Member

jaraco commented Oct 22, 2020

In GitLab by @asottile on Nov 29, 2019, 01:08

importlib-metadata==0.23, python3.6

>>> import pickle
>>> import importlib_metadata
>>> ep = importlib_metadata.EntryPoint('foo', 'bar', 'baz')
>>> pickle.dumps(ep)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<string>", line 41, in __getnewargs__
  File "/home/asottile/workspace/flake8/venv/lib/python3.6/site-packages/importlib_metadata/__init__.py", line 125, in __iter__
    return iter((self.name, self))
RecursionError: maximum recursion depth exceeded while calling a Python object

I'll need to do something else for flake8 it seems 🤔

Same happens in python3.8 -- should I report this to bpo instead for future issues?

@jaraco
Copy link
Member Author

jaraco commented Oct 22, 2020

In GitLab by @asottile on Nov 29, 2019, 01:34

mentioned in merge request pycqa/flake8!388

@jaraco
Copy link
Member Author

jaraco commented Oct 22, 2020

In GitLab by @jaraco on Nov 30, 2019, 01:52

should I report this to bpo instead for future issues?

Personally, I prefer here for now.

@jaraco
Copy link
Member Author

jaraco commented Oct 22, 2020

In GitLab by @jaraco on Nov 30, 2019, 01:56

mentioned in commit 790dd9f

@jaraco
Copy link
Member Author

jaraco commented Oct 22, 2020

In GitLab by @jaraco on Nov 30, 2019, 01:56

mentioned in commit 1c114e2

@jaraco
Copy link
Member Author

jaraco commented Oct 22, 2020

In GitLab by @jaraco on Nov 30, 2019, 01:58

mentioned in commit 74c3e35

@jaraco
Copy link
Member Author

jaraco commented Oct 22, 2020

In GitLab by @jaraco on Nov 30, 2019, 17:02

mentioned in commit 5f8baf1bb0a1596011e4ad875e94f8a4d0c60a09

@jaraco
Copy link
Member Author

jaraco commented Oct 22, 2020

In GitLab by @jaraco on Nov 30, 2019, 17:02

mentioned in commit f2859b43ad88cb84572f12ba85c546d9dc72b6ff

@jaraco
Copy link
Member Author

jaraco commented Oct 22, 2020

In GitLab by @jaraco on Nov 30, 2019, 17:30

mentioned in commit cf13944a63ef3fb8577b3edc5ba247ad73d778a3

@jaraco
Copy link
Member Author

jaraco commented Oct 22, 2020

In GitLab by @jaraco on Nov 30, 2019, 17:30

mentioned in commit dc8a5372b2e6f1ed7f77d6a6551251e07968fc36

@jaraco
Copy link
Member Author

jaraco commented Oct 22, 2020

In GitLab by @jaraco on Dec 1, 2019, 15:25

I'm going to proceed with the surgical fix for this issue, but can re-explore a more substantive change in another ticket.

@jaraco
Copy link
Member Author

jaraco commented Oct 22, 2020

In GitLab by @jaraco on Dec 1, 2019, 15:28

closed via merge request !99

@jaraco
Copy link
Member Author

jaraco commented Oct 22, 2020

In GitLab by @jaraco on Dec 1, 2019, 15:28

mentioned in commit e226573

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

No branches or pull requests

1 participant