Skip to content

Commit

Permalink
Update Python3_original.md
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelb authored Nov 4, 2020
1 parent d646ab4 commit 4881e09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/Python3_original.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ To get the REPL behaviour (active by default) working, you need to isntall the k
Alternatively, disable the REPL behaviour for python in your config file

let g:SnipRun_repl_behavior_disable = ["Python3_original"]

With the REPL enabled, sniprunning a \* (star) import `from module import *` may not work, indeed the imports needs to be correctly saved/loaded by klepto. klepto manages variables, functions and modules but very special things may fail.

With or without REPL, the star imports may also not be automatically fetched, even though normal imports will be. Python3_original has the 'Import' support level but that won"t work with star import, and I don't think we'll be able to make a workaround due to the philosophy 'run only what's necessary' of sniprun.

0 comments on commit 4881e09

Please sign in to comment.