On Tue, Nov 4, 2014 at 10:52 AM, Roberto MartÃnez < robertomartin...@gmail.com> wrote:
> $ cat testcall.py > class A: > You are using old-style classes in Python 2.7 unless you explicitly inherit from object. If I vary the class line to be "class A(object):" I get the same behavior with 2.7 as you see with 3.4. My guess is this causes the different behavior between versions. You might also find it useful to "print A.__call__" and "print a.__call__" with different class statements. Skip
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com