I sometimes have code like this:
class Foo:
def spam(self):
from somewhere import method
from somewhere import CONSTANT
def blah(self):
where CONSTANT defines a class attribute, anbd method
is a method that I would like to call like any other
methor (
If there are many people who actually want to enforce the non-use of
print(arg) in 2.x for some specific reason, and not just because it is bad
style to write if (a == b) or foobar((2)) - then I would strongly prefer
for an error code to disable this check independently of the other useful
warnings
On 07/02/14 20:15, Sasha Hart wrote:
> If there are many people who actually want to enforce the non-use of
> print(arg) in 2.x for some specific reason, and not just because it is
> bad style to write if (a == b) or foobar((2)) - then I would strongly
> prefer for an error code to disable this che
On 2/6/14 1:51 PM, Thomas Heller wrote:
I sometimes have code like this:
class Foo:
def spam(self):
from somewhere import method
from somewhere import CONSTANT
def blah(self):
where CONSTANT defines a class attribute, anbd method
is a method that I w