On Mon, Oct 7, 2013 at 11:58 AM, Tres Seaver <tsea...@palladion.com> wrote: ... >> transaction.note is defined to take a bytes string. Pyramid should >> encode the path before passing it to transaction.note. > > The interfaces says "text". I realize that this is likely for > "hysterical raisins", but if we mean "bytes", we should say so. > > Note that the implementation's use of an unadorned string literal to join > the values means that in Py3k, it really *is* text, and not bytes. If we > want the application to do the encoding, then we should change that > literal as well.
Agreed. Jim -- Jim Fulton http://www.linkedin.com/in/jimfulton _______________________________________________ For more information about ZODB, see http://zodb.org/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev