]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-125063: marshal: Add version 5, improve documentation (GH-126829)
authorPetr Viktorin <encukou@gmail.com>
Fri, 15 Nov 2024 12:48:57 +0000 (13:48 +0100)
committerGitHub <noreply@github.com>
Fri, 15 Nov 2024 12:48:57 +0000 (13:48 +0100)
commitd00f7b1b9d12dd6f29d7616217900785c4f6674d
treefa715cb171215073bf48f0acabc2c411f2fa80fb
parente17486982ca7b40cc8fbc1c76ad25facc5e76349
gh-125063: marshal: Add version 5, improve documentation (GH-126829)

* Document that slices can be marshalled
* Deduplicate and organize the list of supported types
  in docs
* Organize the type code list in marshal.c, to make
  it more obvious that this is a versioned format
* Back-fill some historical info

Co-authored-by: Michael Droettboom <mdboom@gmail.com>
Doc/c-api/marshal.rst
Doc/library/marshal.rst
Include/marshal.h
Lib/test/test_marshal.py
Misc/NEWS.d/next/Library/2024-11-14-13-16-20.gh-issue-125063.kJ-WnH.rst [new file with mode: 0644]
Programs/_freeze_module.c
Python/marshal.c