Commit Graph

6 Commits

Author SHA1 Message Date
William S Fulton 17ca54844c Revert mistaken directorout std::string_view typemap change 2023-12-14 07:24:12 +00:00
William S Fulton 84f6031aa5 Fix std::string_view typemaps for Py_LIMITED_API
Except for directorout typemaps which are fundamentally broken as a string_view is returned when viewing a deleted char *
2023-12-13 22:12:17 +00:00
Olly Betts 71eacdf90c Avoid setting python error for bytes input 2023-05-31 11:51:07 +12:00
Olly Betts 4f73ba8653 Remove commented out code left over from development 2023-05-31 10:51:15 +12:00
Olly Betts 51431b4b14 [python] Support bytes in std::string_view typemaps
Handle bytes or unicode where we do for std::string.
2023-05-31 10:49:39 +12:00
Olly Betts 29d1f95d0d [Python] Add string_view support
Only implemented for Python 3, at least for now.

See #1567
2023-05-26 17:45:24 +12:00