Opened 7 years ago

Closed 7 years ago

#16154 closed defect (duplicate)

paste line continuation

Reported by: vbraun Owned by:
Priority: major Milestone: sage-6.2
Component: misc Keywords:
Cc: ohanar Merged in:
Authors: Volker Braun Reviewers:
Report Upstream: N/A Work issues:
Branch: u/vbraun/paste_line_continuation (Commits, GitHub, GitLab) Commit: b367950d85a278884c1f0c4806f58f2f423a50c1
Dependencies: Stopgaps:

Status badges

Description (last modified by vbraun)

Pasting new-style line continuations does not work, possibly due to the last IPython update:

sage: sage: a = [1, 
....: ....:      2]

This is because IPythons own prompt stripper takes out the first three periods. The patch lets our own prompt stripper run first.

Change History (4)

comment:1 Changed 7 years ago by vbraun

  • Component changed from PLEASE CHANGE to misc
  • Description modified (diff)
  • Type changed from PLEASE CHANGE to defect

comment:2 Changed 7 years ago by vbraun

  • Branch set to u/vbraun/paste_line_continuation

comment:3 Changed 7 years ago by vbraun

  • Authors set to Volker Braun
  • Cc ohanar added
  • Commit set to b367950d85a278884c1f0c4806f58f2f423a50c1
  • Description modified (diff)
  • Status changed from new to needs_review

Might be best to deal with this in #16050


New commits:

b367950make our own prompt stripper run before the IPython one

comment:4 Changed 7 years ago by vbraun

  • Resolution set to duplicate
  • Status changed from needs_review to closed

Incorporated into #16050

Note: See TracTickets for help on using tickets.