On 24 Mar 2015 07:59, "Gregory P. Smith" wrote:
>
>
> On Wed, Mar 18, 2015 at 9:48 AM 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'v
On 23Mar2015 21:58, Gregory P. Smith wrote:
While people sometimes suggest virtualenv as a solution for this. It isn't
really the same thing. It isn't a hermetic clone of the original
interpreter. It copies the main binary but symlinks back to much of the
stdlib.
Oh.
I had thought a non-stan
On Mon, 23 Mar 2015 21:58:06 +
"Gregory P. Smith" wrote:
>
> virtualenv is an amazing hack that I promote to most anyone for their own
> applications use with the occasional known caveats (solvable by regurly
> rebuilding your virtualenvs)... But I wouldn't want to see it used for the
> core
On Wed, Mar 18, 2015 at 9:48 AM 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 Pythons o
On Mon, Mar 23, 2015 at 04:14:52PM +0100, Antoine Pitrou wrote:
> On Mon, 23 Mar 2015 08:06:13 -0700
> Toshio Kuratomi wrote:
> > >
> > > I really think Donald has a good point when he suggests a specific
> > > virtualenv for system programs using Python.
> > >
> > The isolation is what we're se
On Mar 23, 2015 8:15 AM, "Antoine Pitrou" wrote:
>
> On Mon, 23 Mar 2015 08:06:13 -0700
> Toshio Kuratomi wrote:
> > >
> > > I really think Donald has a good point when he suggests a specific
> > > virtualenv for system programs using Python.
> > >
> > The isolation is what we're seeking but I th
On Mon, 23 Mar 2015 08:06:13 -0700
Toshio Kuratomi wrote:
> >
> > I really think Donald has a good point when he suggests a specific
> > virtualenv for system programs using Python.
> >
> The isolation is what we're seeking but I think the amount of work required
> and the added complexity for t
On Mon, Mar 23, 2015 at 03:30:23PM +0100, Antoine Pitrou wrote:
> On Mon, 23 Mar 2015 07:22:56 -0700
> Toshio Kuratomi wrote:
> >
> > Building off Nick's idea of a system python vs a python for users to use, I
> > would see a more useful modification to be able to specify SPYTHONPATH (and
> > oth
On Mon, 23 Mar 2015 07:22:56 -0700
Toshio Kuratomi wrote:
>
> Building off Nick's idea of a system python vs a python for users to use, I
> would see a more useful modification to be able to specify SPYTHONPATH (and
> other env vars) to go along with /usr/bin/spython . That way the user
> mainta
-Toshio
On Mar 19, 2015 3:27 PM, "Victor Stinner" wrote:
>
> 2015-03-19 21:47 GMT+01:00 Toshio Kuratomi :
> > I think I've found the Debian discussion (October 2012):
> >
> > http://comments.gmane.org/gmane.linux.debian.devel.python/8188
> >
> > Lack of PYTHONWARNINGS was brought up late in the di
On 21Mar2015 14:29, Donald Stufft wrote:
On Mar 21, 2015, at 7:52 AM, Nick Coghlan wrote:
On 19 March 2015 at 07:51, 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
> On Mar 21, 2015, at 7:52 AM, Nick Coghlan wrote:
>
> On 19 March 2015 at 07:51, 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
On 21 March 2015 at 22:19, Antoine Pitrou wrote:
> On Sat, 21 Mar 2015 21:52:34 +1000
> Nick Coghlan wrote:
>> On 19 March 2015 at 07:51, 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 th
On Sat, 21 Mar 2015 21:52:34 +1000
Nick Coghlan wrote:
> On 19 March 2015 at 07:51, 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 w
On 19 March 2015 at 07:51, 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.
I'm more wanting to go in the other dire
On 19 March 2015 at 02:48, Barry Warsaw wrote:
> It's never gotten much farther than musings, but protecting the system against
> the weird things people install would be a good thing. OTOH, this feels a lot
> like virtual environments so maybe there's something useful to be mined there.
I took
2015-03-19 21:47 GMT+01:00 Toshio Kuratomi :
> I think I've found the Debian discussion (October 2012):
>
> http://comments.gmane.org/gmane.linux.debian.devel.python/8188
>
> Lack of PYTHONWARNINGS was brought up late in the discussion thread
Maybe we need to modify -E or add a new option to only
On 19Mar2015 19:57, Sturla Molden wrote:
Orion Poplawski wrote:
It would be good to get some feedback from the broader python community
before implementing anything, so I'm asking for feedback here.
On my systems I have /use/bin/python for the system and ~/anaconda/python
for me. Apple and U
I think I've found the Debian discussion (October 2012):
http://comments.gmane.org/gmane.linux.debian.devel.python/8188
Lack of PYTHONWARNINGS was brought up late in the discussion thread
but I think the understanding that when a particular user sets an
environment variable they want it to apply
Orion Poplawski wrote:
> It would be good to get some feedback from the broader python community
> before implementing anything, so I'm asking for feedback here.
On my systems I have /use/bin/python for the system and ~/anaconda/python
for me. Apple and Ubuntu can do whatever they want with thei
On Mar 19, 2015, at 11:15 AM, Toshio Kuratomi wrote:
>I could see that as a difference. However, the environment variables
>give users the ability to change things globally whereas overriding
>the shebang line is case-by-case so it's not a complete replacement
>of the functionality.
You make so
On Wed, Mar 18, 2015 at 2:56 PM, Barry Warsaw wrote:
> 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
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
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
> 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
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
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
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
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
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
30 matches
Mail list logo