Bug 237390

Summary: vim python interface buffer slice assignment broke
Product: [Fedora] Fedora Reporter: Scott Tsai <scottt.tw>
Component: vimAssignee: Karsten Hopp <karsten>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-25 15:55:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Scott Tsai 2007-04-21 19:27:25 UTC
Description of problem:
vim has a python interface that allows programmatic access to the current editor
buffer. 
:py vim.current.buffer[:] = [ 'test' ]
Used to be able to reset the buffer contents to only one line 'test' in fc6,
now it appends the line 'test'.

Version-Release number of selected component (if applicable):
vim-enhanced-7.0.224-3.fc7

How reproducible:
always

Steps to Reproduce:
1. vim
2. :py import vim
3. :py vim.current.buffer[:] = [ 'test' ]
4. :py vim.current.buffer[:] = [ 'test' ]
  
Actual results:
test
test

Expected results:
test

Additional info:

Comment 1 Karsten Hopp 2008-02-25 15:55:26 UTC
works in the current rawhide package vim-7.1-242