[Python-Dev] base64 -- should b64encode introduce line breaks?
barry at python.org
Fri Sep 14 21:54:23 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
On Sep 14, 2007, at 3:20 PM, Bill Janssen wrote:
> I think that's probably right. I just added the PEM line-wrapping to
> the code in the ssl module. Though I hate to keep adding
> line-wrapping code here and there... Perhaps just adding a utility
> function, wrap_lines(), or some such to the module would suffice.
Does anything in textwrap already do the trick? If not, that might
be the best place to refactor similar code to.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
-----END PGP SIGNATURE-----
More information about the Python-Dev