* Lie Ryan -> Alf P. Steinbach:
why do you think it is "impossible" to write a complex and portable
python script?
I don't. You're not quoting me.
Though keeping everything in one code base may often be difficult and
only of little practical benefit, it is not impossible. Modern version
cont
On 01/14/10 11:08, Alf P. Steinbach wrote:
> * Daniel Fetchinson:
>>
>> Nobody is deliberately trying to keep people from porting! I think you
>> misunderstand what is being said, these two statements are very
>> different: (1) single code base working on both python versions (2)
>> creating a seco
En Wed, 13 Jan 2010 17:11:18 -0300, Daniel Fetchinson
escribió:
Again, django has been ported to python 3, that's fine, everybody
acknowledges that, but it's not the case that one code base works with
both python versions.
Well, if the port is done via 2to3, you can install the same code ba
* Daniel Fetchinson:
Nobody is deliberately trying to keep people from porting! I think you
misunderstand what is being said, these two statements are very
different: (1) single code base working on both python versions (2)
creating a second code from a code so that the second code works with
py
On 1/13/2010 11:30 AM, Daniel Fetchinson wrote:
Example? Just to be clear I'm looking for an example where one given
code runs on python 2 and 3 unmodified. I think django and cheetah
doesn't count because they simply take their python 2 code, run it
through 2to3 which gives them a python 3 code
>> Again, django has been ported to python 3, that's fine, everybody
>> acknowledges that, but it's not the case that one code base works with
>> both python versions.
>
> Well, if the port is done via 2to3, you can install the same code base in
> Python 2 and Python 3, and the distutils install me
>> One code base of cheetah works under python 2 and 3? I doubt it, but I
>> could be wrong. What I can easily imagine is that somebody ported
>> cheetah to python 3. In this case there are two code bases, one for
>> python 2 and another for python 3. So it's not the same program that
>> runs under
Daniel Fetchinson wrote:
>>> Also, I would replace
>>>
>>> "in practice it’s very hard to create programs"
>>>
>>> with
>>>
>>> "in practice it’s very hard to create complex programs"
>>>
>>> because for small programs it's very possible to write code that will
>>> work with both python 2 and 3. Th
Daniel Fetchinson, 13.01.2010 17:30:
Again, django has been ported to python 3, that's fine, everybody
acknowledges that, but it's not the case that one code base works with
both python versions.
Well, if the port is done via 2to3, you can install the same code base in
Python 2 and Python 3, a
On Jan 13, 12:30 pm, Daniel Fetchinson
wrote:
>
> One code base of cheetah works under python 2 and 3? I doubt it, but I
> could be wrong. What I can easily imagine is that somebody ported
> cheetah to python 3. In this case there are two code bases, one for
> python 2 and another for python 3. S
>> Also, I would replace
>>
>> "in practice it’s very hard to create programs"
>>
>> with
>>
>> "in practice it’s very hard to create complex programs"
>>
>> because for small programs it's very possible to write code that will
>> work with both python 2 and 3. The question is of course what progra
Daniel Fetchinson, 13.01.2010 16:23:
Also, I would replace
"in practice it’s very hard to create programs"
with
"in practice it’s very hard to create complex programs"
because for small programs it's very possible to write code that will
work with both python 2 and 3. The question is of cours
>> As of this writing two main variants of the Python language are in use,
>> namely Python 2.x and Python 3.x (versions 3.0 and greater). Mostly
>> they’re the same but the effect of e.g. the / division operator changed in
>> 3.0, so in practice it’s very hard to create programs that work the sam
Alf P. Steinbach wrote:
> As of this writing two main variants of the Python language are in use,
> namely Python 2.x and Python 3.x (versions 3.0 and greater). Mostly
> they’re the same but the effect of e.g. the / division operator changed in
> 3.0, so in practice it’s very hard to create progr
Referring to http://tinyurl.com/programmingbookP3>
Due to especially Steven D'Aprano's comments I've replaced "hopeless" with "very
hard" in paragraph 1 of section 1.1 -- I know he'll disagree with that also
but I think any more downplaying of the difficulties would be misleading.
According
15 matches
Mail list logo