-
Notifications
You must be signed in to change notification settings - Fork 200
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
Path class #35
Path class #35
Conversation
@Titan-C, is that still something we want? |
@Titan-C, is that still something we want?
What is it actually? I didn't get it from the description of the PR.
|
Not entirely sure, but it looks like adding a Path class for more convenient path manipulations ... |
Can't really explain it better.
It remains a nice feature to have which I was very eager to use, back when #36 was only aimed at refactoring the code. Now it needs an update from master. |
I always frown at adding abstractions, because abstractions make life
easier for their creators, and harder for people who have to discover
them.
If you really want to go down that path (sic), you can use the
semi-standard 'path.py' existing Python package:
https://pypi.python.org/pypi/path.py
For this, you'll need a to embed a version, and thus add a note to the
license.
|
No more need for this anymore. |
This is more of a nice feature to have(mostly inspired by the work done in plot2rst). But that I could test and allowed me to discover the bug fixed in #34 . It extends the string class for paths, given some ease of use when working with paths.