Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

6 May, 2024: The networking issue during the past two days has been identified and appears to be fixed. Will keep monitoring.


devel / comp.lang.python / Re: Writers [Was: Re: Standarize TOML?]

SubjectAuthor
* Standarize TOML?Jason C. McDonald
+- Re: Standarize TOML?Jon Ribbens
+- Re: Standarize TOML?Menno Holscher
+- Re: Standarize TOML?Barry Scott
`* Re: Standarize TOML?Terry Reedy
 `* Writers [Was: Re: Standarize TOML?]Michael F. Stemper
  `* Re: Writers [Was: Re: Standarize TOML?]Jon Ribbens
   `- Re: Writers [Was: Re: Standarize TOML?]Michael F. Stemper

1
Standarize TOML?

<s7pii7$asj$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=13151&group=comp.lang.python#13151

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: codemous...@outlook.com (Jason C. McDonald)
Newsgroups: comp.lang.python
Subject: Standarize TOML?
Date: Sat, 15 May 2021 22:39:03 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <s7pii7$asj$1@dont-email.me>
Injection-Date: Sat, 15 May 2021 22:39:03 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="81ca3c45ff77ee4c38651f518a694f29";
logging-data="11155"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19lah5yaNtRLiVeTkFIZrVCiDQWJVsSKwk="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:T9sNbp7dl68YR2ML5eVpO7dL2Wg=
 by: Jason C. McDonald - Sat, 15 May 2021 22:39 UTC

During the Steering Committee presentation at PyCon, it was mentioned
that no one has formally proposed TOML be added to the standard library
(emphasis on formal). THe joke went forth that there would be a flood
of proposals to that end.

So, just to kick this off while the thought is still fresh in a bunch of
people's minds: **should we add a TOML parser to the standard library**?

The main reason this matters is to help encourage adoption of the now
PEP-standardized pyproject.toml. A few projects have cited the lack of
a standardized TOML implementation in the standard library as a reason
not to adopt pyproject.toml...and the topic thus became weirdly
political.

I understand that Brett Cannon intends to bring this up at the next
language summit, but, ah, might as well put the community two-cents in
now, hey?

I, for one, feel like this is obvious.

--
Jason C. McDonald (CodeMouse92)
Author | Speaker | Hacker | Time Lord

Re: Standarize TOML?

<slrnsa0lvp.sce.jon+usenet@raven.unequivocal.eu>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=13152&group=comp.lang.python#13152

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jon+use...@unequivocal.eu (Jon Ribbens)
Newsgroups: comp.lang.python
Subject: Re: Standarize TOML?
Date: Sat, 15 May 2021 23:23:37 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <slrnsa0lvp.sce.jon+usenet@raven.unequivocal.eu>
References: <s7pii7$asj$1@dont-email.me>
Injection-Date: Sat, 15 May 2021 23:23:37 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="483a99aeb88b076d070df6f1a29ed0e1";
logging-data="27859"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+6vCCQKj3jnXRhPblIaYRKyfz9TjSM1Yc="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:M94gVikHCQt8OjJRlteQSN1G2Wo=
 by: Jon Ribbens - Sat, 15 May 2021 23:23 UTC

On 2021-05-15, Jason C. McDonald <codemouse92@outlook.com> wrote:
> During the Steering Committee presentation at PyCon, it was mentioned
> that no one has formally proposed TOML be added to the standard library
> (emphasis on formal). THe joke went forth that there would be a flood
> of proposals to that end.
>
> So, just to kick this off while the thought is still fresh in a bunch of
> people's minds: **should we add a TOML parser to the standard library**?
>
> The main reason this matters is to help encourage adoption of the now
> PEP-standardized pyproject.toml. A few projects have cited the lack of
> a standardized TOML implementation in the standard library as a reason
> not to adopt pyproject.toml...and the topic thus became weirdly
> political.
>
> I understand that Brett Cannon intends to bring this up at the next
> language summit, but, ah, might as well put the community two-cents in
> now, hey?
>
> I, for one, feel like this is obvious.

How about replacing pyproject.toml with pyproject.json, problem solved.

It's fairly hilarious that PEP 518 even provides a JSON schema
specifying the file format, but then doesn't use JSON and instead
selects a file format that doesn't even have a built-in Python parser.

Re: Standarize TOML?

<mailman.241.1621271990.3087.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=13169&group=comp.lang.python#13169

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: mennohol...@gmail.com (Menno Holscher)
Newsgroups: comp.lang.python
Subject: Re: Standarize TOML?
Date: Mon, 17 May 2021 11:10:44 +0200
Lines: 27
Message-ID: <mailman.241.1621271990.3087.python-list@python.org>
References: <s7pii7$asj$1@dont-email.me>
<s7tbuk$2d1$1@ciao.gmane.io>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de ZxrkCWCElsRXp/WH3GxW9gUlmadw3tuX7y/yQQ/fyXTQ==
Return-Path: <python-python-list@m.gmane-mx.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'pycon,': 0.03; 'bunch':
0.05; 'url-ip:72.52/16': 0.05; 'steering': 0.07; 'forth': 0.09;
'message-id:@ciao.gmane.io': 0.09; 'received:ciao.gmane.io': 0.09;
'received:gmane.io': 0.09; 'received:list': 0.09; 'url-
ip:72.52.80.23/32': 0.09; 'url-ip:72.52.80/24': 0.09;
'url:discuss': 0.09; 'formally': 0.16; 'received:116.202': 0.16;
'received:116.202.254': 0.16; 'received:116.202.254.214': 0.16;
'schreef': 0.16; 'proposals': 0.20; 'to:addr:python-list': 0.23;
'library': 0.27; 'url-ip:72/8': 0.27; 'header:User-Agent:1': 0.31;
'there': 0.31; 'end.': 0.32; 'header:In-Reply-To:1': 0.33;
'committee': 0.34; 'one.': 0.35; 'from:addr:gmail.com': 0.35;
'mentioned': 0.40; 'feel': 0.61; 'time.': 0.63; 'during': 0.67;
'received:116': 0.71; 'url:t': 0.73; "people's": 0.84; 'fresh':
0.91
X-Injected-Via-Gmane: http://gmane.org/
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.10.0
In-Reply-To: <s7pii7$asj$1@dont-email.me>
Content-Language: nl-NL
X-Mailman-Approved-At: Mon, 17 May 2021 13:19:49 -0400
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <s7tbuk$2d1$1@ciao.gmane.io>
X-Mailman-Original-References: <s7pii7$asj$1@dont-email.me>
 by: Menno Holscher - Mon, 17 May 2021 09:10 UTC

Op 16-05-2021 om 00:39 schreef Jason C. McDonald:
> During the Steering Committee presentation at PyCon, it was mentioned
> that no one has formally proposed TOML be added to the standard library
> (emphasis on formal). THe joke went forth that there would be a flood
> of proposals to that end.
>
> So, just to kick this off while the thought is still fresh in a bunch of
> people's minds: **should we add a TOML parser to the standard library**?
>

See here:
https://discuss.python.org/t/adopting-recommending-a-toml-parser/4068

> I, for one, feel like this is obvious.
>
You are not the only one. The game is already on for some time.

--
Met vriendelijke groet / Kind regards

Menno Hölscher

Re: Standarize TOML?

<mailman.242.1621283396.3087.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=13170&group=comp.lang.python#13170

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: bar...@barrys-emacs.org (Barry Scott)
Newsgroups: comp.lang.python
Subject: Re: Standarize TOML?
Date: Mon, 17 May 2021 21:29:47 +0100
Lines: 41
Message-ID: <mailman.242.1621283396.3087.python-list@python.org>
References: <s7pii7$asj$1@dont-email.me>
<479A907F-AD40-465E-8043-B9FE587FBA8B@barrys-emacs.org>
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\))
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de N1fxgiXBPpTIt8is77vpNgUJAwj7RChQj6jV5PeNJxDQ==
Return-Path: <barry@barrys-emacs.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.004
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'pycon,': 0.03; 'bunch':
0.05; 'steering': 0.07; 'url:mailman': 0.09; 'barry': 0.09;
'cc:addr:python-list': 0.09; 'forth': 0.09; 'from:addr:barry':
0.09; 'received:217.70': 0.09; 'received:gandi.net': 0.09;
'received:mail.gandi.net': 0.09; 'cc:no real name:2**0': 0.13;
'23:39,': 0.16; 'formally': 0.16; 'from:addr:barrys-emacs.org':
0.16; 'from:name:barry scott': 0.16; 'mcdonald': 0.16; 'message-id
:@barrys-emacs.org': 0.16; 'wrote:': 0.16; 'url:listinfo': 0.16;
'python': 0.16; 'speaker': 0.18; 'cc:addr:python.org': 0.19;
'proposals': 0.20; 'url-ip:188.166.95.178/32': 0.20; 'url-
ip:188.166.95/24': 0.20; 'language': 0.22; 'url-ip:188.166/16':
0.23; 'cc:2**0': 0.27; 'library': 0.27; 'url-ip:188/8': 0.29;
'ideas': 0.29; 'community': 0.30; 'there': 0.31; 'think': 0.31;
'encourage': 0.31; 'end.': 0.32; 'header:In-Reply-To:1': 0.33;
'committee': 0.34; 'author': 0.38; 'put': 0.39; 'list': 0.39;
'main': 0.40; 'reason': 0.40; 'mentioned': 0.40; 'but,': 0.61;
'feel': 0.61; 'bring': 0.63; 'thus': 0.65; 'well': 0.66; 'during':
0.67; 'now,': 0.67; 'received:217': 0.68; 'adopt': 0.84; 'became':
0.84; 'cited': 0.84; 'intends': 0.84; 'lord': 0.84; "people's":
0.84; 'fresh': 0.91; 'to:addr:outlook.com': 0.91
In-Reply-To: <s7pii7$asj$1@dont-email.me>
X-Mailer: Apple Mail (2.3654.80.0.2.43)
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <479A907F-AD40-465E-8043-B9FE587FBA8B@barrys-emacs.org>
X-Mailman-Original-References: <s7pii7$asj$1@dont-email.me>
 by: Barry Scott - Mon, 17 May 2021 20:29 UTC

> On 15 May 2021, at 23:39, Jason C. McDonald <codemouse92@outlook.com> wrote:
>
> During the Steering Committee presentation at PyCon, it was mentioned
> that no one has formally proposed TOML be added to the standard library
> (emphasis on formal). THe joke went forth that there would be a flood
> of proposals to that end.
>
> So, just to kick this off while the thought is still fresh in a bunch of
> people's minds: **should we add a TOML parser to the standard library**?
>
> The main reason this matters is to help encourage adoption of the now
> PEP-standardized pyproject.toml. A few projects have cited the lack of
> a standardized TOML implementation in the standard library as a reason
> not to adopt pyproject.toml...and the topic thus became weirdly
> political.
>
> I understand that Brett Cannon intends to bring this up at the next
> language summit, but, ah, might as well put the community two-cents in
> now, hey?
>
> I, for one, feel like this is obvious.

I think the python ideas list is a better place to have this discussion.

Barry

>
> --
> Jason C. McDonald (CodeMouse92)
> Author | Speaker | Hacker | Time Lord
> --
> https://mail.python.org/mailman/listinfo/python-list
>

Re: Standarize TOML?

<mailman.243.1621303763.3087.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=13171&group=comp.lang.python#13171

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: tjre...@udel.edu (Terry Reedy)
Newsgroups: comp.lang.python
Subject: Re: Standarize TOML?
Date: Mon, 17 May 2021 19:48:12 -0400
Lines: 43
Message-ID: <mailman.243.1621303763.3087.python-list@python.org>
References: <s7pii7$asj$1@dont-email.me>
<479A907F-AD40-465E-8043-B9FE587FBA8B@barrys-emacs.org>
<s7uvbt$u3c$1@ciao.gmane.io>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de mGtY8TDqBiY35jifO6/EPQ7FEmckTO4b1fdvNatolycw==
Return-Path: <python-python-list@m.gmane-mx.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'pycon,': 0.03; 'bunch':
0.05; 'url-ip:72.52/16': 0.05; 'modules': 0.07; 'steering': 0.07;
'apparently': 0.09; 'barry': 0.09; 'forth': 0.09; 'message-
id:@ciao.gmane.io': 0.09; 'received:ciao.gmane.io': 0.09;
'received:gmane.io': 0.09; 'received:list': 0.09; 'terry': 0.09;
'url-ip:72.52.80.23/32': 0.09; 'url-ip:72.52.80/24': 0.09;
'url:discuss': 0.09; 'writer.': 0.09; '23:39,': 0.16; 'broader':
0.16; 'consensus': 0.16; 'discussions.': 0.16; 'formally': 0.16;
'from:addr:udel.edu': 0.16; 'html,': 0.16; 'mcdonald': 0.16;
'packages.': 0.16; 'received:116.202': 0.16;
'received:116.202.254': 0.16; 'received:116.202.254.214': 0.16;
'stdlib': 0.16; 'wrote:': 0.16; 'python': 0.16; 'maybe': 0.20;
'pm,': 0.20; 'proposals': 0.20; 'python,': 0.21; 'language': 0.22;
'anyone': 0.23; 'to:addr:python-list': 0.23; '(as': 0.27;
'library': 0.27; 'url-ip:72/8': 0.27; 'ideas': 0.29; 'community':
0.30; 'header:User-Agent:1': 0.31; 'there': 0.31; 'think': 0.31;
'encourage': 0.31; 'end.': 0.32; 'header:In-Reply-To:1': 0.33;
'committee': 0.34; 'necessarily': 0.35; 'does': 0.38; 'put': 0.39;
'list': 0.39; 'include': 0.40; 'main': 0.40; 'reason': 0.40;
'mentioned': 0.40; 'pretty': 0.40; 'but,': 0.61; 'feel': 0.61;
'bring': 0.63; 'thus': 0.65; 'well': 0.66; 'during': 0.67; 'now,':
0.67; 'received:116': 0.71; 'url:t': 0.73; 'formatting': 0.77;
'html': 0.81; '*if': 0.84; 'adopt': 0.84; 'became': 0.84; 'cited':
0.84; 'intends': 0.84; 'noted': 0.84; "people's": 0.84; 'scott':
0.84; 'fresh': 0.91
X-Injected-Via-Gmane: http://gmane.org/
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.1
In-Reply-To: <479A907F-AD40-465E-8043-B9FE587FBA8B@barrys-emacs.org>
Content-Language: en-US
X-Mailman-Approved-At: Mon, 17 May 2021 22:09:21 -0400
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <s7uvbt$u3c$1@ciao.gmane.io>
X-Mailman-Original-References: <s7pii7$asj$1@dont-email.me>
<479A907F-AD40-465E-8043-B9FE587FBA8B@barrys-emacs.org>
 by: Terry Reedy - Mon, 17 May 2021 23:48 UTC

On 5/17/2021 4:29 PM, Barry Scott wrote:
>
>
>> On 15 May 2021, at 23:39, Jason C. McDonald <codemouse92@outlook.com> wrote:
>>
>> During the Steering Committee presentation at PyCon, it was mentioned
>> that no one has formally proposed TOML be added to the standard library
>> (emphasis on formal). THe joke went forth that there would be a flood
>> of proposals to that end.
>>
>> So, just to kick this off while the thought is still fresh in a bunch of
>> people's minds: **should we add a TOML parser to the standard library**?
>>
>> The main reason this matters is to help encourage adoption of the now
>> PEP-standardized pyproject.toml. A few projects have cited the lack of
>> a standardized TOML implementation in the standard library as a reason
>> not to adopt pyproject.toml...and the topic thus became weirdly
>> political.
>>
>> I understand that Brett Cannon intends to bring this up at the next
>> language summit, but, ah, might as well put the community two-cents in
>> now, hey?
>>
>> I, for one, feel like this is obvious.
>
> I think the python ideas list is a better place to have this discussion.

I disagree. Rehashing *opinions* is pretty useless. The issues were
already discussed on
https://discuss.python.org/t/adopting-recommending-a-toml-parser/4068

There are multiple packages. There is no consensus on which to pick,
*if any*. Existing modules apparently include writers, which are
necessarily opinionated (as is formatting of C, Python, html, ...). As
I just noted in the discussion, the stdlib does not have an html writer.
So if we want just a parser, maybe we should generate one from the
grammar. Then there are broader 'What should be in the stdlib discussions.

If anyone has *new information* about toml, post it there.

--
Terry Jan Reedy

Writers [Was: Re: Standarize TOML?]

<s80eh9$npd$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=13180&group=comp.lang.python#13180

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: mstem...@gmail.com (Michael F. Stemper)
Newsgroups: comp.lang.python
Subject: Writers [Was: Re: Standarize TOML?]
Date: Tue, 18 May 2021 08:13:04 -0500
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <s80eh9$npd$1@dont-email.me>
References: <s7pii7$asj$1@dont-email.me>
<479A907F-AD40-465E-8043-B9FE587FBA8B@barrys-emacs.org>
<s7uvbt$u3c$1@ciao.gmane.io>
<mailman.243.1621303763.3087.python-list@python.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 18 May 2021 13:13:13 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="012002206cfa9d0657e27299bcba4b1e";
logging-data="24365"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/cwk9dKGqmMAiVprLOLjKUjAD2vRQIpZs="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
Cancel-Lock: sha1:44x3DlZWMuqRITUUyZFRmhy7IYo=
In-Reply-To: <mailman.243.1621303763.3087.python-list@python.org>
Content-Language: en-US
 by: Michael F. Stemper - Tue, 18 May 2021 13:13 UTC

On 17/05/2021 18.48, Terry Reedy wrote:

> I disagree.  Rehashing *opinions* is pretty useless. The issues were
> already discussed on
> https://discuss.python.org/t/adopting-recommending-a-toml-parser/4068
>
> There are multiple packages.  There is no consensus on which to pick,
> *if any*. Existing modules apparently include writers, which are
> necessarily opinionated (as is formatting of C, Python, html, ...).  As
> I just noted in the discussion, the stdlib does not have an html writer.

If I'm parsing this correctly, python supports something called a
"writer", which does not mean "somebody who writes python".

Since I've never heard of this[1], I searched on:
python writer
but got stuff about how to write python and how to use python to write
to files.

Assuming that there is a python construct called a writer, could
somebody point me to somewhere that I could read up on them?

[1] Well, I've used csv.DictWriter() which might be an instance.
--
Michael F. Stemper
Galatians 3:28

Re: Writers [Was: Re: Standarize TOML?]

<slrnsa7fvc.1q1s.jon+usenet@raven.unequivocal.eu>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=13181&group=comp.lang.python#13181

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jon+use...@unequivocal.eu (Jon Ribbens)
Newsgroups: comp.lang.python
Subject: Re: Writers [Was: Re: Standarize TOML?]
Date: Tue, 18 May 2021 13:23:56 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <slrnsa7fvc.1q1s.jon+usenet@raven.unequivocal.eu>
References: <s7pii7$asj$1@dont-email.me>
<479A907F-AD40-465E-8043-B9FE587FBA8B@barrys-emacs.org>
<s7uvbt$u3c$1@ciao.gmane.io>
<mailman.243.1621303763.3087.python-list@python.org>
<s80eh9$npd$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 18 May 2021 13:23:56 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c3b4ac03352ed7e92f39505e4b6fcf1b";
logging-data="10268"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+kzR2iItnWWhkdEk8fsJgc+GjuCqO2xSg="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:ibhz4QLatLkr6GgNMgA4S7nYps8=
 by: Jon Ribbens - Tue, 18 May 2021 13:23 UTC

On 2021-05-18, Michael F. Stemper <mstemper@gmail.com> wrote:
> On 17/05/2021 18.48, Terry Reedy wrote:
>> I disagree.  Rehashing *opinions* is pretty useless. The issues were
>> already discussed on
>> https://discuss.python.org/t/adopting-recommending-a-toml-parser/4068
>>
>> There are multiple packages.  There is no consensus on which to pick,
>> *if any*. Existing modules apparently include writers, which are
>> necessarily opinionated (as is formatting of C, Python, html, ...).  As
>> I just noted in the discussion, the stdlib does not have an html writer.
>
> If I'm parsing this correctly, python supports something called a
> "writer", which does not mean "somebody who writes python".

You are not parsing it correctly. Terry means that at least some
existing TOML modules for Python include facilities for outputting
("writing") TOML as well as reading it, and this makes choosing
between those modules more controversial as there are more subjective
opinions involved in the implementation of writing TOML as opposed to
only reading it.

Re: Writers [Was: Re: Standarize TOML?]

<s80gul$5po$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=13182&group=comp.lang.python#13182

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: mstem...@gmail.com (Michael F. Stemper)
Newsgroups: comp.lang.python
Subject: Re: Writers [Was: Re: Standarize TOML?]
Date: Tue, 18 May 2021 08:54:29 -0500
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <s80gul$5po$1@dont-email.me>
References: <s7pii7$asj$1@dont-email.me>
<479A907F-AD40-465E-8043-B9FE587FBA8B@barrys-emacs.org>
<s7uvbt$u3c$1@ciao.gmane.io>
<mailman.243.1621303763.3087.python-list@python.org>
<s80eh9$npd$1@dont-email.me>
<slrnsa7fvc.1q1s.jon+usenet@raven.unequivocal.eu>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 18 May 2021 13:54:29 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="012002206cfa9d0657e27299bcba4b1e";
logging-data="5944"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/YMsZaCdv6q5R4V9qhWRjIdQb3a4A6zo0="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
Cancel-Lock: sha1:B4V+iOXOMBETlpQybvuXC8gIrSs=
In-Reply-To: <slrnsa7fvc.1q1s.jon+usenet@raven.unequivocal.eu>
Content-Language: en-US
 by: Michael F. Stemper - Tue, 18 May 2021 13:54 UTC

On 18/05/2021 08.23, Jon Ribbens wrote:
> On 2021-05-18, Michael F. Stemper <mstemper@gmail.com> wrote:
>> On 17/05/2021 18.48, Terry Reedy wrote:

>>> There are multiple packages.  There is no consensus on which to pick,
>>> *if any*. Existing modules apparently include writers, which are
>>> necessarily opinionated (as is formatting of C, Python, html, ...).  As
>>> I just noted in the discussion, the stdlib does not have an html writer.
>>
>> If I'm parsing this correctly, python supports something called a
>> "writer", which does not mean "somebody who writes python".
>
> You are not parsing it correctly. Terry means that at least some
> existing TOML modules for Python include facilities for outputting
> ("writing") TOML as well as reading it, and this makes choosing
> between those modules more controversial as there are more subjective
> opinions involved in the implementation of writing TOML as opposed to
> only reading it.

Okay, thanks.

--
Michael F. Stemper
This post contains greater than 95% post-consumer bytes by weight.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor