Skip to content

Replace get_c_string_buf_and_size with PyUnicode_AsUTF8AndSize #49760

@WillAyd

Description

@WillAyd

We have a function in pandas/_libs/tslibs/util.pxd called get_c_string_buf_and_size . I think this served a purpose when we had Python 2/3 compat but at the moment it just wraps the standard PyUnicode_AsUTF8AndSize function, so it adds an unnecessary layer

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions