Your message dated Sun, 19 May 2013 21:00:16 -0400
with message-id <[email protected]>
has caused the report #708986,
regarding cython: DEF converts byte strings to unicode
to be marked as having been forwarded to the upstream software
author(s)
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
708986: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708986
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
seems like a possible side effect of one of recent changes (e.g.
"User declared char* types are now recognised as such and auto-coerce to
and from Python bytes strings." in 0.17)
Stefan -- what do you think?
On Mon, 20 May 2013, Jakub Wilk wrote:
> Package: cython
> Version: 0.19+git51-g3078752-1
> Severity: important
> Control: block 708981 with -1
> Apparently DEF silently converts byte strings to unicode strings:
> $ cat testcase.pyx
> DEF ABYTE = b'a'
> print type(ABYTE)
> $ python -c 'import pyximport as p; p.install(); import testcase'
> <type 'unicode'>
> This didn't happen with wheezy's cython.
--
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Senior Research Associate, Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik
--- End Message ---