Skip to content

Set PY_SSIZE_T_CLEAN so that y# works with Python 3.11.#9

Open
jaqx0r wants to merge 1 commit intotynn:mainfrom
jaqx0r:py_ssize_t
Open

Set PY_SSIZE_T_CLEAN so that y# works with Python 3.11.#9
jaqx0r wants to merge 1 commit intotynn:mainfrom
jaqx0r:py_ssize_t

Conversation

@jaqx0r
Copy link
Copy Markdown
Contributor

@jaqx0r jaqx0r commented Sep 2, 2023

Per https://docs.python.org/3/c-api/arg.html#strings-and-buffers we no longer fall back to int type for the buffer size.

Fixes #8

@jaqx0r
Copy link
Copy Markdown
Contributor Author

jaqx0r commented Sep 2, 2023

The workflow errors look like tool failure:

Run actions/setup-python@v2
Version 3.6 was not found in the local cache
Error: Version 3.6 with arch x64 not found

@jaqx0r
Copy link
Copy Markdown
Contributor Author

jaqx0r commented Sep 10, 2023

#10 sent to address the check failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

y# arg parser requires PY_SSIZE_T_CLEAN and a Py_ssize_t type for length

1 participant