JuliaPy / JuliaPy/PythonCall.jl

Add new PyStr wrapper type

Aperta
#691 0 commenti 0 reazioni 1 assegnatario Rivendicata da @cjdoris Vedi su GitHub
Lingua principale
Julia
Stelle
1.1k
Fork
86
Merge medio
1g 22h
PR unite (30g)
3

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.