Title: Create a built-in yaml module
Type: enhancement Stage:
Components: Versions:
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: TheOneTheOnlyJJ, jarpri08, xtreak
Priority: normal Keywords:

Created on 2021-07-18 21:33 by jarpri08, last changed 2021-07-21 23:08 by jarpri08.

Messages (4)
msg397761 - (view) Author: Jarrod Price (jarpri08) Date: 2021-07-18 21:33
Would it be possible for someone to take the time to create a built-in yaml module based on the current spec (v1.2) ?

Just like how we can do `import json`, there is currently no `import yaml`.

I myself (and I assume others too) would much prefer to be able to create/save/load/edit yaml as if it were a dictionary.

I am one of those guys that don’t really like to install external modules and I much prefer to just use the batteries included modules.
msg397936 - (view) Author: Jurj Andrei George (TheOneTheOnlyJJ) Date: 2021-07-21 09:18
I would also like to have yaml in the stdlib.

I reckon it would make sense to at least discuss yaml given that toml is on its way in the stdlib.

By the time a toml parser gets added, yaml will be the only major data serialization language to not be included in the stdlib.
msg397939 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2021-07-21 11:45
There was some discussion in 2013 : . This has to go through python-ideas and probably might need a PEP. There is also a request to add toml
msg397966 - (view) Author: Jarrod Price (jarpri08) Date: 2021-07-21 23:08
Could you please assist me with creating a PEP? I’ve not done it before and I’m not sure where to begin.
Date User Action Args
2021-07-21 23:08:12jarpri08setmessages: + msg397966
2021-07-21 11:45:02xtreaksetnosy: + xtreak
messages: + msg397939
2021-07-21 09:18:15TheOneTheOnlyJJsetnosy: + TheOneTheOnlyJJ
messages: + msg397936
2021-07-18 21:33:48jarpri08create