7 Mar
2006
7 Mar
'06
11:29 p.m.
Oleg Broytmann wrote:
On Tue, Mar 07, 2006 at 10:19:03PM +0100, Thomas Heller wrote:
Too bad that ctypes whill be an optional module, so I'm not sure if it could be used in the Python library itself.
try: import ctypes except ImportError: def fallback(): ... else: def real_thing(): ...
Personally, I don't like standard modules to behave different if I install other stuff, so please change 'could' to 'should' in this sentence:
not sure if it could be used in the Python library itself.