[pytest-dev] deprecating/removing py.path.local.write due to https://github.com/pytest-dev/py/issues/107

RonnyPfannschmidt opensource at ronnypfannschmidt.de
Sat Jun 24 09:39:57 EDT 2017


Hi everyone,

after investigating the issue i pretty much had to deduce that a
horrible mistake happened while doing the python3 port, and the write
method was a complete and broken mess ever since working only by
accident on ascii inputs

any sane fix needs a break in api and so i propose deprecating/removing
it as both write_text and write_bytes exist and always do the correct
thing and the magic mess method could really use a removal

i strictly oppose fixing it with even more hacks ^^

-- Ronny



More information about the pytest-dev mailing list