Skip to content
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

AttributeError on co_endlinetable on Python 3.11 #557

Closed
andy-maier opened this issue Oct 13, 2022 · 1 comment
Closed

AttributeError on co_endlinetable on Python 3.11 #557

andy-maier opened this issue Oct 13, 2022 · 1 comment
Milestone

Comments

@andy-maier
Copy link

When using dill 0.3.5.1 on Python 3.11.0-rc.2, using Pylint fails with the following AttributeError in dill.

The complete log is in https://github.com/pywbem/pywbem/actions/runs/3240123940/jobs/5310365651

  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/pickle.py", line 560, in save
    f(self, obj)  # Call unbound method with explicit self
    ^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/dill/_dill.py", line 1187, in save_code
    obj.co_firstlineno, obj.co_lnotab, obj.co_endlinetable,
                                       ^^^^^^^^^^^^^^^^^^^
AttributeError: 'code' object has no attribute 'co_endlinetable'. Did you mean: 'co_linetable'?
@andy-maier
Copy link
Author

andy-maier commented Oct 13, 2022

I just saw that issue #514 reported the same problem and that it is fixed in master, but not yet released, and that a release is coming out shortly.

This issue can be closed. Sorry for not checking this out in the first place.

@mmckerns mmckerns added this to the dill-0.3.6 milestone Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants