Skip to content

Conversation

@richcarl
Copy link
Contributor

Since the shell accepts the <X.Y.Z> syntax for pids, it was surprising that i(X,Y,Z) worked, but i(<X.Y.Z>) did not, so you could not simply paste a pid. The name i/1 was however in use by an undocumented function, and furthermore, the i/0 info function produces a very different output from i/3, so we instead introduce the new names pi/1 and pi/3, deprecating i/3.

Example:
1> pi(<0.90.0>).
[{current_function,{c,pinfo,1}},
{initial_call,{erlang,apply,2}},
{status,running},
...

@github-actions
Copy link
Contributor

github-actions bot commented Nov 30, 2025

CT Test Results

    2 files     97 suites   1h 7m 31s ⏱️
2 223 tests 2 172 ✅ 51 💤 0 ❌
2 613 runs  2 557 ✅ 56 💤 0 ❌

Results for commit 49ae019.

♻️ 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

@rickard-green rickard-green added the team:VM Assigned to OTP team VM label Dec 1, 2025
Since the shell accepts the `<X.Y.Z>` syntax for pids, it was
surprising that `i(X,Y,Z)` worked, but `i(<X.Y.Z>)` did not, so
you could not simply paste a pid. The name `i/1` was however in
use by an undocumented function, and furthermore, the `i/0` info
function produces a very different output from `i/3`, so we instead
introduce the new names `pi/1` and `pi/3`, deprecating `i/3`.

Example:
    1> pi(<0.90.0>).
    [{current_function,{c,pinfo,1}},
     {initial_call,{erlang,apply,2}},
     {status,running},
    ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team:VM Assigned to OTP team VM

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants