-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
document __init__ #9240
document __init__ #9240
Conversation
👍 |
Very nice. In practice, I've found that perhaps the most important point is that any global
|
Isn't this only the case if they are hashed by |
Correct. |
Should we also provide an |
I don't see how Unfortunately, this includes hashing of Actually, the story is even more complicated than that, because the |
however, you may need to change your module to explicitly separate any | ||
initialization steps that must occur at *runtime* from steps that can | ||
occur at *compile time*. For this purpose, Julia allows you to define | ||
an ``__init__()` function in your module that executes any |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there's a missing backtick here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like it does. Fixed in 9743a99
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want, you can fix such issues yourself, even without mucking with the git command line, because github provides a Web UI to create pull requests if you click the pencil button above a file.
Thanks for the fixes. |
This fixes #8923. @vtjnash, @JeffBezanson, please look over the text to make sure that it is accurate.
cc: @timholy