This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Marshal's documentation incomplete (Bools)
Type: behavior Stage:
Components: Documentation, Library (Lib) Versions: Python 3.1
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, loewis, serprex
Priority: normal Keywords:

Created on 2009-08-21 15:48 by serprex, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg91831 - (view) Author: Demur Rumed (serprex) Date: 2009-08-21 15:48
"The following types are supported: None, integers, floating point
numbers, strings, bytes, bytearrays, tuples, lists, sets, dictionaries,
and code objects"

It fails to list bools: True and False

While it states "Not all Python object types are supported; in general,
only objects whose value is independent from a particular invocation of
Python can be written and read by this module." beforehand, it seems
proper to include bools in the list of accepted types
msg91834 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2009-08-21 17:24
A number of other things are also missing.

types:complex,frozenset
singletons:StopIteration, Ellipsis
msg92208 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-09-03 12:31
Thanks, fixed in r74633.
History
Date User Action Args
2022-04-11 14:56:52adminsetgithub: 51006
2009-09-03 12:31:47georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg92208
2009-08-21 17:24:02loewissetnosy: + loewis
messages: + msg91834
2009-08-21 15:49:57serprexsettitle: Marshal's documentation incomplete -> Marshal's documentation incomplete (Bools)
2009-08-21 15:48:54serprexcreate