New submission from Denis Sukhonin:
shutil.rmtree doesn't work correctly on FreeBSD 9.1.
For example if I create a path /tmp/test and try to remove it, I get an
exception:
>>> shutil.rmtree('/tmp/test')
Traceback (most recent call last):
File "", line 1, in
Denis Sukhonin added the comment:
It returns an integer.
>>> import os
>>> os.open('/tmp/test', os.O_RDONLY)
3
--
___
Python tracker
<ht
Denis Sukhonin added the comment:
No, it throws 22.
>>> os.listdir(os.open('/tmp/test', os.O_RDONLY))
Traceback (most recent call last):
File "", line 1, in
OSError: [Errno 22] Invalid argument
--
___
Python tra
Denis Sukhonin added the comment:
The same problem.
>>> os.listdir(os.open('/tmp/test/', os.O_RDONLY))
Traceback (most recent call last):
File "", line 1, in
OSError: [Errno 22] Invalid argument
--
___
Python tra