AttributeError: 'module' object has no attribute 'DatagramHandler' (ubuntu-8.10, python 2.5.2)

Tzury Bar Yochay Afro.Systems at gmail.com
Mon Dec 29 13:08:54 CET 2008


$ ~/devel/ice/snoip/freespeech$ python
Python 2.5.2 (r252:60911, Oct  5 2008, 19:24:49)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import logging
>>> logging.DatagramHandler
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'DatagramHandler'
>>>


That is odd since the documentation says there is DatagramHandler for
module logging



More information about the Python-list mailing list