#15917: Logging dictionary config works wrong at least with SMTPHandler ---------------------+------------------------------ Reporter: albenik | Owner: nobody Type: Bug | Status: new Milestone: | Component: Core (Other) Version: 1.3 | Severity: Normal Keywords: | Triage Stage: Unreviewed Has patch: 0 | Easy pickings: 0 ---------------------+------------------------------ /django/utils/dictconfig.py:218 has method BaseConfigurator.convert() wich converts dictionaries, tuples and lists to it ConvertingDict, ConvertingType, ConvertingList analogies. But in /logging/handlers.py:808 SMTPHandler.__init__() method argument types checks for full equality with particular type (ex. if type(credentials) == types.TupleType). As result it's imposiible to pass mailhost with port and credentials to SMTPHandler througth dictionary config
-- Ticket URL: <http://code.djangoproject.com/ticket/15917> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.