Neil Tallim <red.hamst...@gmail.com> added the comment: According to the documentation cited by Seo Sanghyeon in the first post, "A TypeError is raised if s were incorrectly padded or if there are non-alphabet characters present in the string."
The valid range of characters is [A-Za-z0-9], and one or two '='s may appear at the end of the input to signify dimension-padding. Therefore, '!' should fail with a TypeError alerting the user to the presence of unrecognized data, rather than being discarded. (Additionally, it looks like newline characters in the input aren't unheard of, and those are probably the reason behind the silent ignores) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1466065> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com