Catalin Iacob <iacobcata...@gmail.com> added the comment:

Attached v2 of patch where mixing str and binary data for altchars or map01 
raises TypeError.

I also added a note for each of the changed functions that it also accepts 
strings (but didn't also update the docstrings).

When writing the docs, the new functionality seemed hard to describe; maybe 
that means this issue only complicates things and is not worth it, or maybe it 
just means I don't have experience at writing docs.

But, regardless of having worked at a patch, I have to admit that I'm also not 
100% sure this issue is a good idea. I *do* think that either both this issue 
and #13637 should be accepted or both rejected.

----------
Added file: http://bugs.python.org/file24565/issue13641-alternative-v2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13641>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to