[pypy-issue] Issue #2280: syslog.syslog fails with unicode (pypy/pypy)

Justin Cunningham issues-reply at bitbucket.org
Fri Apr 22 21:23:41 EDT 2016


New issue 2280: syslog.syslog fails with unicode
https://bitbucket.org/pypy/pypy/issues/2280/syslogsyslog-fails-with-unicode

Justin Cunningham:

Making a call to 

```
#!python

syslog.syslog(unicode('test'))
```

fails with the error:

```
TypeError: initializer for ctype 'char *' must be a str or list or tuple, not unicode
```

This works under CPython 2.7.




More information about the pypy-issue mailing list