JuliaPy / JuliaPy/PythonCall.jl

Add new PyStr wrapper type

未關閉
#691 0 則留言 0 個 reaction 已指派 1 人 已被 @cjdoris 認領 在 GitHub 檢視
主要語言
Julia
星號
1.1k
分支
86
平均合併
1 天 22 小時
30 天內合併 PR
3

描述

Has fields `py::Py`, `ptr::Ptr{UInt8}`, `ncodeunits::Int` where the latter two we get from https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_AsUTF8AndSize.

Can implement `AbstractString` easily on top of this by reusing bits of the `Utils.StaticString` implementation.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。