Am 04.02.2014 14:19, schrieb Victor Stinner: > 2014-02-04 Larry Hastings <la...@hastings.org>: >> Why couldn't these tools use inspect.Signature? > > inspect.Signature was added in Python 3.3. Python 2 is still widely > used, and some Linux distro only provide Python 3.2.
Well, Python 2 won't be able to introspect C modules written and compiled for Python 3.x anyway. And __text_signature__ can be used by any Python 3.x with no loss of expressivity (handling strings in both cases). Georg _______________________________________________ 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