Matti Picus pushed to branch branch/py3.6 at PyPy / pypy


Commits:
5ee29254 by Michał Górny at 2020-10-04T15:46:23+02:00
Fix sethostname() failure when passed bytes

My implementation of sethostname() was broken and failed when passed
bytes on Python 3. Update the implementation to match CPython -- that
is, use bytes if provided, or fsencode() when str is provided.

--HG--
branch : py3.6

- - - - -


2 changed files:

- pypy/module/_socket/interp_func.py
- pypy/module/_socket/test/test_sock_app.py


View it on GitLab: 
https://foss.heptapod.net/pypy/pypy/-/commit/5ee2925459372a8af805e952f433acd75e426325

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/commit/5ee2925459372a8af805e952f433acd75e426325
You're receiving this email because of your account on foss.heptapod.net.


_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to