[ 
https://issues.apache.org/jira/browse/LIVY-764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gyorgy Gal updated LIVY-764:
----------------------------
    Fix Version/s: 0.10.0
                       (was: 0.9.0)

This issue has been moved to the 0.10.0 release as part of a bulk update. If 
you feel this is moved out inappropriately, feel free to provide justification 
and reset the Fix Version to 0.9.0.

> [PythonShell] Give code block a filename and cache it in linecache
> ------------------------------------------------------------------
>
>                 Key: LIVY-764
>                 URL: https://issues.apache.org/jira/browse/LIVY-764
>             Project: Livy
>          Issue Type: New Feature
>          Components: REPL
>            Reporter: Zhang
>            Priority: Major
>              Labels: python, shell
>             Fix For: 0.10.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Today python shell (fake_shell) uses 'stdin' as file name to compile code 
> blocks and never caches them in linecache. This breaks the user code that 
> depends on "*inspect.findsource*", like "*torch.jit.script*"
>  
> To enable code block caching at the backend, we can use the way how ipython 
> does: 
> [https://github.com/ipython/ipython/blob/44bd47d5ac27805a297798d39ad7e31f63181468/IPython/core/compilerop.py#L54]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to