ledave123 ledave...@yahoo.fr added the comment:
Here is the patch:
diff -r e8da570d29a8 Lib/idlelib/PyShell.py
--- a/Lib/idlelib/PyShell.pyWed Jul 27 21:28:23 2011 +0200
+++ b/Lib/idlelib/PyShell.pyWed Aug 31 20:16:38 2011 +0200
@@ -582,7 +582,9 @@
def execfile(self, filename
ledave123 ledave...@yahoo.fr added the comment:
The problem can be fixed with tokenize :
I'm sorry I never submitted a path and I have no access to the source tree from
here, if someone cares to do it, do not hesitate.
def execfile(self, filename, source=None):
Execute an existing
New submission from ledave123 ledave...@yahoo.fr:
I'm on Windows with cp1252 as the default encoding.
When I use -*- coding: c1252 -*- I get no problems.
When I use -*- coding: utf-8 -*- IDLE -r still opens the file with cp1252
encoding.
Python.exe opens the file with utf-8 correctly.
I think
New submission from ledave123 ledave...@yahoo.fr:
On python 2.4.4, reversed(range()) is correct :
list(reversed(range(12,-1,-1)))
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
However, on python 3.1.1 :
list(reversed(range(12,-1,-1)))
[]
which is obviously wrong.
When step is positive