David Watson <bai...@users.sourceforge.net> added the comment:

I've opened a separate issue for the changing-length problem
(issue #9647; it affects 2.x as well).  Here is a patch that
fixes the 255-byte issue only, and has similar results to the 2.x
code if the value changes length between calls (except that it
could raise a UnicodeError if the string is truncated inside a
multibyte character encoding).

----------
Added file: http://bugs.python.org/file18581/confstr-minimal.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9579>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to