"git@developer.sourcefind.cn:gaoqiong/pybind11.git" did not exist on "c62360d994d5c8fb5a98ff02c28b6319fcf40000"
Fix Python 3 `bytes` conversion to std::string/char*
The Unicode support added in 2.1 (PR #624) inadvertently broke accepting `bytes` as std::string/char* arguments. This restores it with a separate path that does a plain conversion (i.e. completely bypassing all the encoding/decoding code), but only for single-byte string types.
Showing
Please register or sign in to comment