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
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
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
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
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
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