[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 <==
/Library/Apple/usr/bin

==> /etc/paths.d/40-XQuartz <==
/opt/X11/bin

==> /etc/paths.d/com.vmware.fusion.public <==
/Applications/VMware Fusion.app/Contents/Public

-- 
Regards,
Peng
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/PHPM33FMHXUIA3PKOETKKX3IXZHOMPP5/
Code of Conduct: http://python.org/psf/codeofconduct/


[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 added in future release of python document.

3.4.1 Basic customization

-- 
Regards,
Peng
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[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, glossary) than in the tutorial
(python_2.6.5_tutorial.pdf). I think that it deserves at least a
subsection in the language reference to make the reference complete.
May I suggest the maintainer of the document add such a subsection?

-- 
Regards,
Peng
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[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 a function that mimic the behavior
of  'mkdir -p'?

http://code.activestate.com/recipes/82465-a-friendly-mkdir/

-- 
Regards,
Peng
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com