[issue12241] email.header.Header encoding fails on empty header

2011-06-02 Thread Tim Koopman
Tim Koopman added the comment: Looking at the source of 3.2.1, it appears this was already solved. Sorry. -- ___ Python tracker <http://bugs.python.org/issue12

[issue12241] email.header.Header encoding fails on empty header

2011-06-02 Thread Tim Koopman
Tim Koopman added the comment: The default Arch Linux version: 3.2.0 Python 3.2 (r32:88445, Apr 15 2011, 11:09:05) -- ___ Python tracker <http://bugs.python.org/issue12

[issue12241] email.header.Header encoding fails on empty header

2011-06-02 Thread Tim Koopman
New submission from Tim Koopman : Creating an empty header produces an exception when calling the encode function: >>> from email.header import Header >>> Header('', 'iso-8859-1').encode() Traceback (most recent call last): File "", line 1

[issue1669] shutil.rmtree fails on symlink, after deleting contents

2007-12-20 Thread Tim Koopman
Tim Koopman added the comment: > While we are removing the contents of the target directory as expected, This is not what I expected at all. I expected the function to fail, because the target was not a directory, just a symlink to a directory. That, or behavior similar to the command &quo

[issue1669] shutil.rmtree fails on symlink, after deleting contents

2007-12-20 Thread Tim Koopman
Changes by Tim Koopman: -- title: shutils.rmtree fails on symlink, after deleting contents -> shutil.rmtree fails on symlink, after deleting contents __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1669] shutils.rmtree fails on symlink, after deleting contents

2007-12-20 Thread Tim Koopman
New submission from Tim Koopman: When using rmtree with a symlink to a directory as path, it will first follow the symlink, (try to) remove all the contents of the source directory and then raise the exception "OSError: [Errno 20] Not a directory". Expected behaviour: The function s