Brian Thorne added the comment:

> * 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?


Python tracker <>
Python-bugs-list mailing list

Reply via email to