This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients bmwiedemann, brett.cannon, ezio.melotti, mrabarnett, pitrou, r.david.murray
Date 2015-12-15.16:19:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450196385.9.0.443447997768.issue25870@psf.upfronthosting.co.za>
In-reply-to
Content
This has already been fixed in issue 22687.  It was deemed a performance improvement for an edge case and was not backported.

I don't see the advantage of using textwrap to split up base64 encoded strings, by the way.  The module isn't designed for doing line splitting, it designed for doing text wrapping where blanks matter.  For your application I would just do:

   lines = [x[n*64:(n+1)*64] for n in range((len(x)//64)+1)]
History
Date User Action Args
2015-12-15 16:19:45r.david.murraysetrecipients: + r.david.murray, brett.cannon, pitrou, ezio.melotti, mrabarnett, bmwiedemann
2015-12-15 16:19:45r.david.murraysetmessageid: <1450196385.9.0.443447997768.issue25870@psf.upfronthosting.co.za>
2015-12-15 16:19:45r.david.murraylinkissue25870 messages
2015-12-15 16:19:45r.david.murraycreate