Re: [Python-ideas] A PEP to define basical metric which allows to guarantee minimal code quality

2017-09-17 Thread alexandre . galode
Hi, thanks for your answer, and your questions. Very good draw. I printed it in my office ^^ First i'd like to precise that, as in title, aim is not to gurantee quality but minimal quality. I think it's really two different things. About metrics, my ideas was about following (for the moment):

Re: [Python-ideas] Move some regrtest or test.support features into unittest?

2017-09-17 Thread Antoine Pitrou
On Wed, 13 Sep 2017 15:42:56 +0200 Victor Stinner wrote: > I would like to see if and how we can integrate/move some regrtest > features into the unittest module. Example of regrtest features: > > * skip a test if it allocates too much memory, command line argument > to specify how many memory a

Re: [Python-ideas] Make map() better

2017-09-17 Thread Abdur-Rahmaan Janhangeer
in that case you presented maybe it is more readeable but considering that lists as ["a","b"] can be inputted, not just using range, the result might be as it was. change x y people are happy change y and z people hate it Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On

[Python-ideas] Use __all__ for dir(module) (Was: PEP 562)

2017-09-17 Thread Cody Piersall
On Tue, Sep 12, 2017 at 3:26 AM, Ivan Levkivskyi wrote: > @Cody >> I still think the better way >> to solve the custom dir() would be to change the module __dir__ >> method to check if __all__ is defined and use it to generate the >> result if it exists. This seems like a logical enhancement to m

Re: [Python-ideas] Use __all__ for dir(module) (Was: PEP 562)

2017-09-17 Thread Guido van Rossum
I ave to agree with the other committers who already spoke up. I'm not using tab completion much (I have a cranky old Emacs setup), but isn't making tab completion better a job for editor authors (or language-support-for-editor authors) rather than for the core language? What editor are you using

Re: [Python-ideas] Use __all__ for dir(module) (Was: PEP 562)

2017-09-17 Thread Cody Piersall
On Sun, Sep 17, 2017 at 9:49 PM, Guido van Rossum wrote: > I ave to agree with the other committers who already spoke up. > > I'm not using tab completion much (I have a cranky old Emacs setup), but > isn't making tab completion better a job for editor authors (or > language-support-for-editor aut

Re: [Python-ideas] Use __all__ for dir(module) (Was: PEP 562)

2017-09-17 Thread Michel Desmoulin
Le 18/09/2017 à 06:40, Cody Piersall a écrit : > On Sun, Sep 17, 2017 at 9:49 PM, Guido van Rossum wrote: >> I ave to agree with the other committers who already spoke up. >> >> I'm not using tab completion much (I have a cranky old Emacs setup), but >> isn't making tab completion better a job fo

Re: [Python-ideas] Move some regrtest or test.support features into unittest?

2017-09-17 Thread Michel Desmoulin
Can you elaborate on _why_ you think something is good for core/a plugin ? Cause right now it's impossible to know what's the logic behind. Le 17/09/2017 à 22:31, Antoine Pitrou a écrit : > On Wed, 13 Sep 2017 15:42:56 +0200 > Victor Stinner > wrote: >> I would like to see if and how we can integ