Supervisor/supervisor

Eventlistener protocol "len" header changed in Supervisor 4

Open

#1,243 建立於 2019年5月23日

在 GitHub 查看
 (33 留言) (0 反應) (0 負責人)Python (7,941 star) (1,233 fork)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

貢獻者指南