Replace PyString_AsString with PyString_AS_STRING
authorVictor Stinner <vstinner@redhat.com>
Thu, 16 Mar 2017 13:26:45 +0000 (14:26 +0100)
committerJelmer Vernooij <jelmer@jelmer.uk>
Thu, 16 Mar 2017 16:00:40 +0000 (16:00 +0000)
commit40ab981fb7937d5a2d02a139e905833605ab4762
treee77bb5fc14ef26b430847b690e3c14b1b6d31d7b
parent85b04f76db7cc14e1b9d890aeab1d884a18bbbd5
Replace PyString_AsString with PyString_AS_STRING

Fix issue #509: Replace PyString_AsString with PyString_AS_STRING to
workaround a PyPy bug in cpyext (PyPy older than 5.6).
dulwich/_diff_tree.c
dulwich/_pack.c