-
-
Notifications
You must be signed in to change notification settings - Fork 182
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
Manage indentation with textwrap #338
Comments
Looks unnecessary. |
Thanks for the thoughts @opavlyuk, I'll look at what you suggest regardless. |
@mmckerns Thanks, may be it might be useful for the project. |
Kicking this down the road a bit. Support for 2.7 will end soon, so that's probably the appropriate time to deal with this. |
Support for 2.7 will end before dill-0.3.5 #413 |
dill-0.3.6 will not support 2.7, support will be dropped imminently |
2.7 is no longer supported |
There's a difference in the intent: I think one would need a bunch of existing logic with only a little replaced with Will need more investigation... |
I'm going to punt this (again) to the next milestone, and come back to it after the pending release. |
Since python2 will not be maintained soon, according to DRY, may be it would be a good idea to replace (make aliases) dill indentation methods with ones from core library?
For example, dill.source.indent with textwrap.indent, dill.source.outdent with textwrap.dedent.
If python2 support is critical, then dill methods could be refactored, using python2.7 textwrap.
If the idea is acceptable in general, I could provide a patch.
The text was updated successfully, but these errors were encountered: