Steve Alexander wrote: > Martijn Pieters wrote: > > > > Oops. You took out the strip. But IIRC, base64 does a strip as well. > > So it does! > > >>> from base64 import * > >>> s = encodestring('foo') > >>> decodestring(s) > 'foo' > >>> decodestring(s+' ') > 'foo' > >>> decodestring(' '+s) > 'foo' So what was causing the original error then? Chris _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
- Re: [Zope-dev] Incorrect Padding? Steve Alexander
- Re: [Zope-dev] Incorrect Padding? Chris Withers
- Re: [Zope-dev] Incorrect Padding? Steve Alexander
- Re: [Zope-dev] Incorrect Padding? Chris Withers
- Re: [Zope-dev] Incorrect Padding? Steve Alexander
- Re: [Zope-dev] Incorrect Padding? Chris Withers
- Re: [Zope-dev] Incorrect Padding? Martijn Pieters
- Re: [Zope-dev] Incorrect Padding? Steve Alexander
- Re: [Zope-dev] Incorrect Padding? Martijn Pieters
- Re: [Zope-dev] Incorrect Padding... Steve Alexander
- Re: [Zope-dev] Incorrect Padding... Chris Withers
- Re: [Zope-dev] Incorrect Padding... Martijn Pieters
- Re: [Zope-dev] Incorrect Padding... Chris Withers
- Re: [Zope-dev] Incorrect Padding... Martijn Pieters
- Re: [Zope-dev] Incorrect Padding... Martijn Pieters
- Re: [Zope-dev] Incorrect Padding... Steve Alexander
- Re: [Zope-dev] Incorrect Padding... Martijn Pieters
- Re: [Zope-dev] Incorrect Padding... Steve Alexander
- [Zope-dev] Standard Error Messag... Chris Withers
- Re: [Zope-dev] Incorrect Padding... Martijn Pieters
- Re: [Zope-dev] Incorrect Padding... Shane Hathaway