[py] avoid resizing py-source output
authorPaul Brossier <piem@piem.org>
Thu, 20 Dec 2018 21:35:07 +0000 (22:35 +0100)
committerPaul Brossier <piem@piem.org>
Thu, 20 Dec 2018 21:42:11 +0000 (22:42 +0100)
commit8e76c71be6136f4e2289f8c67e422097f5e10dfe
tree18fad79f713900b349783b1dda0d115f24bd060a
parentd4927c2459db577f54a91aa9c928c75642568cce
[py] avoid resizing py-source output

Make sure a copy of the source output is taken before resizing it.
python/ext/py-source.c