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 Expressions, email files: patch_quoprimime messages: 192428 nosy: barry, ezio.melotti, mrabarnett, r.david.murray, umi priority: normal severity: normal status: open title: email/quoprimime.py doesn't use re.sub correctly type: behavior versions: Python 2.7, Python 3.3, Python 3.4 Added file: http://bugs.python.org/file30811/patch_quoprimime _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18380> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com