You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are synchronizing our python packages with the version control tool Perforce. In Perforce the user can decide between several line ending styles like (local, system, shared(UNIX and local).
So the result of it is that the whitespaces in the files are different depending on what line ending style we are using.
The problem here is that every time a "\" is used, script fails. I have attached the correspond file with the not working line endings. If you ressolve the "\" it should work:
Hi,
thanks for the quick reply. I wanted to say that if someone changes the line endings to a non Unix style, when psutil is not working anymore because of using the "\" to forwarding the code line to the next line. I think my initial description is misleading. I have added another images.
E.g.: If I remove the "\" from the fun variable, when it is working.
A problem with your editor perhaps? I'm not sure. Anyway, if you want to modify psutil source code I recommend configuring your editor to use the UNIX style. You don't want to mix \n and \r\n anyway. Just stick to one (\n).
Summary
Description
We are synchronizing our python packages with the version control tool Perforce. In Perforce the user can decide between several line ending styles like (local, system, shared(UNIX and local).
So the result of it is that the whitespaces in the files are different depending on what line ending style we are using.
The problem here is that every time a "\" is used, script fails. I have attached the correspond file with the not working line endings. If you ressolve the "\" it should work:
init.py.txt
The text was updated successfully, but these errors were encountered: