Pinto added the comment:
I have the same problem on my site https://lesmarketing.fr I deactivated the
breadcrumbs, you have found a solution ?
--
nosy: +khaled
___
Python tracker
<https://bugs.python.org/issue40
Pinto added the comment:
Merci Julien j'ai reussi à régler le même problème rencontré sur mon site
https://lesmarketing.fr/agence-seo-montpellier/
--
___
Python tracker
<https://bugs.python.org/is
New submission from Jeremy Pinto :
Issue: If you try to copy a file to a directory that doesn't exist using
shutil.copy, a IsADirectory error is raised saying the directory exists.
This issue is actually caused when `open(not_a_dir, 'wb') is called on a
non-existing dir.
Exp
Jeremy Pinto added the comment:
In fact, the issue seems to be coming from open() itself when opening a
non-existent directory in write mode:
[nav] In [1]: import os
...: nonexixstent_dir = 'not_a_dir/'
...: assert not os.path.exists(nonexixstent_dir)
David Miguel Susano Pinto added the comment:
I have just found out that commit 2438cdf0e93 which added the winmode argument
and the documentation for it disagree. Documentation states that default is
zero while the real default in code is None.
I have opened PR 19167 on github to address it
New submission from David Miguel Susano Pinto :
set union, intersection, difference methods accept any non-zero number of sets
and return a new set instance, like so:
>>> a = set([1, 2])
>>> b = set([1, 3])
>>> c = set([3, 5])
>>> set.unio