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 摘要。