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
CleanPaths modifies argument #2
Comments
The function
|
The example in I will check the issue in By the way, now I am a bit confused with the branches… I made today some changes and commited them. When I logged-in into GitHub I noticed that you had forked the project and had done some commits by yourself. (I did not receive an e-mail notification in June when you made the changes). I noticed that my files are locally (in my computer) not updated. In the GitHub website it seems there are two versions, one in gorkazl/pyGAlib and another in schmigu/pyGAlib. The changes I make are seen in gorkazl/pyGAlib but do not appear in schmigu/pyGAlib. So I am guessing that if you make changes to schmigu/pyGAlib I won't notice either. Does this mean there are two independent version of pyGAlib now? Should that be the case, or shall we both edit the same version? I don't think I want anybody modifying my version without notice and wake up one day to see that everything has changed but, I see it positive to have only one version and that any improvement done is directly available for everyone. Best, |
Uops, I just wanted to leave a comment but apparently closed the issue, while one point is still open. |
Hi gorka, yes there are two versions now. However, mine is a fork from your version that i also edited. I created a pull request for you, such that you can review my changes and merge them, if you like what i did. After that, i can drop my own version and fork yours again. It's the typical git workflow. Your version should always be the original master version. Best regards, the mysterious schmigu that you might happen to know from the past... Am 1. August 2015 13:28:35 MESZ, schrieb Gorka Zamora notifications@github.com:
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. |
Hi… it took me a while to get that working but I think I did merge your corrections properly. They are now included in the master branch. Still need to check the issue on |
The function
gatools.CleanPaths
modifies the passed argument instead of retuning a new object.This is dangerous, since it might be unexpected by the caller.
Ideally, functions should not modify the passed arguments.
The text was updated successfully, but these errors were encountered: