[issue14459] type([].append([]))

2012-03-31 Thread manolo69

New submission from manolo69 f114...@rppkn.com:

nonetype

--
messages: 157190
nosy: manolo69
priority: normal
severity: normal
status: open
title: type([].append([]))

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14459
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com




[issue14459] type([].append([]))

2012-03-31 Thread manolo69

manolo69 f114...@rppkn.com added the comment:

nonetype
should be list???

--
components: +None
versions: +Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14459
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14459] type([].append([]))

2012-03-31 Thread manolo69

manolo69 f114...@rppkn.com added the comment:

sorry

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14459
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14459] type([].append([]))

2012-03-31 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc amaur...@gmail.com added the comment:

Do you suggest that after myList = [], myList.append(1) should return the 
list?

--
nosy: +amaury.forgeotdarc

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14459
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14459] type([].append([]))

2012-03-31 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

It sounds like manolo69 is just confused about what the append operation 
returns (which is None).  Since this is a carefully considered part of the 
design of Python (operations that mutate objects rather than creating a new 
object return None), I'm closing this issue as invalid.

--
nosy: +r.david.murray
resolution:  - invalid
stage:  - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14459
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com