[issue15135] HOWTOs doesn't link to "Idioms and Anti-Idioms" article

2012-06-22 Thread Pan Yongzhi
New submission from Pan Yongzhi : In the py3k docs howtos table of contents, http://docs.python.org/py3k/howto/index.html, the link to the article "Idioms and Anti-Idioms in Python" is gone, but the article is still in the doc. It is at http://docs.python.org/py3k/howto/doanddont.ht

[issue7391] Re-title the "Using Backslash to Continue Statements" anti-idiom

2012-06-24 Thread Pan Yongzhi
Changes by Pan Yongzhi : -- nosy: +fossilet ___ Python tracker <http://bugs.python.org/issue7391> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15342] os.path.join behavior

2012-07-12 Thread Pan Yongzhi
New submission from Pan Yongzhi : I am constructing a source directory argument to rsync. It has to end with slash due to rsync behavior. I use: os.path.join('/src/dir', os.path.sep) And run it and realized the source directory becomes '/'. Luckily it is not the destinati

[issue15342] os.path.join behavior

2012-07-13 Thread Pan Yongzhi
Pan Yongzhi added the comment: I know this is working as documented. But working as documented does not mean it is not a bug. I cannot deduce that it will append a separator if joining with an empty string from the documentation. Also, this behavior is implicit, and have to guess. Either