≮Python≯ 一時的に標準出力を NULL にリダイレクトするサンプルプログラム sout_null.py Pythonで一時的に標準出力を NULL にリダイレクトするサンプルプログラムです。 個人的なメモとして書いたプログラムですが、需要があるかもしれないと思い公開しました。
I propose to change the PyUnicode_AsUTF8() API to raise an exception and return NULL if the string contains embedded null characters. If the string contains an embedded null character, the UTF-8 ...