Author Thorney
Recipients Thorney, eric.araujo, eric.snow, ezio.melotti, jackdied, ncoghlan, pitrou, python-dev, rhettinger
Date 2012-11-14.00:14:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> * Why the try block when there wasn't one before?
> * Should reduce be added to __all__ only conditionally?

My mistake, the try block should have just covered the import of partial - that is after all the exceptional circumstance we can deal with by using the pure python implementation.

Possibly reduce could be handled in a similar way with a fallback python implementation? Otherwise your suggestion of conditionally adding it to __all__ makes sense to me.

> * Should the pure Python partial only be used if _functools.partial is not available?
> * Should _functools.partial be removed?

What are the main considerations to properly answer these last questions? Performance comparison between the implementations, maintainability?
Date User Action Args
2012-11-14 00:14:29Thorneysetrecipients: + Thorney, rhettinger, ncoghlan, pitrou, jackdied, ezio.melotti, eric.araujo, python-dev, eric.snow
2012-11-14 00:14:29Thorneysetmessageid: <>
2012-11-14 00:14:29Thorneylinkissue12428 messages
2012-11-14 00:14:29Thorneycreate