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

2017-09-18 Thread suresh
https://pypi.python.org/pypi/radon impements some of these metrics ___ Python-ideas mailing list [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/

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

2017-09-18 Thread alexandre . galode
Hi, effectively it's one of the numerous tools whih allows to have metrics on code. This PEP would not have to precise tools name, but it's a good example ^^ ; and can give some more ideas on complementary metrics ___ Python-ideas mailing list Python-id

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

2017-09-18 Thread Victor Stinner
Antoine: >> * skip a test if it allocates too much memory, command line argument >> to specify how many memory a test is allowed to allocate (ex: >> --memlimit=2G for 2 GB of memory) > > That would be suitable for a plugin if unittest had a plugin > architecture, but not as a core functionality IMO

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

2017-09-18 Thread Antoine Pitrou
On Mon, 18 Sep 2017 12:16:35 +0200 Victor Stinner wrote: > Antoine: > >> * skip a test if it allocates too much memory, command line argument > >> to specify how many memory a test is allowed to allocate (ex: > >> --memlimit=2G for 2 GB of memory) > > > > That would be suitable for a plugin if u

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

2017-09-18 Thread Serhiy Storchaka
13.09.17 16:42, Victor Stinner пише: * skip a test if it allocates too much memory, command line argument to specify how many memory a test is allowed to allocate (ex: --memlimit=2G for 2 GB of memory) Instead of just making checks before running some tests it would be worth to limit the memor