Message136331
| Author |
brian.curtin |
| Recipients |
brian.curtin, socketpair |
| Date |
2011年05月19日.19:45:51 |
| SpamBayes Score |
6.206434e-05 |
| Marked as misclassified |
No |
| Message-id |
<1305834352.64.0.549530116609.issue12104@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This is intentional. See the implementation of join in Lib/posixpath.py and the Windows implementation in Lib/ntpath.py which also includes a comment explaining why.
# path is not empty and does not end with a backslash,
# but b is empty; since, e.g., split('a/') produces
# ('a', ''), it's best if join() adds a backslash in
# this case. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年05月19日 19:45:52 | brian.curtin | set | recipients:
+ brian.curtin, socketpair |
| 2011年05月19日 19:45:52 | brian.curtin | set | messageid: <1305834352.64.0.549530116609.issue12104@psf.upfronthosting.co.za> |
| 2011年05月19日 19:45:52 | brian.curtin | link | issue12104 messages |
| 2011年05月19日 19:45:51 | brian.curtin | create |
|