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 mark.dickinson
Recipients mark.dickinson, ned.deily, taleinat
Date 2018-09-24.15:03:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537801383.14.0.956365154283.issue34736@psf.upfronthosting.co.za>
In-reply-to
Content
> Do you mean you'd like to have this behavior by default?

Ideally, yes, but I think that's out of scope for this bug report.

> I don't believe it is inherently misleading, though.

Yes, the "1 more than a multiple of 4" bit is clunky, but not misleading per se. It becomes misleading in combination with "length cannot be", since the obvious meaning of "length" here is the length of the string passed to the "b64decode" function, and that's not the correct interpretation in this context.

Your suggested rewording gets rid of the "length" reference, and looks like an improvement to me. "data characters" seems fairly clear, too.
History
Date User Action Args
2018-09-24 15:03:03mark.dickinsonsetrecipients: + mark.dickinson, taleinat, ned.deily
2018-09-24 15:03:03mark.dickinsonsetmessageid: <1537801383.14.0.956365154283.issue34736@psf.upfronthosting.co.za>
2018-09-24 15:03:03mark.dickinsonlinkissue34736 messages
2018-09-24 15:03:03mark.dickinsoncreate