| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Might as well do this in numpydoc format as well, while we're at it.
Sorry, something went wrong.
|
Ok. Think this is now ready @mdboom. |
Sorry, something went wrong.
There was a problem hiding this comment.
Can we keep this as it was -- I know it doesn't really matter, but there are some tricks used to detect the end of paths that are made more obvious when you think of it in hex.
Sorry, something went wrong.
There was a problem hiding this comment.
but there are some tricks used to detect the end of paths that are made more obvious when you think of it in hex
For whom? I can see the benefit for developers, but not for everyday users. I'd be happy to add a comment here to jig the readers memory, if that would suffice?
Sorry, something went wrong.
There was a problem hiding this comment.
Ok -- probably simplest to leave it as a (base 10) number, then. A comment here doesn't make sense either.
Sorry, something went wrong.
|
I still think we should have cleaned return a Path instance -- we can bypass the constructor to make it nice and fast. It just seems unpythonic this way, to me at least. |
Sorry, something went wrong.
The two cases I can envisage with cleared both just use the codes and verts. That said, I'm happy enough to compromise and have implemented a fast constructor for Path. Was that the kind of thing you had in mind? |
Sorry, something went wrong.
|
Yes -- that's basically what I had in mind. I think that's handy. There may be other cases in there where this should be used instead of the constructor, but that can wait for another PR. |
Sorry, something went wrong.
Nice. I've added a commit. I expect to have to rebase this PR after the deprecations PR gets merged. |
Sorry, something went wrong.
No worries. Having your invaluable feedback on this module has been great. I'll rebase now. |
Sorry, something went wrong.
|
Ok. Once travis does its thing, lets merge 😄 |
Sorry, something went wrong.
|
Other than the spurious test failiure from master, the tests are passing with this PR. |
Sorry, something went wrong.
Added the "cleared" method to Path, and updated the path module's documentation.
| Back | FazBrowse Home | New Git URL |
No description provided.