Auto-Import binary_to_term/2

Jayson Vantuyl <>
Sun May 23 03:54:12 CEST 2010

I previously added binary_to_term/2 in order to make the decoding of binaries from the network safer (in terms of leaking resources that aren't reclaimed).

Since this was in the middle of the R13 stream, we did not auto-import the new function.  Specifically, it was stated that this is only done on major releases.  With the upcoming release of R14, it is now time to do so.

Changes are on GitHub.  Here's the fetch command:

> git fetch git:// jv/autoimport-binary_to_term_2

Documentation has been updated.  Tests explicitly adjusted to use the auto-imported name to detect regressions.  It's a pretty simple patch, it compiles, works, and the tests pass.  Please get it in if at all possible.  :)

Jayson Vantuyl
417-207-6962 (mobile)

More information about the erlang-patches mailing list