Code

Changes between Initial Version and Version 1 of Ticket #17447, comment 2


Ignore:
Timestamp:
02/05/12 01:26:17 (2 years ago)
Author:
lrekucki
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17447, comment 2

    initial v1  
    1 It a non issue for Python, beacause this code work in Python 2.x, and Python 3.2+ just uses {{{if not callable(c)}}}. One way to fix this, without touching the verbatim copy would be to alter 2to3, to fix the check.  
     1It's a non issue for Python, beacause this code work in Python 2.x, and Python 3.2+ just uses {{{if not callable(c)}}}. One way to fix this, without touching the verbatim copy would be to alter 2to3, to fix the check.  
    22 
    33I may be missing something, but isn't this check exactly equal to what {{{callable()}}} does? If yes, I'm in favor of changing this.