I believe I've found the cause and a fix for this problem.
The identifier CRLF appears to have come from the standard
python module poplib. At one time I suspect that bobomail's
lib/pop3lib.py's
from poplib import *
fully imported the CR, LF, and CRLF values. However now (as
of Python 2.1.2 at least) the value of __all__ is specified
leaving out CRLF and friends and so that value is no longer
available. Beware of using non-documented features. ;)
At any rate,
This patch seems to have fixed me:
--- lib/pop3lib.py.orig Thu Feb 14 09:45:25 2002
+++ lib/pop3lib.py Thu Feb 14 09:40:33 2002
@@ -1,6 +1,9 @@
from util import StringIO
from poplib import *
+CR = '\r'
+LF = '\n'
+CRLF = CR+LF
class POP3X(POP3):
Ken Causey
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=2193
I believe I've found the cause and a fix for this problem.
The identifier CRLF appears to have come from the standard
python module poplib. At one time I suspect that bobomail's
lib/pop3lib.py's
from poplib import *
fully imported the CR, LF, and CRLF values. However now (as
of Python 2.1.2 at least) the value of __all__ is specified
leaving out CRLF and friends and so that value is no longer
available. Beware of using non-documented features. ;)
At any rate,
This patch seems to have fixed me:
--- lib/pop3lib.py.orig Thu Feb 14 09:45:25 2002
+++ lib/pop3lib.py Thu Feb 14 09:40:33 2002
@@ -1,6 +1,9 @@
from util import StringIO
from poplib import *
+CR = '\r'
+LF = '\n'
+CRLF = CR+LF
class POP3X(POP3):
Ken Causey