[issue1094] TypeError in poplib.py

2007-09-03 Thread Serge Julien
New submission from Serge Julien: In poplib.py, lines 137-138, bytes and str are compared, leading to a TypeError: [...] 137while line != '.': 138if line[:2] == '..': [...] where type(line) = type 'bytes' -- components: Library (Lib) messages: 55617 nosy

[issue1094] TypeError in poplib.py

2007-09-03 Thread Serge Julien
Serge Julien added the comment: Patch proposal. Tell me if it's right to submit it here: this is the first patch I submit __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1094 __ poplib.diff Description: Binary data