[issue15302] Use argparse instead of getopt in test.regrtest

2012-12-24 Thread Anton Kasyanov

Anton Kasyanov added the comment:

So I see that there is no need in full refactoring now.

BTW, maybe someone should create an issue for full tests coverage of regrtest? 
Then it would be much easier to make a full refactoring.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15302
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16045] add more unit tests for built-in int()

2012-12-23 Thread Anton Kasyanov

Anton Kasyanov added the comment:

looks good to me

--
nosy: +asvetlov, mindmaster

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16045
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16443] Add docstrings to regular expression match objects

2012-12-23 Thread Anton Kasyanov

Anton Kasyanov added the comment:

Created a patch with docstrings for match objects. Also added empty lines in 
pattern object docstrings according to 
http://www.python.org/dev/peps/pep-0007/#id7

--
keywords: +patch
nosy: +a.kasyanov, asvetlov
versions:  -Python 2.7
Added file: http://bugs.python.org/file28403/issue-16443.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16443
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15302] Use argparse instead of getopt in test.regrtest

2012-12-23 Thread Anton Kasyanov

Anton Kasyanov added the comment:

I've looked through the second patch and I'm not sure about how argparse usage 
was implemented here - parse_args() result is being converted to getopt-style 
list of (option, value) pairs.
 
Is there any sense in using argparse this way?

--
nosy: +a.kasyanov, asvetlov

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15302
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com