[Python-Dev] how about adding ping's uuid module to the standard lib ?

Thomas Heller theller at python.net
Tue Mar 7 22:29:31 CET 2006


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.



More information about the Python-Dev mailing list