[issue40059] Provide a toml module in the standard library

2022-03-09 Thread miss-islington
miss-islington added the comment: New changeset 23dcea5de736b367c0244042aaca10971538b2b4 by Dominic Davis-Foster in branch 'main': bpo-40059: Fix installation of tomllib (GH-31784) https://github.com/python/cpython/commit/23dcea5de736b367c0244042aaca10971538b2b4 -- nosy:

[issue40059] Provide a toml module in the standard library

2022-03-09 Thread Dominic Davis-Foster
Change by Dominic Davis-Foster : -- nosy: +domdfcoding nosy_count: 18.0 -> 19.0 pull_requests: +29889 pull_request: https://github.com/python/cpython/pull/31784 ___ Python tracker

[issue40059] Provide a toml module in the standard library

2022-03-09 Thread Dominic Davis-Foster
Dominic Davis-Foster added the comment: When building Python from source (as of the latest GitHub commit) the tomllib directory doesn't actually get copied over to the install prefix. It looks like an entry's needed in Makefile.pre.in under LIBSUBDIRS, along the lines of

[issue40059] Provide a toml module in the standard library

2022-03-08 Thread Petr Viktorin
Petr Viktorin added the comment: The PR is merged and buildbots are green. Thank you to everyone who helped! Now would be a good time to bikeshed wording in the documentation. >From the PR: > Would it be good to mention in the docs why load() takes only binary files? > The encoding

[issue40059] Provide a toml module in the standard library

2022-03-08 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 591f6754b56cb7f6c31fce8c22528bdf0a99556c by Taneli Hukkinen in branch 'main': bpo-40059: Add tomllib (PEP-680) (GH-31498) https://github.com/python/cpython/commit/591f6754b56cb7f6c31fce8c22528bdf0a99556c -- nosy: +petr.viktorin

[issue40059] Provide a toml module in the standard library

2022-02-22 Thread Taneli Hukkinen
Change by Taneli Hukkinen : -- keywords: +patch nosy: +hukkinj1 nosy_count: 15.0 -> 16.0 pull_requests: +29628 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31498 ___ Python tracker

[issue40059] Provide a toml module in the standard library

2022-01-11 Thread Shantanu
Shantanu added the comment: This is now PEP 680: https://www.python.org/dev/peps/pep-0680/ Currently being discussed at: https://discuss.python.org/t/pep-680-tomllib-support-for-parsing-toml-in-the-standard-library/13040 -- ___ Python tracker

[issue40059] Provide a toml module in the standard library

2022-01-02 Thread Shantanu
Shantanu added the comment: We've started a PEP draft. https://github.com/hauntsaninja/peps/blob/toml-pep/pep-.rst shows a rendered version. https://github.com/hauntsaninja/peps/pull/1 is a PR from the toml-pep branch to main, to help ease of review / discussion. If you're following

[issue40059] Provide a toml module in the standard library

2022-01-01 Thread Shantanu
Shantanu added the comment: pradyunsg kindly pointed me to an ongoing thread in Packaging discuss: https://discuss.python.org/t/adopting-recommending-a-toml-parser/4068/84 So seems like a PEP will be necessary. I'm happy to do legwork for that. (The PEP that I'll write differs from

[issue40059] Provide a toml module in the standard library

2022-01-01 Thread Shantanu
Shantanu added the comment: > You will need to address where the code is coming from, why that code should > be used, what's the API, etc. Happy new year, potentially-toml-wanting friends! I wrote up a draft of a proposal here:

[issue40059] Provide a toml module in the standard library

2022-01-01 Thread Alex Grönholm
Change by Alex Grönholm : -- nosy: +alex.gronholm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40059] Provide a toml module in the standard library

2021-12-14 Thread Brett Cannon
Brett Cannon added the comment: I opened https://github.com/python/steering-council/issues/92 for the SC to discuss stdlib additions in case I am not re-elected. -- ___ Python tracker

[issue40059] Provide a toml module in the standard library

2021-12-13 Thread Martin Reboredo
Martin Reboredo added the comment: > Not officially, no. But I'm personally not going to bring it forward right > now. If someone else wants to formulate a complete proposal for the SC on > this then they are definitely welcome to! You will need to address where the > code is coming from,

[issue40059] Provide a toml module in the standard library

2021-12-13 Thread Brett Cannon
Brett Cannon added the comment: > I just noticed that tomli has dropped support for Python 3.6. That's a road > block for general adoption of the package in the Python ecosystem. It's already in pip, so I think it's already generally adopted .

[issue40059] Provide a toml module in the standard library

2021-12-12 Thread Shantanu
Shantanu added the comment: Given that this currently seems blocked on the broad question of "how should additions and removals to the stdlib be managed", I'd like to not focus too hard just yet on the specifics of tomli. I assume it's unlikely, but for all we know, the SC could determine

[issue40059] Provide a toml module in the standard library

2021-12-11 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: -yan12125 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40059] Provide a toml module in the standard library

2021-12-11 Thread Christian Heimes
Christian Heimes added the comment: I just noticed that tomli has dropped support for Python 3.6. That's a road block for general adoption of the package in the Python ecosystem. Python 3.6 is the default Python interpreter in CentOS 8, C8S, RHEL 8, and Ubuntu 18.04 LTS.

[issue40059] Provide a toml module in the standard library

2021-12-11 Thread Martin Reboredo
Martin Reboredo added the comment: A new python-ideas mail thread was created for this, you can check it out at https://mail.python.org/archives/list/python-id...@python.org/thread/IWJ3I32A4TY6CIVQ6ONPEBPWP4TOV2V7/. -- nosy: +YakoYakoYokuYoku ___

[issue40059] Provide a toml module in the standard library

2021-11-18 Thread Brett Cannon
Brett Cannon added the comment: > Hopefully tomli being less than a year old should not be a blocker, after > all, TOML v1.0.0 is itself less than a year old. It's actually rather important as the semantics of how things work will effectively be locked in once a module is added to the

[issue40059] Provide a toml module in the standard library

2021-11-17 Thread Shantanu
Shantanu added the comment: Hopefully tomli being less than a year old should not be a blocker, after all, TOML v1.0.0 is itself less than a year old. Despite tomli being new code, it's pretty widely used. Reverse dependencies include pip, pytest, mypy, black, flit, coverage,

[issue40059] Provide a toml module in the standard library

2021-11-17 Thread Michał Górny
Michał Górny added the comment: I've already asked that, and the author said it's fine but with the deprecated text file support removed: https://github.com/hukkin/tomli/issues/141#issuecomment-968056905 That said, for consistency with json and so on we'd probably want to combine tomli and

[issue40059] Provide a toml module in the standard library

2021-11-17 Thread Brett Cannon
Brett Cannon added the comment: > I'd love it if we could make this happen for Python 3.11. What can I do to > help, e.g. would it be helpful if I drafted a PEP? A PEP isn't necessarily required right now as

[issue40059] Provide a toml module in the standard library

2021-11-17 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40059] Provide a toml module in the standard library

2021-11-17 Thread Shantanu
Shantanu added the comment: I'd love it if we could make this happen for Python 3.11. What can I do to help, e.g. would it be helpful if I drafted a PEP? Several projects have switched to using tomli (https://github.com/hukkin/tomli), which is fully compatible with TOML v1.0.0 and is maybe

[issue40059] Provide a toml module in the standard library

2021-09-30 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40059] Provide a toml module in the standard library

2021-09-27 Thread Sebastian Koslowski
Change by Sebastian Koslowski : -- nosy: +skoslowski ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40059] Provide a toml module in the standard library

2021-09-08 Thread Brett Cannon
Brett Cannon added the comment: No progress as I've been swamped with higher-priority things and the bigger discussion about how we want to manage the stdlib going forward has not started yet (once again, not had the time to start that). -- ___

[issue40059] Provide a toml module in the standard library

2021-09-05 Thread Michał Górny
Michał Górny added the comment: Is there any progress happening? FWIU the common "toml" module on pypi has been discontinued now, projects are switching to yet another one and this is exactly the kind of problem a built-in module would have avoided. --

[issue40059] Provide a toml module in the standard library

2021-03-02 Thread Eli Schwartz
Change by Eli Schwartz : -- nosy: +eschwartz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40059] Provide a toml module in the standard library

2021-02-28 Thread Michał Górny
Michał Górny added the comment: It seems that the spec has reached 1.0.0: > 1.0.0 / 2021-01-11 I guess that there are still ~2 months left to do this before 3.10 reaches beta. -- ___ Python tracker

[issue40059] Provide a toml module in the standard library

2021-01-02 Thread Brett Cannon
Change by Brett Cannon : -- versions: -Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40059] Provide a toml module in the standard library

2021-01-02 Thread Matej Cepl
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40059] Provide a toml module in the standard library

2020-07-18 Thread Va
Va added the comment: 1.0.0-rc.1 is out by now: https://github.com/toml-lang/toml/blob/master/CHANGELOG.md -- nosy: +VA versions: +Python 3.10 ___ Python tracker ___

[issue40059] Provide a toml module in the standard library

2020-03-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pradyunsg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40059] Provide a toml module in the standard library

2020-03-25 Thread Brett Cannon
Brett Cannon added the comment: The plan is to start discussing adding a TOML parser once the spec reaches 1.0 (which we will know about as one of the pip contributors also manages TOML). -- ___ Python tracker

[issue40059] Provide a toml module in the standard library

2020-03-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Relevant python-dev discussion : https://mail.python.org/pipermail/python-dev/2019-May/157405.html . The format has still not reached 1.0. Issue to track the 1.0 release candidate : https://github.com/toml-lang/toml/issues/698 -- nosy:

[issue40059] Provide a toml module in the standard library

2020-03-25 Thread Michał Górny
New submission from Michał Górny : PEP 518 uses the TOML format to specify build system requirements. AFAIU this means that all new build systems will require a TOML parser. Could you consider adding one to the standard library to reduce the number of chicken-egg problems? The referenced