[Python-Dev] Requesting pronouncement on PEP 0424

Antoine Pitrou solipsis at pitrou.net
Sat Jul 28 20:51:49 CEST 2012


On Sat, 28 Jul 2012 17:05:01 +0000 (UTC)
Alex Gaynor <alex.gaynor at gmail.com> wrote:

> Hi all,
> 
> The discussion on PEP 0424 seems to have subsided (and I haven't gotten angry 
> emails in a week!). So I would like to request a BDFL or BDFP pronouncement
> on PEP 0424, text available here: http://hg.python.org/peps/file/tip/pep-0424.txt

"It may raise a ``TypeError`` if a 32 specific instance cannot have its
length estimated."

-> what is the consumer supposed to do in this case? Propagate the
error, or use a default value?

Regards

Antoine.


-- 
Software development and contracting: http://pro.pitrou.net




More information about the Python-Dev mailing list