[issue1685] linecache .updatecache fails on utf8 encoded files

2007-12-28 Thread PyScripter
PyScripter added the comment: Patch file attached Added file: http://bugs.python.org/file9034/linecache.py.patch __ Tracker <[EMAIL PROTECTED]> __ linecache.py.patch Description: Binary data

[issue1685] linecache .updatecache fails on utf8 encoded files

2007-12-28 Thread PyScripter
PyScripter added the comment: To reproduce the error: a) Save the following file in utf-8 format as c:\temp\module1.py # -*- coding: utf-8 -*- print("ψ") b) Run the following script: import pdb d = pdb.Pdb() filename = r"c:\Temp\module1.py" print(d.set_break(filename,1)) Expected result None

[issue1707] probable bug in code.py with Python 3.0a2

2007-12-28 Thread Andre Roberge
New submission from Andre Roberge: There appears to be a bug in code.py in Python 3.0a2/a1. I believe that the body of InteractiveConsole().raw_input() should be changed from sys.stdout.write(prompt) sys.stdout.flush() return sys.stdin.readline() to return input(prom

[issue1704] possible bug in randint

2007-12-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: Threading is the likely source of your problems. If you concur, please close this as invalid. -- nosy: +rhettinger __ Tracker <[EMAIL PROTECTED]> __

[issue1706] Force WINVER 0x0500 (Windows 2000)

2007-12-28 Thread Martin v. Löwis
Martin v. Löwis added the comment: It's definitely not good to define it unconditionally in PC/pyconfig.h, as that would affect any extensions compiled for Python. I'm -0 on defining it conditionally for the compilation of Python itself. I dislike having to constrain Python to Windows 2000; IMO,

[issue1061803] Source code encoding in IDLE console

2007-12-28 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: Can this be closed? Is it still an issue in 3.0? -- nosy: +kbk _ Tracker <[EMAIL PROTECTED]> _ ___

[issue1704] possible bug in randint

2007-12-28 Thread Rich Marinaccio
Rich Marinaccio added the comment: I've done some more testing and I can't get this to repeat with randint alone. It must be an issue with combination of the len() function used as a parameter to randint. The above code is in a loop that further down will del preshuffle[randIndex]. Could this

[issue1778443] robotparser.py fixes

2007-12-28 Thread Aristotelis Mikropoulos
Aristotelis Mikropoulos added the comment: Also, I would like to tell you that my new account name is "Indy", and not "indy90" anymore (I changed since this issue tracker moved from SourceForge to here). So, thanks again and I hope this patch will be helpful.

[issue1607] Patch for TCL 8.5 support

2007-12-28 Thread Christian Heimes
Christian Heimes added the comment: Can you start a discussion on python-dev please? Tcl/Tk support should be added to Python trunk (2.6) and ported to 3.0. Is it possible to keep compatibility with Tcl/Tk 8.4, too? -- resolution: -> rejected status: open -> closed

[issue1607] Patch for TCL 8.5 support

2007-12-28 Thread Tal Einat
Tal Einat added the comment: I say close it, but start a discussion on switching to Tcl/Tk8.5 on the appropriate list(s). __ Tracker <[EMAIL PROTECTED]> __ _

[issue1706] Force WINVER 0x0500 (Windows 2000)

2007-12-28 Thread Christian Heimes
New submission from Christian Heimes: Do you think it's a good idea to force Win2k compatibility by defining WINVER 0x0500 in PC/pyconfig.h? It fixed the problem with Tcl/Tk, #1601. http://msdn2.microsoft.com/en-us/library/aa383745.aspx #define WINVER 0x0500 #define _WIN32_WINNT 0x0500 ---

[issue1705] trace module does not annotate global statement

2007-12-28 Thread Wummel
New submission from Wummel: Hi, the trace module does not properly count the global statement. So coverage tests of functions that use the global statement always file. To reproduce write a simple function using the global statement and store it in "mytest.py" (which is attached). Then run "pyt