Issue #14 resolved

rfc822 module depreciated

Anonymous avatarAnonymous 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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.