Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

This can't be changed in 3.6. There are two ways of changing it:

1. Make the marshal module supporting AssertionError as it supports booleans, 
None, Ellipsis and StopIteration. This will require adding the new marshal 
format version.

2. Add a new opcode in bytecode.

The latter way is easier. Bytecode is changed in every feature release, and it 
was already changed in 3.8. New marshal versions are added less often.

There was similar issue with StopAsyncIteration. See issue33041.

----------
nosy: +serhiy.storchaka
versions: +Python 3.8 -Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34880>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to