[issue21511] Thinko in Lib/quopri.py, decoding b"==" to b"="

2015-04-11 Thread R. David Murray
Changes by R. David Murray : -- stage: test needed -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mail

[issue21511] Thinko in Lib/quopri.py, decoding b"==" to b"="

2015-04-11 Thread Guido van Rossum
Guido van Rossum added the comment: Fixed, and removing the dependency on issue 18022. Thanks Christie! -- dependencies: -Inconsistency between quopri.decodestring() and email.quoprimime.decode() resolution: -> fixed ___ Python tracker

[issue21511] Thinko in Lib/quopri.py, decoding b"==" to b"="

2015-04-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2582962ccf17 by Guido van Rossum in branch '3.4': Unittest for Issue 21511 by Christie Wilson bobcatf...@gmail.com. https://hg.python.org/cpython/rev/2582962ccf17 New changeset 23d37a147051 by Guido van Rossum in branch 'default': Unittest for Issue

[issue21511] Thinko in Lib/quopri.py, decoding b"==" to b"="

2015-04-11 Thread Guido van Rossum
Guido van Rossum added the comment: Here's a unittest by Christie Wilson for this issue. -- keywords: +patch nosy: +gvanrossum Added file: http://bugs.python.org/file38900/fix_issue_21511.diff ___ Python tracker __

[issue21511] Thinko in Lib/quopri.py, decoding b"==" to b"="

2015-03-24 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue21511] Thinko in Lib/quopri.py, decoding b"==" to b"="

2015-03-24 Thread Martin Panter
Martin Panter added the comment: The implementation has been fixed for Issue 23681 to slice instead of index, and now compares byte strings: >>> import quopri >>> quopri.decodestring(b"123==four") b'123=four' >>> quopri.a2b_qp = None >>> quopri.decodestring(b"123==four") b'123=four' However, I

[issue21511] Thinko in Lib/quopri.py

2014-05-16 Thread R. David Murray
R. David Murray added the comment: Thanks. It's very clear. What isn't clear is if the line should be made to work as apparently intended, or removed :) (My guess at this point without re-reading the RFCs is that it should be removed.) -- ___ Pyt

[issue21511] Thinko in Lib/quopri.py

2014-05-16 Thread Paul Sokolovsky
Paul Sokolovsky added the comment: This is minor issue indeed, uncovered when trying to run quopri.py with MicroPython http://micropython.org . I now worked around this on MicroPython side, but otherwise I set to report any issues I've seen with MicroPython porting, in the hope that MicroPytho

[issue21511] Thinko in Lib/quopri.py

2014-05-16 Thread R. David Murray
R. David Murray added the comment: We should resolve issue 18022 before we decide how to "fix" this. -- dependencies: +Inconsistency between quopri.decodestring() and email.quoprimime.decode() ___ Python tracker _

[issue21511] Thinko in Lib/quopri.py

2014-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Senthil, David, I hope one of you understands this. I looks like a minor fix. -- nosy: +orsenthil, r.david.murray, terry.reedy stage: -> test needed versions: +Python 3.4 ___ Python tracker

[issue21511] Thinko in Lib/quopri.py

2014-05-15 Thread Paul Sokolovsky
New submission from Paul Sokolovsky: Lib/quopri.py for version 3.3..3.5-tip contains following code: ESCAPE = b'=' ... line = input.readline() if not line: break i, n = 0, len(line) if n > 0 and line[n-1:n] == b'\n': ... elif i+1 < n and line[i+1] == E