Issue #14 resolved

rfc822 module depreciated

Anonymous created an issue

https://bitbucket.org/ianb/webob/src/f98ba1b77341/webob/datetime_utils.py

This module imports a depreciated module, see: http://docs.python.org/library/rfc822.html rfc822 — Parse RFC 2822 mail headers

Deprecated since version 2.3: The email package should be used in preference to the rfc822 module. This module is present only to maintain backward compatibility, and has been removed in 3.0.

Comments (5)

  1. Rich43

    Hi, I reported this bug (but wasn't logged in!)

    Sorry, no patch. From a glance it looks pretty trivial but I am not familiar with the code base.

    Will I need another test case?

    I would like to fix this to make Python 3 porting easier.

    If one of the core developers would like to take this on instead, I would prefer that :)

  2. Log in to comment