Re: [Python-ideas] from __pip__ import

2016-09-21 Thread Chris Barker
On Mon, Sep 19, 2016 at 9:25 AM, אלעזר wrote: > Many proposals to add something to stdlib are rejected here with the > suggestion to add such library to pypi first. As noted by someone, pypi is > not as reachable as stdlib, and one should install that package first, > which many people don't know

Re: [Python-ideas] Make partial a built-in

2016-09-21 Thread Nick Coghlan
On 21 September 2016 at 02:42, Ryan Gonzalez wrote: > Most often, when I see lambdas used for this, it looks like: > > lambda *args, **kw: myfunc(partial_arg, *args, **kw) Wrapper functions like that are almost always more readable when written as named functions: def my_modified_func(*args,

Re: [Python-ideas] from __pip__ import

2016-09-21 Thread Nick Coghlan
On 21 September 2016 at 06:59, Chris Angelico wrote: > On Wed, Sep 21, 2016 at 4:58 AM, אלעזר wrote: >> I think that combining user convenience and security considerations, there >> should be some way to invoke a GUI version of pip with flashing screen >> asking for permissions to install the lib