[issue17466] I can't make assignments to a list.

2013-03-18 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue17466] I can't make assignments to a list.

2013-03-18 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue17466] I can't make assignments to a list.

2013-03-18 Thread Georgiy Treyvus
Georgiy Treyvus added the comment: @Mark: You're right. Sorry for the erroneous bug report. -- resolution: invalid -> status: closed -> open ___ Python tracker ___ _

[issue17466] I can't make assignments to a list.

2013-03-18 Thread Georgiy Treyvus
Georgiy Treyvus added the comment: ok will try -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue17466] I can't make assignments to a list.

2013-03-18 Thread Georgiy Treyvus
Georgiy Treyvus added the comment: wait why was this closed? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17466] I can't make assignments to a list.

2013-03-18 Thread Mark Dickinson
Mark Dickinson added the comment: Sorry; that was a bit terse. To elaborate: on the first iteration of your for loop in the 'encrypt' function, you're correct that letters has type 'list'. But on the second iteration, it'll have type 'str', because the line "letters=doQuadraticDistortion(le

[issue17466] I can't make assignments to a list.

2013-03-18 Thread Mark Dickinson
Mark Dickinson added the comment: doQuadraticDistortion returns a string. Closing as invalid. -- nosy: +mark.dickinson resolution: -> invalid status: open -> closed ___ Python tracker

[issue17466] I can't make assignments to a list.

2013-03-18 Thread Georgiy Treyvus
Georgiy Treyvus added the comment: Yes the assert statements are executed. They are not in any sort of if block or anything like that. When the encrypt function is called and it was in the above examples the assert statements execute period. They really don't have much else of a choice. Look a

[issue17466] I can't make assignments to a list.

2013-03-18 Thread Ezio Melotti
Ezio Melotti added the comment: Have you tried to print "letters" and see what it is? Have you verified that the asserts are executed? You are probably doing something wrong, and it would be better to ask this on python-list. -- nosy: +ezio.melotti ___

[issue17466] I can't make assignments to a list.

2013-03-18 Thread Georgiy Treyvus
New submission from Georgiy Treyvus: The conditions under which this bug occurs I can't explain. I will provide as much other information as I can. This is an issue with both Python2 and Python3. More specifically Python 2.7.3 and Python 3.2.3 as those are what come with the Fedora 17 reposito