Conversation
…r return from main. Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
Wait, why isn't https://travis-ci.org/python-modernize/python-modernize/jobs/86099411 running test_newlines? |
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
Ah, because I forgot to add the file :-p |
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
There was a problem hiding this comment.
I'm not sure which I like less, changing an important value in the standard library or monkeypatching a private function in 2to3.
There was a problem hiding this comment.
An alternative approach is to do the refactor._to_system_newlines patch on Python 2 as well; I think that will work.
|
I think it's reasonable to offer users a way to explicitly set their preferred style of line endings, but I don't like the implementation based on monkeypatching stuff. I'm looking into how else it might be done. |
|
@takluyver do we have information about which file is going to be processed and if it was processed? |
fixes #121