Josh Rosenberg <shadowranger+pyt...@gmail.com> added the comment:

One additional note, just in case you're wondering. slice explicitly does not 
set Py_TPFLAGS_BASETYPE (in either Py2 or Py3), so you can't make a subclass of 
slice with NULLable fields by accident (you'll get a TypeError the moment you 
try to define it). There is one, and only one, slice type, and its fields are 
never NULL.

----------

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

Reply via email to