[Python-Dev] Should python installation modify /etc/paths.d on Mac OS X?

2021-01-14 Thread Peng Yu
Hi, The /etc/paths.d directory on Mac OS X contains the following directory. Some packages have their PATH variables set there. For Python, I have to set the PATH manually in my ~/.bashrc. Should the Python developers consider setting PATH in /etc/paths.d as well? ==> /etc/paths.d/100-rvictl <==

[Python-Dev] mkdir -p in python

2010-07-17 Thread Peng Yu
I don't see that there is a function in the library that mimic the behavior of 'mkdir -p'. If 'makedirs' is used, it will generate an error if the file already exists. There are some functions available on the website to close the gap. But I'd prefer this is in the library. Is there any plan to add

[Python-Dev] more details of list comprehension in tutorial than in language reference

2010-07-16 Thread Peng Yu
Hi, Since this is related to the document, I think that I should send this to the dev mailing list. Please let me know if this is not appropriate. If I don't miss anything, I feel that there are much less descriptions of list comprehensions in the language reference (python_2.6.5_reference.pdf, g

[Python-Dev] Adding additional level of bookmarks and section numbers in python pdf documents.

2010-06-21 Thread Peng Yu
Hi, Current pdf version of python documents don't have bookmarks for sussubsection. For example, there is no bookmark for the following section in python_2.6.5_reference.pdf. Also the bookmarks don't have section numbers in them. I suggest to include the section numbers. Could these features be ad