[issue27668] list illogical affectation

2016-08-02 Thread antoine Zellmeyer

New submission from antoine Zellmeyer:

>>> tab = [['x']*3]*3
>>> tab
[['x', 'x', 'x'], ['x', 'x', 'x'], ['x', 'x', 'x']]
>>> tab[1][0] = 5
>>> tab
[[5, 'x', 'x'], [5, 'x', 'x'], [5, 'x', 'x']]
>>> 

why not only the element tab[1][0] is changed ?

--
assignee: terry.reedy
components: IDLE, Interpreter Core, Macintosh
messages: 271817
nosy: antoine Zellmeyer, ned.deily, ronaldoussoren, terry.reedy
priority: normal
severity: normal
status: open
title: list illogical affectation
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6

___
Python tracker 
<http://bugs.python.org/issue27668>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16023] IDLE froze when typing ctrl-shift-5

2012-09-25 Thread Zellmeyer

Zellmeyer added the comment:

I used OSX 10.8.2 build 12C54 on both Macbookair and iMac

I have ActiveState TCL installed 8.5

Ctrl-shift-5 does not correspond to a special character on my keyboard layout.

But i discovered that this combination open a window called "tab width" in the 
IDLE shell and the crash appears then the combination is done in a script 
window of IDLE

--
Added file: http://bugs.python.org/file27291/Capture d’écran 2012-09-25 à 
09.24.35.png

___
Python tracker 
<http://bugs.python.org/issue16023>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16023] IDLE froze when typing ctrl-shift-5

2012-09-24 Thread Zellmeyer

New submission from Zellmeyer:

IDLE do not response and you have to force to quit when you type the bad 
combination ctrl-shift-5.

I find it on my macbook when i try do type a [ character and type the bad 
combination by mistake because the keyboard are not exactly the same as the 
iMac.

--
assignee: ronaldoussoren
components: IDLE, Macintosh
messages: 171154
nosy: ronaldoussoren, szellmeyer
priority: normal
severity: normal
status: open
title: IDLE froze when typing ctrl-shift-5
type: crash
versions: Python 3.2

___
Python tracker 
<http://bugs.python.org/issue16023>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com