Supervisor/supervisor

Eventlistener protocol "len" header changed in Supervisor 4

Open

#1,243 opened on 2019年5月23日

GitHub で見る
 (33 comments) (0 reactions) (0 assignees)Python (7,941 stars) (1,233 forks)batch import
eventshelp wanted

説明

@plockaby wrote comments of issue #1235:

Migrating from version 3 to version 4, my event listeners read from supervisor over stdin using a byte stream and then did the conversion to utf8 and chose to "backslashreplace" undecodable utf8 data. When I went to version 4 I expected to continue to get a byte stream that I could convert myself to whatever encoding I knew the data to be in. It was really unexpected to discover that supervisor was doing the conversion for me and then telling me the number of characters to read off of stdin and not the number of bytes.

cc: @vsajip

コントリビューターガイド