Skip to content

Remove support for fun_info(Fun, pid)#10997

Open
bjorng wants to merge 1 commit intoerlang:masterfrom
bjorng:bjorn/erts/remove-fun_info-pid/OTP-19530
Open

Remove support for fun_info(Fun, pid)#10997
bjorng wants to merge 1 commit intoerlang:masterfrom
bjorng:bjorn/erts/remove-fun_info-pid/OTP-19530

Conversation

@bjorng
Copy link
Copy Markdown
Contributor

@bjorng bjorng commented Apr 10, 2026

No longer support retrieving the fun creator pid. An exception will be raised if erlang:fun_info/2 is called with pid as the second argument, and erlang:fun_info/1 will no longer include the {pid,Pid} tuple.

It was mentioned as an upcoming potential incompatibility that we would do this in Erlang/OTP 28:

https://www.erlang.org/doc/upcoming_incompatibilities.html#fun-creator-pid-will-be-removed

No longer support retrieving the fun creator pid. An exception
will be raised if `erlang:fun_info/2` is called with `pid` as
the second argument, and `erlang:fun_info/1` will no longer include
the `{pid,Pid}` tuple.

It was mentioned as an upcoming potential incompatibility that we would do
this in Erlang/OTP 28:

https://www.erlang.org/doc/upcoming_incompatibilities.html#fun-creator-pid-will-be-removed
@bjorng bjorng added this to the 30.0 milestone Apr 10, 2026
@bjorng bjorng self-assigned this Apr 10, 2026
@bjorng bjorng added team:VM Assigned to OTP team VM stalled waiting for input by the Erlang/OTP team labels Apr 10, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 10, 2026

CT Test Results

    3 files    136 suites   49m 12s ⏱️
1 670 tests 1 614 ✅ 56 💤 0 ❌
2 312 runs  2 238 ✅ 74 💤 0 ❌

Results for commit 34d7fe6.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@bjorng
Copy link
Copy Markdown
Contributor Author

bjorng commented Apr 10, 2026

This PR is meant for OTP 30; it's too late to include in OTP 29.

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

Labels

stalled waiting for input by the Erlang/OTP team team:VM Assigned to OTP team VM

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant