| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| the real sign function. | ||
|
|
||
| >>> from flint import showgood | ||
| >>> from flint.types.eval_helper import showgood |
There was a problem hiding this comment.
The docstring should show how users are expected to import something.
Does from flint import showgood not work with these changes?
Sorry, something went wrong.
There was a problem hiding this comment.
I could import showgood as all the other types are so it's available from flint itself but I left it this way as my understanding it was more for debugging?
The change should be minor I hope, happy for you to make the call
Sorry, something went wrong.
There was a problem hiding this comment.
It is shown widely in the docs so it should be treated as an end user function. Previously the docs always showed it as being imported from flint so we should preserve that for now (and continue to show that in the docs).
I think that from flint import showgood should continue to work and should be what is shown in the docstrings.
Sorry, something went wrong.
There was a problem hiding this comment.
Okay, I'm happy to make the changes to fix this (tomorrow, sleep now). Won't be more than a few extra lines of code :)
Sorry, something went wrong.
|
Considering showgood() is a user facing function which we want to import, I have put this in
and then I make this available in __init__.py on the module so from flint import showgood works as expected. flint/functions can then be used for similar user-facing util functions. |
Sorry, something went wrong.
|
This seems to duplicate the code from functions.pyx in two places. Also an empty .pdx file has been added (I don't know what a .pdx file is). |
Sorry, something went wrong.
|
@oscarbenjamin I did something stupid when cleaning up and deleted the wrong branch (trying to do too many things) So sorry for the mess up. |
Sorry, something went wrong.
|
This has a merge conflict now. |
Sorry, something went wrong.
|
Resolved, I can't keep up with all the versions! |
Sorry, something went wrong.
|
If this is adding a new package then it also needs to be add here: Lines 66 to 73 in 24267a5 |
Sorry, something went wrong.
|
Looks good. Thanks! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR aims to finish the work on refactoring to remove all include, fixing issue #15.
The last file, functions.pyx has been renamed to eval_helper.pyx and is used in doctests for various flint types.