Re: evaluation question

2023-02-01 Thread rbowman
On 1 Feb 2023 17:31:02 GMT, Stefan Ram wrote: > rbowman writes: >> Why does every language have to invent their own function to >>print to the console that is very similar but not the same as the rest >>of the herd? > > Why do there have to be different languages at all? https://homepages.cwi

Re: evaluation question

2023-02-01 Thread Richard Damon
On 2/1/23 12:46 PM, Grant Edwards wrote: C (the language) doesn't support Unicode at all. There are, however, libraries that can be used to deal with it. No, it does, but only optionally. provides functions that manipulate Unicode "Characters" The type char32_t will hold Unicode Code Points,

Re: evaluation question

2023-02-01 Thread Richard Damon
On 2/1/23 3:59 AM, mutt...@dastardlyhq.com wrote: On Wed, 1 Feb 2023 11:59:25 +1300 Greg Ewing wrote: On 31/01/23 10:24 pm, mutt...@dastardlyhq.com wrote: All languages have their ugly corners due to initial design mistakes and/or constraints. Eg: java with the special behaviour of its string

Re: Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-01 Thread Thomas Passin
On 2/1/2023 1:37 PM, Jack Dangler wrote: If you're not familiar with snap, lookup 'snap' 'ubuntu' ... Many people would rather avoid snap if possible ... On 2/1/23 13:13, Thomas Passin wrote: On 2/1/2023 12:36 PM, אורי wrote: Thank you all. I'm not familiar with snap update but I did `sudo

Re: evaluation question

2023-02-01 Thread Chris Angelico
On Thu, 2 Feb 2023 at 04:26, wrote: > > Its not evolution, its revolution. Evolution retains old functionality. > By the way, I'd like to see your opinions on eternal retention of old functionality. Which of these features are you willing to put effort into supporting? 1) Long integer constants

Re: Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-01 Thread Jack Dangler
If you're not familiar with snap, lookup 'snap' 'ubuntu' ... On 2/1/23 13:13, Thomas Passin wrote: On 2/1/2023 12:36 PM, אורי wrote: Thank you all. I'm not familiar with snap update but I did `sudo apt update` & `sudo apt upgrade`, but about one or two months ago. אורי u...@speedy.net You

Re: Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-01 Thread Thomas Passin
On 2/1/2023 12:36 PM, אורי wrote: Thank you all. I'm not familiar with snap update but I did `sudo apt update` & `sudo apt upgrade`, but about one or two months ago. אורי u...@speedy.net You can probably install it from the deadsnakes repository: sudo add-apt-repository ppa:deadsnakes/ppa M

Re: evaluation question

2023-02-01 Thread Chris Angelico
On Thu, 2 Feb 2023 at 04:29, wrote: > > On Wed, 1 Feb 2023 11:59:25 +1300 > Greg Ewing wrote: > >On 31/01/23 10:24 pm, mutt...@dastardlyhq.com wrote: > >> All languages have their ugly corners due to initial design mistakes and/or > >> constraints. Eg: java with the special behaviour of its strin

Re: evaluation question

2023-02-01 Thread Grant Edwards
On 2023-02-01, Peter J. Holzer wrote: > On 2023-02-01 09:00:39 -, mutt...@dastardlyhq.com wrote: >> Its not evolution, its revolution. Evolution retains old functionality. > > Tell a penguin that it can fly :-) Penguins can fly. They just do it underwater... -- https://mail.python.org/mail

Re: evaluation question

2023-02-01 Thread Grant Edwards
On 2023-02-01, mutt...@dastardlyhq.com wrote: > >>No, but it was decided that Python 3 would have to be backwards >>incompatible, mainly to sort out the Unicode mess. Given that, >>the opportunity was taken to clean up some other mistakes as well. > > Unicode is just a string of bytes. No it isn'

Re: evaluation question

2023-02-01 Thread Peter J. Holzer
On 2023-02-01 09:00:39 -, mutt...@dastardlyhq.com wrote: > Its not evolution, its revolution. Evolution retains old functionality. Tell a penguin that it can fly :-) hp -- _ | Peter J. Holzer| Story must make more sense than reality. |_|_) || | | | h...

Re: Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-01 Thread אורי
Thank you all. I'm not familiar with snap update but I did `sudo apt update` & `sudo apt upgrade`, but about one or two months ago. אורי u...@speedy.net On Wed, Feb 1, 2023 at 7:33 PM Jack Dangler wrote: > Ari > > Have you tried running a snap update? > > Regards > > יַעֲקֹב > > On 2/1/23 11:

Re: Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-01 Thread Jack Dangler
Ari Have you tried running a snap update? Regards יַעֲקֹב On 2/1/23 11:31, אורי wrote: Hi, I have a server with Ubuntu 22.04.1 LTS and the Python version there is Python 3.10.6. Is there a safe way to upgrade to the latest version of Python 3.10 (3.10.9)? I tried with the OS update and upgra

Re: evaluation question

2023-02-01 Thread Muttley
On Wed, 1 Feb 2023 11:59:25 +1300 Greg Ewing wrote: >On 31/01/23 10:24 pm, mutt...@dastardlyhq.com wrote: >> All languages have their ugly corners due to initial design mistakes and/or >> constraints. Eg: java with the special behaviour of its string class, C++ >> with "=0" pure virtual declaratio

Re: evaluation question

2023-02-01 Thread rbowman
On Wed, 1 Feb 2023 08:56:40 - (UTC), Muttley wrote: > Why couldn't they just keep "print" and call the function , oh I dunno, > "printf" ? Why does every language have to invent their own function to print to the console that is very similar but not the same as the rest of the herd? --

Re: evaluation question

2023-02-01 Thread Muttley
On Tue, 31 Jan 2023 21:00:53 + Mark Bourne wrote: >Greg Ewing wrote: >> On 30/01/23 10:41 pm, mutt...@dastardlyhq.com wrote: >>> What was the point of the upheaval of converting >>> the print command in python 2 into a function in python 3 if as a >>> function >>> print() doesn't return anyth

Re: evaluation question

2023-02-01 Thread Muttley
On Wed, 1 Feb 2023 13:17:33 +1300 dn wrote: >On 01/02/2023 11.59, Greg Ewing wrote: >> On 31/01/23 10:24 pm, mutt...@dastardlyhq.com wrote: >>> All languages have their ugly corners due to initial design mistakes >>> and/or >>> constraints. Eg: java with the special behaviour of its string class,

Re: Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-01 Thread Chris Angelico
‪On Thu, 2 Feb 2023 at 03:33, ‫אורי‬‎ wrote:‬ > > Hi, > > I have a server with Ubuntu 22.04.1 LTS and the Python version there > is Python 3.10.6. Is there a safe way to upgrade to the latest version of > Python 3.10 (3.10.9)? I tried with the OS update and upgrade but the Python > version remaine

Re: Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-01 Thread Skip Montanaro
> > > I have a server with Ubuntu 22.04.1 LTS and the Python version there > is Python 3.10.6. Is there a safe way to upgrade to the latest version of > Python 3.10 (3.10.9)? I tried with the OS update and upgrade but the Python > version remained the same. > > I have an Ubuntu 22.04 system. The in

Re: Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-01 Thread Grant Edwards
On 2023-02-01, אורי wrote: > I have a server with Ubuntu 22.04.1 LTS and the Python version there > is Python 3.10.6. Is there a safe way to upgrade to the latest version of > Python 3.10 (3.10.9)? I tried with the OS update and upgrade but the Python > version remained the same. This is an Ubun

Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-01 Thread אורי
Hi, I have a server with Ubuntu 22.04.1 LTS and the Python version there is Python 3.10.6. Is there a safe way to upgrade to the latest version of Python 3.10 (3.10.9)? I tried with the OS update and upgrade but the Python version remained the same. Thanks, אורי u...@speedy.net -- https://mail.p