[issue14034] Add argparse howto

2012-03-18 Thread Éric Araujo
Éric Araujo added the comment: Sorry, a burger party fell on me. I’ll make time this week. Nick, I just read on python-dev that you had suggestions for argparse docs; could you post the bug numbers / message IDs here or the list of suggestions? -- nosy: +ncoghlan ___

[issue14034] Add argparse howto

2012-03-18 Thread Nick Coghlan
Nick Coghlan added the comment: 13850 (already mentioned above) is my relevant argparse docs proposal - it turns out the other argparse issues I remembered posting were actual feature requests rather than docs suggestions (FWIW, those are 14037 and 14039) -- _

[issue14359] _posixsubprocess.o compilation error on CentOS 5.8

2012-03-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 09371e2ae84d by Ross Lagerwall in branch '3.2': Issue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined. http://hg.python.org/cpython/rev/09371e2ae84d New changeset 0d5fcbfd646f by Ross Lagerwall in branch 'default': Merge with 3.2 for

[issue14034] Add argparse howto

2012-03-18 Thread Nick Coghlan
Nick Coghlan added the comment: A couple of thoughts on the draft HOWTO: I like the "verbosity" example, but I'd also like to see it continue on into introducing the "action='count'" alternative that allows "-vv" to set the verbosity level to 2, etc. I also find the idea of having higher ver

[issue14367] try/except block in ismethoddescriptor() in inspect.py, so that pydoc works with pygame in Python 3.2

2012-03-18 Thread Dave Burton
New submission from Dave Burton : I noticed that pydoc doesn't work for pygame under python 3.2.1 or 3.2.2 for Win32; it just reports: NotImplementedError: scrap module not available (ImportError: No module named scrap) I made a small patch to inspect.py to solve the problem (I just added a tr

[issue13922] argparse handling multiple "--" in args improperly

2012-03-18 Thread Jeff Knupp
Jeff Knupp added the comment: Added patch so that only the first '--' is removed by an argparse.PARSE or argparse.REMAINDER argument. Note that, as Steven said, argparse.REMAINDER should be used in the OP's issue (and the added test makes sure all remaining arguments are preserved even if the

[issue12776] argparse: type conversion function should be called only once

2012-03-18 Thread Arnaud Fontaine
Arnaud Fontaine added the comment: Could you please apply this patch? It's been 4 months without reply now... -- ___ Python tracker ___ _

[issue14357] Distutils2 does not work with virtualenv

2012-03-18 Thread Alex Grönholm
Alex Grönholm added the comment: >I can’t reproduce. Can you delete your venv, start again and tell me how it >goes? I've repeated this several times, and the result is always the same. -- ___ Python tracker __

[issue14356] Distutils2 ignores site-local configuration

2012-03-18 Thread Alex Grönholm
Alex Grönholm added the comment: >If I understand correctly that you used “/usr/bin/python pysetup install spam” >and wanted it to install to /usr/lib/python2.7/site-packages, then I think >that the correct reply is: Not supported, don’t do that. If you did something >else, please tell what

[issue14361] No link to issue tracker on Python home page

2012-03-18 Thread Steven D'Aprano
Steven D'Aprano added the comment: On Mon, Mar 19, 2012 at 02:51:53AM +, Martin v. Löwis wrote: > > Martin v. Löwis added the comment: > I remain -1 on adding a link to the tracker to www.python.org. As long > as we cannot really cope with the flood of bug reports that we get, > there is

<    1   2