Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Make the dot-colon method reference frozen #2267
A follow-up to my discussion with @ko1. This PR freezes the method reference when fetched using the new
It's worth keeping the bound methods frozen as one should not modify them. Freezing keeps also a window of opportunity for introducing method reference caching in case it would be needed due to the fact, that the method object is immutable.