]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
PyString_AsString is permissive and accepts unicode strings.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 22 Nov 2007 02:48:12 +0000 (02:48 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 22 Nov 2007 02:48:12 +0000 (02:48 +0000)
commit39599dca9db7431510f1d68609db5ea0b60af2cb
treee73e57d1e631fe1b6572bea4e915cc604fd88044
parent484fcd4521cd63beffeb45bca8396dcd7b377f0a
PyString_AsString is permissive and accepts unicode strings.

Replace it with PyUnicode_AsString when the argument is known to be a str.
Objects/setobject.c
Objects/stringobject.c
Python/ast.c
Python/getargs.c
Python/peephole.c