Silly/crazy problem with sqlite

Chris Green cl at isbd.net
Sat Nov 25 10:01:26 EST 2023


Stefan Ram <ram at zedat.fu-berlin.de> wrote:
> Chris Green <cl at isbd.net> writes:
> >I have to say this seems very non-pythonesque to me, the 'obvious'
> >default simply doesn't work right, and I really can't think of a case
> >where the missing comma would make any sense at all.
> 
> |6.15 Expression lists
> ...
> |an expression list containing at least one comma yields a tuple.
> ...
> The Python Language Reference, Release 3.13.0a0;
> Guido van Rossum and the Python development team;
> October 10, 2023.
> 
I wasn't meaning that it wasn't correct Python, more that doing the
obvious doesn't work which, in Python, it usually does in my
experience. 

The error message could be a bit more helpful too, maybe one of those
"... did you mean ....?" ones could point one in the right direction.

-- 
Chris Green
·


More information about the Python-list mailing list