[Python-Dev] Restricted API versioning (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Sun Jun 24 09:00:06 CEST 2012
- Previous message: [Python-Dev] Restricted API versioning
- Next message: [Python-Dev] Restricted API versioning
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This strikes me as in opposition to the Python-level policy of duck typing. Would it be more appropriate to, instead of asking if it's Python 3.3.0, ask if it's a Python that supports PYFEATUREFOOBAR? Or would that result in an unnecessary proliferation of flag macros?
It would, hence I'm -1. I believe it is the motivation for the gcc assertion preprocessor feature, which never caught on.
Regards, Martin
- Previous message: [Python-Dev] Restricted API versioning
- Next message: [Python-Dev] Restricted API versioning
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]