Re: Sketch

2021-02-13 Thread Igor Korot
Hi, On Sat, Feb 13, 2021, 9:12 PM Mr Flibble wrote: > On 14/02/2021 05:04, Mark Lawrence wrote: > > On Sunday, February 14, 2021 at 5:01:46 AM UTC, Mr Flibble wrote: > >> CPython *is* the dead parrot. > >> > >> It's time for Python to evolve out of the primordial soup. > >> > >> /Flibble > Is

Re: Sketch

2021-02-13 Thread Mr Flibble
On 14/02/2021 05:04, Mark Lawrence wrote: On Sunday, February 14, 2021 at 5:01:46 AM UTC, Mr Flibble wrote: CPython *is* the dead parrot. It's time for Python to evolve out of the primordial soup. /Flibble -- 😎 Says the bloke(?) who doesn't use mailing lists but does get here https://mail.

Sketch

2021-02-13 Thread Mr Flibble
CPython *is* the dead parrot. It's time for Python to evolve out of the primordial soup. /Flibble -- 😎 -- https://mail.python.org/mailman/listinfo/python-list

Re: New Python implementation

2021-02-13 Thread Mr Flibble
On 14/02/2021 03:26, Grant Edwards wrote: On 2021-02-14, Ned Batchelder wrote: On Saturday, February 13, 2021 at 7:19:58 PM UTC-5, Chris Angelico wrote: At the absolute least, show that you have something that can run Python code. The OP has been making these claims on IRC for a (at least t

Re: New Python implementation

2021-02-13 Thread Mr Flibble
On 14/02/2021 00:52, Alan Gauld wrote: On 14/02/2021 00:07, Mr Flibble wrote: On 13/02/2021 18:11, Alan Gauld wrote: You are going to create a Python compiler that will take existing Python code and output a byte code file. No neos is not a Python compiler: it is a *universal* compiler that

Re: New Python implementation

2021-02-13 Thread Alan Gauld via Python-list
On 14/02/2021 00:07, Mr Flibble wrote: > On 13/02/2021 18:11, Alan Gauld wrote: >> You are going to create a Python compiler that will take existing >> Python code and output a byte code file. > > No neos is not a Python compiler: it is a *universal* compiler that > can compile any programming l

Re: New Python implementation

2021-02-13 Thread Grant Edwards
On 2021-02-14, Ned Batchelder wrote: > On Saturday, February 13, 2021 at 7:19:58 PM UTC-5, Chris Angelico wrote: > >> At the absolute least, show that you have something that can run Python >> code. > > The OP has been making these claims on IRC for a (at least two > years). He has never cared t

Re: New Python implementation

2021-02-13 Thread Mr Flibble
On 14/02/2021 02:54, Mark Lawrence wrote: On Sunday, February 14, 2021 at 2:18:03 AM UTC, Mr Flibble wrote: On 14/02/2021 00:51, Ned Batchelder wrote: The OP has been making these claims on IRC for a while (at least two years). He has never cared to substantiate them, or even participate in

Re: New Python implementation

2021-02-13 Thread Mr Flibble
On 14/02/2021 03:35, Paul Rubin wrote: Mr Flibble writes: I am creating neos as I need a performant scripting engine for my other major project "neoGFX" and I want to be able to support multiple popular scripting languages including Python. Is something wrong with Guile for that purpose? If

Re: New Python implementation

2021-02-13 Thread Mr Flibble
On 14/02/2021 00:51, Ned Batchelder wrote: On Saturday, February 13, 2021 at 7:19:58 PM UTC-5, Chris Angelico wrote: On Sun, Feb 14, 2021 at 11:14 AM Mr Flibble wrote: On 13/02/2021 23:30, Igor Korot wrote: Hi, But most importantly - what is the reason for this ? I mean - what problems the a

Re: New Python implementation

2021-02-13 Thread Mr Flibble
On 14/02/2021 00:19, Chris Angelico wrote: On Sun, Feb 14, 2021 at 11:14 AM Mr Flibble wrote: On 13/02/2021 23:30, Igor Korot wrote: Hi, But most importantly - what is the reason for this ? I mean - what problems the actual python compiler produce? Thank you. I am creating neos as I need a

Re: PSYCOPG2

2021-02-13 Thread Mladen Gogala via Python-list
I don't have PSYCOPG2 on my system, but try doing the following from python: [mgogala@umajor ~]$ python3 Python 3.9.1 (default, Jan 20 2021, 00:00:00) [GCC 10.2.1 20201125 (Red Hat 10.2.1-9)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import cx_Oracle >>>

Re: New Python implementation

2021-02-13 Thread Ned Batchelder
On Saturday, February 13, 2021 at 7:19:58 PM UTC-5, Chris Angelico wrote: > On Sun, Feb 14, 2021 at 11:14 AM Mr Flibble > wrote: > > > > On 13/02/2021 23:30, Igor Korot wrote: > > > Hi, > > > But most importantly - what is the reason for this ? > > > I mean - what problems the actual python

RE: New Python implementation

2021-02-13 Thread Avi Gross via Python-list
It is likely that people would understand better if spoken to properly so I have been listening and hopefully gaining a picture that I can share, and be corrected helpfully when wrong. My personal guess is that the project at hand is to do something very vaguely like what was done to the CURSES

Re: New Python implementation

2021-02-13 Thread Chris Angelico
On Sun, Feb 14, 2021 at 11:14 AM Mr Flibble wrote: > > On 13/02/2021 23:30, Igor Korot wrote: > > Hi, > > But most importantly - what is the reason for this ? > > I mean - what problems the actual python compiler produce? > > > > Thank you. > > I am creating neos as I need a performant scripting e

Re: New Python implementation

2021-02-13 Thread Mr Flibble
On 13/02/2021 23:30, Igor Korot wrote: Hi, But most importantly - what is the reason for this ? I mean - what problems the actual python compiler produce? Thank you. I am creating neos as I need a performant scripting engine for my other major project "neoGFX" and I want to be able to support

Re: New Python implementation

2021-02-13 Thread Mr Flibble
On 13/02/2021 18:11, Alan Gauld wrote: On 13/02/2021 16:09, Mr Flibble wrote: On 13/02/2021 00:01, Alan Gauld wrote: I'm assuming it's a new executable interpreter that can run any valid python code. Is that correct? It is a universal *compiler* so it compiles the python code to byte code and

Re: New Python implementation

2021-02-13 Thread Igor Korot
Hi, But most importantly - what is the reason for this ? I mean - what problems the actual python compiler produce? Thank you. On Sat, Feb 13, 2021, 3:26 PM Alan Gauld via Python-list < python-list@python.org> wrote: > On 13/02/2021 16:09, Mr Flibble wrote: > > On 13/02/2021 00:01, Alan Gauld w

Re: New Python implementation

2021-02-13 Thread Alan Gauld via Python-list
On 13/02/2021 16:09, Mr Flibble wrote: > On 13/02/2021 00:01, Alan Gauld wrote: >> I'm assuming it's a new executable interpreter that can run any >> valid python code. Is that correct? > > It is a universal *compiler* so it compiles the python code to byte code > and then optionally to machine c

RE: PSYCOPG2

2021-02-13 Thread Tony Ogilvie
Thank you I have tried Sublime 3 and the same thing happens. I do not think I have another version of Python on my PC. I am trying to look through my files to find out. Regards Tony -Original Message- From: Mladen Gogala Sent: 13 February 2021 05:35 To: python-list@python.org Subject

Re: PSYCOPG2

2021-02-13 Thread dn via Python-list
On 13/02/2021 18.34, Mladen Gogala via Python-list wrote: > On Fri, 12 Feb 2021 18:29:48 +, Tony Ogilvie wrote: > >> I am trying to write a program to open a PostgesSQL 13 database using >> psycopg2. All seems to work if I write direct to Python but if I write >> the script into IDLE it does n

RE: mutating a deque whilst iterating over it

2021-02-13 Thread Avi Gross via Python-list
I agree both with the idea that it is not good to mutate things during iteration and that some things we want to do may seemingly require effectively something like a mutation. I want to consider what data structure might capture a normal activity like having a to-do-list for TODAY and another for

Re: mutating a deque whilst iterating over it

2021-02-13 Thread Dan Stromberg
On Sat, Feb 13, 2021 at 10:25 AM duncan smith wrote: > On 12/02/2021 03:04, Terry Reedy wrote: > > On 2/11/2021 3:22 PM, duncan smith wrote: > > > >>It seems that I can mutate a deque while iterating over it if I > >> assign to an index, but not if I append to it. Is this the intended > >

Re: PSYCOPG2

2021-02-13 Thread Sibylle Koczian
Am 13.02.2021 um 06:34 schrieb Mladen Gogala via Python-list: On Fri, 12 Feb 2021 18:29:48 +, Tony Ogilvie wrote: I am trying to write a program to open a PostgesSQL 13 database using psycopg2. All seems to work if I write direct to Python but if I write the script into IDLE it does not wor

Re: mutating a deque whilst iterating over it

2021-02-13 Thread duncan smith
On 12/02/2021 03:04, Terry Reedy wrote: > On 2/11/2021 3:22 PM, duncan smith wrote: > >>    It seems that I can mutate a deque while iterating over it if I >> assign to an index, but not if I append to it. Is this the intended >> behaviour? > > Does the deque doc say anything about mutation w

Re: New Python implementation

2021-02-13 Thread Terry Reedy
On 2/12/2021 4:42 PM, Mr Flibble wrote: On 12/02/2021 02:45, Terry Reedy wrote: On 2/11/2021 5:33 PM, Mr Flibble wrote: On 11/02/2021 22:25, Dan Stromberg wrote: On Thu, Feb 11, 2021 at 2:00 PM Mr Flibble wrote: On 11/02/2021 21:13, Dan Stromberg wrote: Does your project have a name yet? 

Re: New Python implementation

2021-02-13 Thread Mr Flibble
On 13/02/2021 00:01, Alan Gauld wrote: On 12/02/2021 21:46, Mr Flibble wrote: The neos Python implementation will consist of a schema file which describes the language plus any Python-specific semantic concepts So the schema file is some kind of formal grammar definition of the language? And