Message175530
| 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 |
<1352852069.67.0.262201698934.issue12428@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> * 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? |
|