New submission from Calvin Spealman :
I came across this behavior when it was related to the shadowing of a small
typo bug and took me forever to find. In my case, the original error was
shadowed in a way that is unrelated to this bug, but lead to the module being
imported twice (because it
Calvin Spealman added the comment:
Doesn't it already go into multiple directories? Isn't that a requirement of a
recursive directory walk, which I understand discover does?
I am also thinking the current documentation just doesn't make these details
clear, so should that be
New submission from Calvin Spealman :
For example, if I had a project with a "src/" directory and inside that
directory is a package named "foo", then I can run "python3 -m unittest
discover -s ." and the tests will be not be found, but I can run "python3 -m
Changes by Calvin Spealman :
--
nosy: +ironfroggy
___
Python tracker
<http://bugs.python.org/issue5191>
___
___
Python-bugs-list mailing list
Unsubscribe:
Calvin Spealman added the comment:
The patch attached uses a with statement for proper file closing in the
examples.
___
Python tracker
<http://bugs.python.org/issue5
New submission from Calvin Spealman :
The following example from the xmlrpclib docs has an obviously erronous
call to close() after the actual return.
(http://docs.python.org/library/xmlrpclib.html)
def python_logo():
handle = open("python_logo.jpg")
return xmlrpc
Changes by Calvin Spealman <[EMAIL PROTECTED]>:
--
versions: +Python 2.7
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4573>
___
_
Calvin Spealman <[EMAIL PROTECTED]> added the comment:
This should be applicable to 2.7, at least, as well. Here is a backport
of the patch against trunk.
--
nosy: +ironfroggy
Added file: http://bugs.python.org/file12273/zsh-fnmatch-2.
Calvin Spealman <[EMAIL PROTECTED]> added the comment:
Confirmed this behavior on my ubuntu installations but it fails properly
on Windows.
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Changes by Calvin Spealman <[EMAIL PROTECTED]>:
--
nosy: +ironfroggy
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4579>
___
__
Calvin Spealman <[EMAIL PROTECTED]> added the comment:
I don't think this is any kind of bug, it is simply a product of only
function objects being decorated automatically as methods. Your python
version works because it is, in fact, a function. _functools.partial
objects are no
11 matches
Mail list logo