Skip to content

ffi: cleanup from sysmodule to tupleobject - #1887

Merged
davidhewitt merged 3 commits into
PyO3:mainfrom
deantvv:ffi-cleanup-0925-a
Sep 25, 2021
Merged

davidhewitt merged 3 commits into
PyO3:mainfrom
deantvv:ffi-cleanup-0925-a

Conversation

@deantvv

@deantvv deantvv commented Sep 25, 2021

Copy link
Copy Markdown
Contributor

For #1289

Change list:

  • Move Py_DecodeLocale from sysmodule to fileutils
  • Add python 3.11 deprecation for PySys_AddWarnOption, PySys_AddWarnOptionUnicode and PySys_HasWarnOptions
  • Remove function PyTuple_ClearFreeList from python 3.9 above
  • Move tupleobject non-limited api into ffi/cpython/

* Move `Py_DecodeLocale` from `sysmodule` to `fileutils`
* Add python 3.11 deprecation for `PySys_AddWarnOption`,
`PySys_AddWarnOptionUnicode` and `PySys_HasWarnOptions`
* Remove function `PyTuple_ClearFreeList` from python 3.9 above
* Move non-limited api into ffi/cpython/

@davidhewitt davidhewitt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks perfect, thanks for this!

@davidhewitt
davidhewitt merged commit 97fa3f7 into PyO3:main Sep 25, 2021
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.

2 participants