Israel Fruchter added the comment:
the failure looks like that:
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.5/shutil.py", line 359, in copytree
raise Error(errors)
shutil.Error: [('/bug/broken', '/temp/broken
New submission from Israel Fruchter:
this fails on python3.5-alpine and python3.6-alpine
(works as fine in python2.7-alpine)
cd /bug && ln -s /broken_path/to_nowhere broken
python -c "import shutil; shutil.copytree('/bug', '/temp', symlinks=True)"
Docke
Israel Fruchter added the comment:
Some real use cases is needed, like testing a code that behave differently on
case of package availability.
I think something like patch for modules can be useful here, so you could have
some control on what would be returned.
--
nosy: +fruch
Israel Fruchter added the comment:
I've now found http://bugs.python.org/issue2647, and seem like this was
classify as not a bug.
maybe documetion should say it ? or anther way to actuly decide about how to
output those
--
___
Python tr
New submission from Israel Fruchter:
Both on python2.7 and python3.4
>>> from xml.etree import cElementTree as ET
>>> text = 'its > < & ''
>>> root = ET.fromstring(text.encode('utf-8'))
>>> ET.tostring(root, method="
Changes by Israel Fruchter :
--
versions: +Python 2.6, Python 2.7
___
Python tracker
<http://bugs.python.org/issue14693>
___
___
Python-bugs-list mailin
Israel Fruchter added the comment:
I think (2) is very important, and I agree Gregory about the distro
responsibility for size.
further more, if everything is define using the standard Modules/Setup, or
Modules/Setup.local during compile/build time, why having a fallback anyhow in
New submission from Israel Fruchter :
fnmatch to support escape characters:
like that:
>>> name = "Document[Ver.2].doc"
>>> pattern = "*\[Ver.2\]*"
>>> fnmatch.fnmatch(name, pattern)
True
that's also fix glob module:
>>&