[Python-Dev] Re: [Python-checkins] python/dist/src/Modules threadmodule.c, 2.56, 2.56.8.1

Guido van Rossum gvanrossum at gmail.com
Thu Sep 2 20:05:11 CEST 2004


> People who rely on that feature should get a compile time
> error on 2.3.x, instead of compilation succeeding for some x.
> People who need to support 2.3 as well should use the Python
> API to the datetime module, not the C API.

Given that it's a CObject, code could easily be written (and I'm sure
cx_Oracle will do this) that attempts to import the CObject and uses a
fallback if that fails. I expect that cx_Oracle will be just about the
only customer of this API.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
Ask me about gmail.


More information about the Python-Dev mailing list