Re: Friday Finking: Limiting parameters

2020-07-22 Thread dn via Python-list
On 22/07/2020 05:37, Peter J. Holzer wrote: On 2020-07-13 17:21:40 +1200, dn via Python-list wrote: On 12/07/20 10:10 PM, Barry Scott wrote: I'd expect to see something like this: def mail_label( person, address ): first_name = person.first_name # or if you want a function interface first_line

Re: Installing Python 3.8.3 with tkinter

2020-07-22 Thread Klaus Jantzen
On 7/22/20 11:05 PM, Ned Deily wrote: On 2020-07-22 06:20, Klaus Jantzen wrote: Trying to install Python 3.8.3 with tkinter I run configure with the following options ./configure --enable-optimizations --with-ssl-default-suites=openssl --with-openssl=/usr/local --enable-loadable-sqlite-extensio

Re: Fwd: [BUG] missing ')' causes syntax error on next line

2020-07-22 Thread Chris Angelico
On Thu, Jul 23, 2020 at 10:30 AM Gene Heskett wrote: > > On Wednesday 22 July 2020 19:51:42 Chris Angelico wrote: > > > On Thu, Jul 23, 2020 at 9:17 AM dn via Python-list > > > > wrote: > > > However, questions remain:- > > > > > > Robot: any machine or mechanical device that operates automatical

Re: Fwd: [BUG] missing ')' causes syntax error on next line

2020-07-22 Thread Gene Heskett
On Wednesday 22 July 2020 19:51:42 Chris Angelico wrote: > On Thu, Jul 23, 2020 at 9:17 AM dn via Python-list > > wrote: > > However, questions remain:- > > > > Robot: any machine or mechanical device that operates automatically > > with humanlike skill > > What about a human that operates mechan

Re: Fwd: [BUG] missing ')' causes syntax error on next line

2020-07-22 Thread dn via Python-list
On 23/07/2020 11:51, Chris Angelico wrote: On Thu, Jul 23, 2020 at 9:17 AM dn via Python-list wrote: However, questions remain:- Robot: any machine or mechanical device that operates automatically with humanlike skill What about a human that operates mechanically with merely robot-like skil

Re: Spam, bacon, sausage and Spam (was: EuroPython 2020: Data Science Track)

2020-07-22 Thread Cameron Simpson
On 22Jul2020 15:00, Christian Heimes wrote: >Hi MAL, > >would it be possible to reduce the amount of EuroPython spam on >@python.org mailing lists to a sensible level? This mailing list is a >general discussion list for the Python programming language. It's not a >conference advertisement list. >

Re: Fwd: [BUG] missing ')' causes syntax error on next line

2020-07-22 Thread Chris Angelico
On Thu, Jul 23, 2020 at 9:17 AM dn via Python-list wrote: > However, questions remain:- > > Robot: any machine or mechanical device that operates automatically with > humanlike skill > What about a human that operates mechanically with merely robot-like skill? I'm pretty sure I've spoken to them

Re: Fwd: [BUG] missing ')' causes syntax error on next line

2020-07-22 Thread dn via Python-list
On 23/07/2020 10:46, Ethan Furman wrote: On 7/22/20 2:57 PM, Jeff Linahan wrote: Subscribing to the mailing list as per the bot's request and resending. *beep* *whir* WE ARE NOT *click* *whi* A BOT. *bzzzt* WE ARE *bzzzt* *click* ADVANCED LIFE *whi* FORMS *click* *beep*

Re: [BUG] missing ')' causes syntax error on next line

2020-07-22 Thread dn via Python-list
On 23/07/2020 10:33, Chris Angelico wrote: -- Forwarded message - From: Jeff Linahan See attached image. Would be nice if it printed "SyntaxError: unbalanced parens" as it can difficult to see the problem if code like this is run in an environment that only prints the problem

Re: Fwd: [BUG] missing ')' causes syntax error on next line

2020-07-22 Thread Kyle Stanley
> > *beep* *whir* > > WE ARE NOT > > *click* *whi* > > A BOT. *dial up noises* SPEAK FOR YOURSELF On Wed, Jul 22, 2020 at 6:46 PM Ethan Furman wrote: > On 7/22/20 2:57 PM, Jeff Linahan wrote: > > > Subscribing to the mailing list as per the bot's request and resending. > > *beep* *wh

Re: Fwd: [BUG] missing ')' causes syntax error on next line

2020-07-22 Thread Joe Pfeiffer
Jeff Linahan writes: > > See attached image. Would be nice if it printed "SyntaxError: unbalanced > parens" as it can difficult to see the problem if code like this is run in > an environment that only prints the problematic line, which in this case > the compiler is confused and one line off. I

Re: Fwd: [BUG] missing ')' causes syntax error on next line

2020-07-22 Thread Ethan Furman
On 7/22/20 2:57 PM, Jeff Linahan wrote: Subscribing to the mailing list as per the bot's request and resending. *beep* *whir* WE ARE NOT *click* *whi* A BOT. *bzzzt* WE ARE *bzzzt* *click* ADVANCED LIFE *whi* FORMS *click* *beep* . -- ~eTHAN~ pYTHON lIST mODERATOR NoT

Re: [BUG] missing ')' causes syntax error on next line

2020-07-22 Thread Chris Angelico
On Thu, Jul 23, 2020 at 8:30 AM Jeff Linahan wrote: > > -- Forwarded message - > From: Jeff Linahan > Date: Wed, Jul 22, 2020, 5:23 PM > Subject: Fwd: [BUG] missing ')' causes syntax error on next line > To: > > > Subscribing to the mailing list as per the bot's request and resen

Re: Installing Python 3.8.3 with tkinter

2020-07-22 Thread Ned Deily
On 2020-07-22 06:20, Klaus Jantzen wrote: > Trying to install Python 3.8.3 with tkinter I run configure with the > following options > > ./configure --enable-optimizations --with-ssl-default-suites=openssl > --with-openssl=/usr/local --enable-loadable-sqlite-extensions > --with-pydebug --with-tclt

Fwd: [BUG] missing ')' causes syntax error on next line

2020-07-22 Thread Jeff Linahan
-- Forwarded message - From: Jeff Linahan Date: Wed, Jul 22, 2020, 5:23 PM Subject: Fwd: [BUG] missing ')' causes syntax error on next line To: Subscribing to the mailing list as per the bot's request and resending. -- Forwarded message - From: Jeff Linahan Dat

Re: True is True / False is False?

2020-07-22 Thread Chris Angelico
On Thu, Jul 23, 2020 at 5:51 AM Tim Chase wrote: > > On 2020-07-22 11:54, Oscar Benjamin wrote: > >> On Wed, Jul 22, 2020 at 11:04 AM Tim Chase wrote: > >>> reading through the language specs and didn't encounter > >>> anything about booleans returned from comparisons-operators, > >>> guaranteeing

Re: True is True / False is False?

2020-07-22 Thread Tim Chase
On 2020-07-22 11:54, Oscar Benjamin wrote: >> On Wed, Jul 22, 2020 at 11:04 AM Tim Chase wrote: >>> reading through the language specs and didn't encounter >>> anything about booleans returned from comparisons-operators, >>> guaranteeing that they always return The One True and The One >>> False.

Re: Python Program Help

2020-07-22 Thread Elias Fotinis
On 21/07/2020 22:25, Terry Reedy wrote: The only way I discovered to get that error, on Windows, is to hit control-D in response to the prompt. Slight correction: On Windows, EOF is signaled with Ctrl-Z. This is the same as hitting F6 in the legacy console (can't check with Win10 at the momen

Installing Python 3.8.3 with tkinter

2020-07-22 Thread Klaus Jantzen
Hi, Trying to install Python 3.8.3 with tkinter I run configure with the following options ./configure --enable-optimizations --with-ssl-default-suites=openssl --with-openssl=/usr/local --enable-loadable-sqlite-extensions --with-pydebug --with-tcltk-libs='-L/opt/ActiveTcl-8.6/lib/tcl8.6' --

Re: Upgrade from Python 3.6 to 3.8 and cx-freeze is not available more

2020-07-22 Thread Souvik Dutta
Py2exe might help in making .exe files On Tue, Jul 21, 2020, 11:42 PM Christian SCHEIBER / KLS GmbH < c...@kls-system.de> wrote: > > > I’d like to do exe files, so the pythin interpreter has not tob e > installed. > > That’s why I use cx-freeze, but installing Python 3.8 after using Python > 3.6

Spam, bacon, sausage and Spam (was: EuroPython 2020: Data Science Track)

2020-07-22 Thread Christian Heimes
Hi MAL, would it be possible to reduce the amount of EuroPython spam on @python.org mailing lists to a sensible level? This mailing list is a general discussion list for the Python programming language. It's not a conference advertisement list. Something between 1 to 3 mails per conference and ye

Re: True is True / False is False?

2020-07-22 Thread Oscar Benjamin
On Wed, 22 Jul 2020 at 02:12, Chris Angelico wrote: > > On Wed, Jul 22, 2020 at 11:04 AM Tim Chase > wrote: > > > > I know for ints, cpython caches something like -127 to 255 where `is` > > works by happenstance based on the implementation but not the spec > > (so I don't use `is` for comparison

EuroPython 2020: Data Science Track

2020-07-22 Thread M.-A. Lemburg
We are excited to announce a complete two day data science track at EuroPython 2020 Online, happening on Thursday and Friday (July 23 - 24). Yes, that’s starting tomorrow. Sorry for the short notice :-) * Data Science @ EuroPython 2020 * https://ep2020.europython.eu/