Le 04/08/2014 13:36, Alexander Belopolsky a écrit :
On Mon, Aug 4, 2014 at 12:57 PM, Ethan Furman <et...@stoneleaf.us <mailto:et...@stoneleaf.us>> wrote: 'allow_none' is definitely clearer. I disagree. Unlike "nullable", "allow_none" does not tell me what happens on the C side when I pass in None. If the receiving type is PyObject*, either NULL or Py_None is a valid choice.
But here the receiving type can be an int. Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com