Message271645
| Author |
brett.cannon |
| Recipients |
brett.cannon, ethan.furman |
| Date |
2016年07月29日.20:04:40 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1469822680.75.0.0434922582006.issue27524@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Ran into the first nasty snag: people are abusing os.path.commonprefix() and it's extremely generic approach. Instead of passing in a list of file paths they are passing a list of lists of file path *parts*, e.g. instead of ["a/b", "a/c"] they are passing in [["a", "b"], ["a", "c"]]. I have special-cased when the list contains another list or tuple, but I still feel dirty doing it. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年07月29日 20:04:40 | brett.cannon | set | recipients:
+ brett.cannon, ethan.furman |
| 2016年07月29日 20:04:40 | brett.cannon | set | messageid: <1469822680.75.0.0434922582006.issue27524@psf.upfronthosting.co.za> |
| 2016年07月29日 20:04:40 | brett.cannon | link | issue27524 messages |
| 2016年07月29日 20:04:40 | brett.cannon | create |
|