| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Add PYTHONPATH=$(srcdir) to run $(PYTHON_FOR_REGEN) -m Parser.pgen, so it's possible to build Python from a different directory.
|
This is more likely a workaround. Let me see what changed the behavior before we jump to this solution. |
Sorry, something went wrong.
Why? For me, it's the right fix.
Previously (1 month ago?), make regen-all didn't use Parser.pgen: https://bugs.python.org/issue36733#msg340903 |
Sorry, something went wrong.
|
I take my statement back. This is the a proper solution, we don't need to copy around pure Python code just to be able to import it. What keeps me confused is the empty Parser directory created by configure. Should it no longer be created? |
Sorry, something went wrong.
There was a problem hiding this comment.
At the end, something is indeed compiled to that directory. So I guess it should remain there.
This fixes the issue.
Sorry, something went wrong.
Thanks for the review.
configure creates the empty mybuild/Parser subdirectory. I don't know why. At least, it doesn't prevent to build Python :-) |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Add PYTHONPATH=$(srcdir) to run $(PYTHON_FOR_REGEN) -m Parser.pgen,
so it's possible to build Python from a different directory.
https://bugs.python.org/issue36733