Ben Finney wrote:
> Jeroen Ruigrok van der Werven writes:
>
>> -On [20100113 22:13], Ralf Schmitt (r...@brainbot.com) wrote:
>>> hehe. tab completion:
>> With bpython and ipython available, why would you even want to stick
>> to the 'plain old' interactive interpreter?
>
> Because those optional
Jeroen Ruigrok van der Werven writes:
> -On [20100113 22:13], Ralf Schmitt (r...@brainbot.com) wrote:
> >hehe. tab completion:
>
> With bpython and ipython available, why would you even want to stick
> to the 'plain old' interactive interpreter?
Because those optional extras are not always avail
Jeroen Ruigrok van der Werven in-nomine.org> writes:
>
> -On [20100113 22:13], Ralf Schmitt (ralf brainbot.com) wrote:
> >hehe. tab completion:
>
> With bpython and ipython available, why would you even want to stick to the
> 'plain old' interactive interpreter?
Why wouldn't we?
There are prob
-On [20100113 22:13], Ralf Schmitt (r...@brainbot.com) wrote:
>hehe. tab completion:
With bpython and ipython available, why would you even want to stick to the
'plain old' interactive interpreter?
(Sorry to derail the discussion, but maybe there's more people that have not
heard of either or bot
Am 13.01.2010 21:27, schrieb Lennart Regebro:
> On Wed, Jan 13, 2010 at 21:08, Oleg Broytman wrote:
>> On Wed, Jan 13, 2010 at 08:50:59PM +0100, Lennart Regebro wrote:
>>> What do you need to do in the PYTHONSTARTUP file?
>>> Ten years of Python programming, and I didn't even know it existed. :-)
Ralf Schmitt wrote:
> "M.-A. Lemburg" writes:
>
>>
>> Naive users won't have PYTHONPATH or any other Python environment
>> variables setup.
>>
>> Really, if you know that you are going to run Python 3 instead of
>> Python 2 or vice-versa it's easy enough to run
>
> You don't even know that you'r
"M.-A. Lemburg" writes:
>
> Naive users won't have PYTHONPATH or any other Python environment
> variables setup.
>
> Really, if you know that you are going to run Python 3 instead of
> Python 2 or vice-versa it's easy enough to run
You don't even know that you're going to run python. I have 40 p
On 14/01/2010 21:02, Nick Coghlan wrote:
However, I agree that that is a fairly unlikely scenario (since
preinstalled Pythons tend not to rely on the e
Well, on the other hand I think that during the next few years it will
be increasingly common for developers (and possibly users) to have
Pytho
M.-A. Lemburg wrote:
> Nick Coghlan wrote:
>> Guido van Rossum wrote:
>>> On Wed, Jan 13, 2010 at 9:57 AM, sstein...@gmail.com > Or, how about
>>> just removing the antiquated use of environment variables altogether
>>> from Python 3 and avoid the issue completely.
>>>
>>> -1. They have their use,
Nick Coghlan wrote:
> Guido van Rossum wrote:
>> On Wed, Jan 13, 2010 at 9:57 AM, sstein...@gmail.com > Or, how about
>> just removing the antiquated use of environment variables altogether
>> from Python 3 and avoid the issue completely.
>>
>> -1. They have their use, but more in controlled situat
Lennart> What do you need to do in the PYTHONSTARTUP file?
Just reading off stuff from my own personal startup file... I use it for
stuff I want available during interactive sessions:
1. Enable true division.
2. Conditionally define "help" from back in the days when there was no
On 13 Jan 2010, at 13:43, Nick Coghlan wrote:
> Guido van Rossum wrote:
>> On Wed, Jan 13, 2010 at 9:57 AM, sstein...@gmail.com > Or, how about
>> just removing the antiquated use of environment variables altogether
>> from Python 3 and avoid the issue completely.
>>
>> -1. They have their use, bu
On Wed, Jan 13, 2010 at 1:43 PM, Nick Coghlan wrote:
> Guido van Rossum wrote:
>> On Wed, Jan 13, 2010 at 9:57 AM, sstein...@gmail.com > Or, how about
>> just removing the antiquated use of environment variables altogether
>> from Python 3 and avoid the issue completely.
>>
>> -1. They have their
Guido van Rossum wrote:
> On Wed, Jan 13, 2010 at 9:57 AM, sstein...@gmail.com > Or, how about
> just removing the antiquated use of environment variables altogether
> from Python 3 and avoid the issue completely.
>
> -1. They have their use, but more in controlled situations. If you
> have "globa
Lennart Regebro wrote:
> On Wed, Jan 13, 2010 at 18:40, Ralf Schmitt wrote:
>> The first thing I got while trying to run a python3 prompt few days ago,
>> was an error. python3 tried to read my $PYTHONSTARTUP file, which used
>> print statements. people will have to run both python 2 and python 3
Lennart Regebro writes:
> On Wed, Jan 13, 2010 at 18:40, Ralf Schmitt wrote:
>> The first thing I got while trying to run a python3 prompt few days ago,
>> was an error. python3 tried to read my $PYTHONSTARTUP file, which used
>> print statements. people will have to run both python 2 and python
On Wed, Jan 13, 2010 at 21:08, Oleg Broytman wrote:
> On Wed, Jan 13, 2010 at 08:50:59PM +0100, Lennart Regebro wrote:
>> What do you need to do in the PYTHONSTARTUP file?
>> Ten years of Python programming, and I didn't even know it existed. :-)
>
> See http://phd.pp.ru/Software/dotfiles/init.p
On Wed, Jan 13, 2010 at 08:50:59PM +0100, Lennart Regebro wrote:
> What do you need to do in the PYTHONSTARTUP file?
> Ten years of Python programming, and I didn't even know it existed. :-)
See http://phd.pp.ru/Software/dotfiles/init.py.html for an example.
Oleg.
--
Oleg Broytman
On Wed, Jan 13, 2010 at 18:40, Ralf Schmitt wrote:
> The first thing I got while trying to run a python3 prompt few days ago,
> was an error. python3 tried to read my $PYTHONSTARTUP file, which used
> print statements. people will have to run both python 2 and python 3
> code at the same time. Usi
On Wed, Jan 13, 2010 at 12:57:42PM -0500, sstein...@gmail.com wrote:
> Or, how about just removing the antiquated use of environment variables
"antiquated"? You are kidding, aren't you?!
Oleg.
--
Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru
Programmers
On Wed, Jan 13, 2010 at 9:57 AM, sstein...@gmail.com > Or, how about
just removing the antiquated use of environment variables altogether
from Python 3 and avoid the issue completely.
-1. They have their use, but more in controlled situations. If you
have "global" env vars that you only want to us
Steven Bethard writes:
>
> How complicated is your PYTHONSTARTUP file? My suspicion is that you
> could easily write it to work for both Python 2.X and 3.X.
sure. that's exactly what I did. My point is that sharing those
environment variables will cause pain for some people.
On Jan 13, 2010, at 12:40 PM, Ralf Schmitt wrote:
> "R. David Murray" writes:
>
>> Please review issue 2375 [1], which is an enhancement request to add a
>> PYTHON3PATH environment variable. Because we have elected to have both
>> a python and a python3 command, I think this is an issue worth
On Wed, Jan 13, 2010 at 9:40 AM, Ralf Schmitt wrote:
> "R. David Murray" writes:
>
>> Please review issue 2375 [1], which is an enhancement request to add a
>> PYTHON3PATH environment variable. Because we have elected to have both
>> a python and a python3 command, I think this is an issue worth
Guido van Rossum writes:
> Somehow the bug site doesn't load for me right now, but I'm -1 on
> this. There are maybe a dozen PYTHON... variables -- we really
> shouldn't try to add PYTHON3 variants for all of them.
>
> Specifically for PYTHONPATH, I feel that its use is always a
> short-time or l
"R. David Murray" writes:
> Please review issue 2375 [1], which is an enhancement request to add a
> PYTHON3PATH environment variable. Because we have elected to have both
> a python and a python3 command, I think this is an issue worth thinking
> about carefully to make sure we are serving the
Somehow the bug site doesn't load for me right now, but I'm -1 on
this. There are maybe a dozen PYTHON... variables -- we really
shouldn't try to add PYTHON3 variants for all of them.
Specifically for PYTHONPATH, I feel that its use is always a
short-time or localized hack, not something you set i
Please review issue 2375 [1], which is an enhancement request to add a
PYTHON3PATH environment variable. Because we have elected to have both
a python and a python3 command, I think this is an issue worth thinking
about carefully to make sure we are serving the Python user community
and easing the
28 matches
Mail list logo