Skip to content

Extra null character while generating strings #85

@navidcity

Description

@navidcity

pyVersioning generates an explicit null character at the end of each string literal. In C and C++ a null character is always implicitly present at the end of string literals.
For example currently pyVersioning generates something like this: .hash = "b541a64b8c840a97442c03050f1f92bb54128ba2\0",.
The null character at the end is not needed.
I don't know how string literals are made in Python though (whether the explicit null character is needed in Python).

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions