ipython / ipython/ipython

Function Pasted with %cpaste Not Available In Editor with %edit

Open
#6,502 1 comment 0 reactions 1 assignee Claimed by @takluyver View on GitHub
bug
Dominant language
Python
Stars
16.8k
Forks
4.5k
Avg merge
1d 2h
Merged PRs (30d)
6

Description

I use %edit to edit functions from Ipython in Vim. But when I attempt this with any function that I pasted in with %cpaste all I get in my editor is 'get_ipython().magic('cpaste')', instead of the function.

Tested on Linux, Python 3.4 with Ipython 2.2.0 and 3.0.0-dev.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.