Re: [Python-Dev] Use ptyhon -s as default shbang for system python executables/daemons

2015-03-18 Thread Barry Warsaw
On Mar 18, 2015, at 05:51 PM, Donald Stufft wrote: >I’ve long wished that the OS had it’s own virtual environment. A lot of >problems seems to come from trying to cram the things the OS wants with the >things that the user wants into the same namespace. Yep, and those breakages can be difficult t

Re: [Python-Dev] Use ptyhon -s as default shbang for system python executables/daemons

2015-03-18 Thread Barry Warsaw
On Mar 18, 2015, at 02:44 PM, Toshio Kuratomi wrote: >Interesting, I've cautiously in favor of -s in Fedora but the more I've >thought about it the less I've liked -E. It just seems like PYTHONPATH is >analagous to LD_LIBRARY_PATH for C programs and PATH for shell scripting. >We leave both of tho

Re: [Python-Dev] Use ptyhon -s as default shbang for system python executables/daemons

2015-03-18 Thread Donald Stufft
> On Mar 18, 2015, at 12:48 PM, Barry Warsaw wrote: > > On Mar 18, 2015, at 05:31 PM, Victor Stinner wrote: > >> Does it work to pass command line options to Python in the shebang? > > Yes, but only one "word", thus -Es or -I. > > We've often mused about whether it makes sense to have two Pyt

Re: [Python-Dev] Use ptyhon -s as default shbang for system python executables/daemons

2015-03-18 Thread Toshio Kuratomi
On Wed, Mar 18, 2015 at 12:22:03PM -0400, Barry Warsaw wrote: > On Mar 18, 2015, at 03:46 PM, Orion Poplawski wrote: > > >We're starting a discussion in Fedora about setting the default shbang for > >system python executables and/or daemons to python -s or python -Es (or ?). > > We've talked abou

Re: [Python-Dev] Use ptyhon -s as default shbang for system python executables/daemons

2015-03-18 Thread Barry Warsaw
On Mar 18, 2015, at 05:31 PM, Victor Stinner wrote: >Does it work to pass command line options to Python in the shebang? Yes, but only one "word", thus -Es or -I. We've often mused about whether it makes sense to have two Pythons on the system. One for system scripts and another for users. Sys

Re: [Python-Dev] Use ptyhon -s as default shbang for system python executables/daemons

2015-03-18 Thread Victor Stinner
2015-03-18 16:46 GMT+01:00 Orion Poplawski : > We're starting a discussion in Fedora about setting the default shbang for > system python executables and/or daemons to python -s or python -Es (or ?). Python 3.4 has -I which is more strict than -Es. It remembers me "Perl suid", /usr/bin/sperl. May

Re: [Python-Dev] Use ptyhon -s as default shbang for system python executables/daemons

2015-03-18 Thread Barry Warsaw
On Mar 18, 2015, at 03:46 PM, Orion Poplawski wrote: >We're starting a discussion in Fedora about setting the default shbang for >system python executables and/or daemons to python -s or python -Es (or ?). We've talked about this in Debian/Ubuntu land and the general consensus is that for Python

[Python-Dev] Use ptyhon -s as default shbang for system python executables/daemons

2015-03-18 Thread Orion Poplawski
We're starting a discussion in Fedora about setting the default shbang for system python executables and/or daemons to python -s or python -Es (or ?). See also: https://bugzilla.redhat.com/show_bug.cgi?id=1202151 https://fedorahosted.org/fpc/ticket/513 Basically we're wanting to avoid locally in

Re: [Python-Dev] PEP 489: Redesigning extension module loading

2015-03-18 Thread Nick Coghlan
On 18 March 2015 at 06:41, Mark Lawrence wrote: > On 16/03/2015 12:38, Petr Viktorin wrote: >> >> Hello, > > > Can you use anything from the meta issue http://bugs.python.org/issue15787 > for PEP 3121 and PEP 384 or will the work that you are doing render > everything done previously redundant? N

Re: [Python-Dev] PEP 448 review

2015-03-18 Thread Nick Coghlan
On 17 March 2015 at 23:49, Brett Cannon wrote: > > > On Mon, Mar 16, 2015 at 7:11 PM Neil Girdhar wrote: >> >> Hi everyone, >> >> I was wondering what is left with the PEP 448 >> (http://bugs.python.org/issue2292) code review? Big thanks to Benjamin, >> Ethan, and Serhiy for reviewing some (all?