[issue18380] email/quoprimime.py doesn't use re.sub correctly

2013-07-06 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: -> ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: -Python 2.7 ___ Python tracker __

[issue18380] email/quoprimime.py doesn't use re.sub correctly

2013-07-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset c8fd1351c840 by Ezio Melotti in branch '3.3': #18380: pass regex flags to the right argument. Patch by Valentina Mukhamedzhanova. http://hg.python.org/cpython/rev/c8fd1351c840 New changeset 6e23ce14c3c6 by Ezio Melotti in branch 'default': #18380:

[issue18380] email/quoprimime.py doesn't use re.sub correctly

2013-07-06 Thread Valentina Mukhamedzhanova
Changes by Valentina Mukhamedzhanova : Removed file: http://bugs.python.org/file30811/patch_quoprimime ___ Python tracker ___ ___ Python-bugs-

[issue18380] email/quoprimime.py doesn't use re.sub correctly

2013-07-06 Thread Valentina Mukhamedzhanova
Valentina Mukhamedzhanova added the comment: I have updated the patch with a testcase. -- Added file: http://bugs.python.org/file30819/patch_18380 ___ Python tracker ___

[issue18380] email/quoprimime.py doesn't use re.sub correctly

2013-07-06 Thread Valentina Mukhamedzhanova
New submission from Valentina Mukhamedzhanova: header_decode function in the standard library email/quoprimime.py module calls re.sub with a positional argument for flags in the wrong position. My patch fixes it to use a keyword argument. -- components: Library (Lib), Regular Expressio