Skip to content

[3.11] get other types without module types in copy.py - #158945

Closed
azzayou wants to merge 1 commit into
python:3.11from
azzayou:patch-1
Closed

azzayou wants to merge 1 commit into
python:3.11from
azzayou:patch-1

Conversation

@azzayou

@azzayou azzayou commented Oct 7, 2026

Copy link
Copy Markdown

get CodeType, BuiltinFunctionType, FunctionType and MethodType without needing to import module types.

get other type needed (e.g. FunctionType, ...) without import modules ``types``.
@bedevere-app

bedevere-app Bot commented Oct 7, 2026

Copy link
Copy Markdown

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@ZeroIntensity

Copy link
Copy Markdown
Member

Hi! 3.11 is security-only. It's also not super clear why you're making this change; please open an issue so we can triage it.

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.

2 participants