Skip to content

bpo-36347: stop using RESTRICTED constants#12684

Merged
miss-islington merged 1 commit into
python:masterfrom
jdemeyer:bpo36347
Feb 18, 2020
Merged

bpo-36347: stop using RESTRICTED constants#12684
miss-islington merged 1 commit into
python:masterfrom
jdemeyer:bpo36347

Conversation

@jdemeyer

@jdemeyer jdemeyer commented Apr 4, 2019

Copy link
Copy Markdown
Contributor

The constants RESTRICTED and PY_WRITE_RESTRICTED no longer have a meaning in Python 3. Therefore, CPython should not use them.

CC @matrixise

https://bugs.python.org/issue36347

Automerge-Triggered-By: @encukou

Comment thread Objects/methodobject.c
@encukou

encukou commented Feb 4, 2020

Copy link
Copy Markdown
Member

I'm not sure I know enough of the context. Is this "restricted mode" a relic from rexec/Bastion?

@encukou encukou 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.

I investigated the context; now I'm comfortable merging this.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants