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
No 'reload' argument to 'detect_macros' #2
Comments
reload
argument to detect_macros
Thanks for the report, and #3! I have used @azazel75's fork of MacroPy, because a while ago (IIRC, late 2018), it was the official version for Python 3. But it seems things have changed in the meantime so that azazel75 now has commit access to @lihaoyi's original repository, so maybe I should switch to that version and begin testing against that. I'll investigate a bit, and report here. I'll most likely merge your PR when done. |
Aaaah, turns out that This small change to MacroPy was part of my original PR to include It enables I suppose the solution is to disable it for now, and think a bit. There are two possible long-term solutions:
I'll mull over it for a couple more days, and then conclude this. |
Hmm, there's also this option:
Easy to explain, may be a good idea... |
Went for option #3. We only need the module names and that's just a couple lines of code. Live reloading should work with a stock MacroPy now. |
It seems that macropy from
https://github.com/lihaoyi/macropy
definesdetect_macros
without areload
argument. Loading the imacropy extension fails, as the fileimacropy/console.py
callsdetect_macros
with a reload argument. This argument should be removed.The text was updated successfully, but these errors were encountered: