[PATCH V2] py3: a second argument to open can't be bytes

Martijn Pieters mj at zopatista.com
Wed Oct 12 17:23:08 EDT 2016


On 12 Oct 2016, at 14:00, Yuya Nishihara <yuya at tcha.org> wrote:
> FWIW, the current transformer will also rewrite open(f('foo')).

This then also applies to getattr(f('foo'), ...). We'll need to assert that the 3rd token is a comma, I think.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20161012/692c7a20/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20161012/692c7a20/attachment.sig>


More information about the Mercurial-devel mailing list