[New-bugs-announce] [issue25363] x=[1,2,3].append([1,2,3]) bug

grafika report at bugs.python.org
Sat Oct 10 17:37:55 CEST 2015


New submission from grafika:

>>> [1,2,3].append([1,2,3])  
>>>                          
>>> x=[1,2,3].append([1,2,3])
>>> x                        
>>> x                        
>>> type(x)                  
<class 'NoneType'>           
>>> x=[1,2,3]                
>>> x.append([1,2,3])        
>>> x                        
[1, 2, 3, [1, 2, 3]]         
>>>

----------
components: Windows
files: pybug.jpg
messages: 252718
nosy: lenivaya10001, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: x=[1,2,3].append([1,2,3]) bug
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file40742/pybug.jpg

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25363>
_______________________________________


More information about the New-bugs-announce mailing list