JuliaPy / JuliaPy/PythonCall.jl

Add new PyStr wrapper type

Open
#691 0 comments 0 reactions 1 assignee Claimed by @cjdoris View on GitHub
Dominant language
Julia
Stars
1.1k
Forks
86
Avg merge
1d 22h
Merged PRs (30d)
3

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.