[issue3835] tkinter goes into an infinite loop (pydoc.gui)

2008-09-17 Thread Helmut Jarausch
Helmut Jarausch [EMAIL PROTECTED] added the comment: Many thanks, that solved the problem. Since the cause of the problem wasn't easy to find out (for me, at least) would be possible to check at import time if Tcl/Tk has been configured with threads enabled? Helmut

[issue3187] os.listdir can return byte strings

2008-09-18 Thread Helmut Jarausch
Helmut Jarausch [EMAIL PROTECTED] added the comment: Hi, is this assumed to be fixed in 3.0rc1 ? with SVN 66506 (3.0rc1+) for dirname, subdirs, files in os.walk(bytes(Top,'iso-8859-1')) : still gives an error here: for dirname, subdirs, files in os.walk(bytes(Top,'iso-8859-1')) : File

[issue2947] subprocess (Replacing popen) - add a warning / hint

2008-05-22 Thread Helmut Jarausch
New submission from Helmut Jarausch [EMAIL PROTECTED]: Background: I (as many others, too) have used the following code in the past ARC='MyDumpFile' tar_inp= os.popen('/bin/tar cjf '+ARC+' -T -','w') tar_exit_code= tar_inp.close() if tar_exit_code != None and tar_exit_code % 256 : print

[issue3131] 2to3 can't find fixes_dir

2008-06-20 Thread Helmut Jarausch
Helmut Jarausch [EMAIL PROTECTED] added the comment: The suggested fix succeeds but then the next problem occurs Traceback (most recent call last): File /usr/local/bin/2to3, line 6, in module sys.exit(refactor.main(fixers)) File /usr/local/lib/python3.0/lib2to3/refactor.py, line 81, in main

[issue3131] 2to3 can't find fixes_dir

2008-06-21 Thread Helmut Jarausch
Helmut Jarausch [EMAIL PROTECTED] added the comment: This patch seems to work, but when invoked it tries to write to /usr/local/lib/python3.0/lib2to3 ( I get root: Writing failed:[Errno 13] Permission denied: '/usr/local/lib/ python3.0/lib2to3/PatternGrammar3.0.0.beta.1.pickle' ) I hope

[issue3187] os.walk - strange bug

2008-06-24 Thread Helmut Jarausch
New submission from Helmut Jarausch [EMAIL PROTECTED]: The script below produces 1664 lines of output before it bails out with Traceback (most recent call last): File WalkBug.py, line 5, in module for Dir, SubDirs, Files in os.walk('/home/jarausch') : File /usr/local/lib/python3.0/os.py

[issue3187] os.walk - strange bug

2008-06-24 Thread Helmut Jarausch
Helmut Jarausch [EMAIL PROTECTED] added the comment: Could you tell us what this 1665th line should be? Maybe the 1665th directory has something special (a filename with spaces or non-ascii chars...) Yes, the next directory contains a filename with an iso-latin1 but non- ascii character

[issue3835] tkinter goes into an infinite loop (pydoc.gui)

2008-09-11 Thread Helmut Jarausch
New submission from Helmut Jarausch [EMAIL PROTECTED]: With version 3.0 (SVN 66386) import pydoc pydoc.gui() gives Exception in thread Thread-1: Traceback (most recent call last): File /usr/local/lib/python3.0/threading.py, line 507, in _bootstrap_inner self.run() File /usr/local

[issue16811] email.message.Message flatten dies of list index out of range

2012-12-29 Thread Helmut Jarausch
New submission from Helmut Jarausch: The following code triggers the bug: #!/usr/bin/python3.3 #-*- coding: latin1 -*- from email.message import Message from email import policy from email.parser import FeedParser Parser= FeedParser(policy=policy.SMTP) Parser.feed('From jarau...@igpm.rwth

[issue17266] Idle + tcl 8.6.0 Can't convert '_tkinter.Tcl_Obj' object to str implicitly

2013-02-21 Thread Helmut Jarausch
New submission from Helmut Jarausch: I have tcl/tk 8.6.0 installed here. Both Python versions below are build from source. I'm using LANG=en_US.iso88591 here if that matters. When opening a file in Idle with python-3.3.1 revision: c08bcf5302ec or python-3.4.0a0 (default:3a110a506d35) (HG

[issue17413] format_exception() breaks on exception tuples from trace function

2013-03-14 Thread Helmut Jarausch
Helmut Jarausch added the comment: The problem is caused by the new format_exception in Python's traceback.py file. It reads def format_exception(etype, value, tb, limit=None, chain=True): list = [] if chain: values = _iter_chain(value, tb) else: values = [(value, tb

[issue15763] email non-ASCII characters in TO or FROM field doesn't work

2012-08-22 Thread Helmut Jarausch
New submission from Helmut Jarausch: Trying to generate an email with Latin-1 characters in the TO or FROM field either produces an exception or produces strange values in the generated email: Using Python 3.2.3+ (3.2:481f5d9ef577+, Aug 8 2012, 10:00:28) #!/usr/bin/python3 #-*- coding

[issue16541] tk_setPalette doesn't accept keyword parameters

2012-11-23 Thread Helmut Jarausch
New submission from Helmut Jarausch: import tkinter as Tk root= Tk.Tk() root.tk_setPalette(background = 'AntiqueWhite1', foreground = 'blue') but python-3.3:0+ (3.3:27cb1a3d57c8+) gives Traceback (most recent call last): File Matr_Select.py, line 174, in module root.tk_setPalette