[issue13386] Document documentation conventions for optional args

2011-11-14 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13386 ___ ___ Python-bugs-list

[issue13386] Document documentation conventions for optional args

2011-11-14 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13386 ___ ___ Python-bugs-list

[issue13386] Document documentation conventions for optional args

2011-11-14 Thread Baptiste Carvello
Baptiste Carvello de...@baptiste-carvello.net added the comment: Hi all, here is a relevant user story. I'm afraid it won't help you much, but it highlights the importance of consistent conventions in doc. My girlfriend is learning Python with no prior programing experience. She quite

[issue13386] Document documentation conventions for optional args

2011-11-14 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Thanks for the feedback! 1) she naturally understood the meaning of the [opt] notation I guess this depends on her background, I've seen people trying to use [] in function calls because they saw them in the doc or confusing them for

[issue6397] Implementing Solaris /dev/poll in the select module

2011-11-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Added file: http://bugs.python.org/file23684/11f08326afd0.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6397 ___

[issue12681] unittest expectedFailure could take a message argument like skip does

2011-11-14 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Maybe we could add an expected_issue(id) decorator to test.support. -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12681

[issue3932] HTMLParser cannot handle '' and non-ascii characters in attribute names

2011-11-14 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3932 ___ ___

[issue13357] HTMLParser parses attributes incorrectly.

2011-11-14 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13357 ___ ___

[issue12629] HTMLParser silently stops parsing with malformed attributes

2011-11-14 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12629 ___ ___

[issue755670] improve HTMLParser attribute processing regexps

2011-11-14 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue755670 ___ ___

[issue1745761] Bad attributes/data handling in SGMLib

2011-11-14 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1745761 ___ ___

[issue6397] Implementing Solaris /dev/poll in the select module

2011-11-14 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: New changeset. The only change is: diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c --- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -685,8 +685,16 @@ return -1; } if (n size) { -

[issue13396] new method random.getrandbytes()

2011-11-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13396 ___ ___ Python-bugs-list mailing list

[issue13398] _cursesmodule does not build, doesn't find Python.h on Solaris

2011-11-14 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Maciej, could you possibly provide a diff file to apply?. I care about Solaris support, but I don't have a Solaris 9 around for testing. Only Solaris 10 and OpenIndiana. Try to provide a minimal patch, please. -- nosy: +jcea stage: -

[issue13398] _cursesmodule does not build, doesn't find Python.h on Solaris

2011-11-14 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: BTW, have you tried to compile with GCC? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13398 ___

[issue13239] Remove operator from Grammar/Grammar

2011-11-14 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: +# isn't actually a valid comparison operator in Python. It's here for the +# sake of a __future__ import described in PEP 401 If we wanted to be exact, the operator isn’t here for a __future__ import but for a feature enabled by a __future__

[issue13264] Monkeypatching using metaclass

2011-11-14 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Artem, if you have further information to make us reconsider this issue, please add a new message. -- resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker

[issue13386] Document documentation conventions for optional args

2011-11-14 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Do we need an introductory page aimed to the readers that explains the conventions used in the doc? Explaining notational conventions at the start of a technical reference sounds like a best practice to me. --

[issue11751] Increase distutils.filelist / packaging.manifest test coverage

2011-11-14 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 3dda26cfc1d7 by Éric Araujo in branch 'default': Increase test coverage for manifest (#11751). http://hg.python.org/distutils2/rev/3dda26cfc1d7 -- ___ Python tracker

[issue13170] distutils2 test failures

2011-11-14 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 5b096fc6e65d by Éric Araujo in branch 'default': Fix import in install_data (#13170). Thanks to David Barnett. http://hg.python.org/distutils2/rev/5b096fc6e65d New changeset 2d469ccfe30e by Éric Araujo in branch

[issue12915] Add inspect.locate and inspect.resolve

2011-11-14 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 5df1065ddb8b by Éric Araujo in branch 'default': Expand tests and fix bugs in util.resolve_name. http://hg.python.org/distutils2/rev/5df1065ddb8b -- ___ Python tracker

[issue12386] packaging fails in install_distinfo when writing RESOURCES

2011-11-14 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset cb49bc384957 by Éric Araujo in branch 'default': Fix writing of the RESOURCES file (#12386). http://hg.python.org/distutils2/rev/cb49bc384957 New changeset 2d469ccfe30e by Éric Araujo in branch 'python3': Merge

[issue13399] Don't print traceback for recognized options in packaging

2011-11-14 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: $ python3.3 setup.py build --some-option usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help

[issue13399] Don't print traceback for unrecognized options in packaging

2011-11-14 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- title: Don't print traceback for recognized options in packaging - Don't print traceback for unrecognized options in packaging ___ Python tracker rep...@bugs.python.org

[issue13400] packaging: build command should accept --compile, --no-compile and --optimize options

2011-11-14 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: build command of packaging should accept --compile, --no-compile and --optimize options and pass them to build_py command. -- assignee: tarek components: Distutils2 keywords: easy messages: 147600 nosy:

[issue13399] Don't print traceback for unrecognized actions, commands and options in packaging

2011-11-14 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: $ pysetup3.3 unknown_action Unrecognized action unknown_action Traceback (most recent call last): File /usr/lib64/python3.3/packaging/run.py, line 650, in main dispatcher = Dispatcher(args) File

[issue13401] test_argparse fails with root permissions

2011-11-14 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: $ python3.3 -B -m test.test_argparse ... == FAIL: test_failures_many_groups_listargs (__main__.TestFileTypeW)

[issue13401] test_argparse fails with root permissions

2011-11-14 Thread Jesus Rivero
Changes by Jesus Rivero neurog...@gentoo.org: -- nosy: +Neurogeek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13401 ___ ___ Python-bugs-list

[issue13401] test_argparse fails with root permissions

2011-11-14 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file23685/python-test_argparse.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13401

[issue13391] string.strip Does Not Remove Zero-Width-Space (ZWSP)

2011-11-14 Thread Dave Mankoff
Dave Mankoff man...@gmail.com added the comment: I appreciated the quick turnaround on this. Perhaps I am misunderstanding the resolution. I understand that strip uses _PyUnicode_IsWhitespace, and that _PyUnicode_IsWhitespace Returns 1 for Unicode characters having the bidirectional type

[issue13386] Document documentation conventions for optional args

2011-11-14 Thread Baptiste Carvello
Baptiste Carvello de...@baptiste-carvello.net added the comment: Le 14/11/2011 13:40, Ezio Melotti a écrit : 1) she naturally understood the meaning of the [opt] notation I guess this depends on her background, I've seen people trying to use [] in function calls because they saw them in

[issue13391] string.strip Does Not Remove Zero-Width-Space (ZWSP)

2011-11-14 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I think those shouldn't be considered whitespace, so they shouldn't be stripped either. Even if _PyUnicode_IsWhitespace doesn't match exactly the Unicode definition of White_Space, they both agree that ZWSP and ZWNBSP are not whitespace.

[issue13391] string.strip Does Not Remove Zero-Width-Space (ZWSP)

2011-11-14 Thread Dave Mankoff
Dave Mankoff man...@gmail.com added the comment: But why are they not a space? I mean, they literally have the word space in their name and are used as separators between words. I can't really see any reason why you wouldn't want this behavior - there's not time when I would be thankful that

[issue5819] Add PYTHONPREFIXES environment variable

2011-11-14 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: See also #1298835 and PEP 405. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5819 ___ ___

[issue1298835] Add a vendor-packages directory for system-supplied modules

2011-11-14 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: not all OSes have vendors I realized that because French is my native language, I interpret “vendor” as “seller” (the meaning of “vendeur”), but I think that in English it just means “distributor” and has no relation with selling.

[issue13402] Document absoluteness of sys.executable

2011-11-14 Thread Éric Araujo
New submission from Éric Araujo mer...@netwok.org: I wanted to know if sys.executable was always an absolute path but the doc does not talk about that. (My use case is that I’d like to reload a process and I wonder if I can call os.execve or if I need to use os.execvpe.) -- assignee:

[issue13388] document hg commit hooks in the devguide

2011-11-14 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: +1 to most of the patch, except one piece of wording: “commit message hooks”. This does not occur in the Mercurial documentation or help, and is misleading (commits happen on your maching, the hooks run on the server). I’d just use “hooks” or

[issue12629] HTMLParser silently stops parsing with malformed attributes

2011-11-14 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 3c3009f63700 by Ezio Melotti in branch '2.7': #1745761, #755670, #13357, #12629, #1200313: improve attribute handling in HTMLParser. http://hg.python.org/cpython/rev/3c3009f63700 New changeset 16ed15ff0d7c by Ezio

[issue755670] improve HTMLParser attribute processing regexps

2011-11-14 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 3c3009f63700 by Ezio Melotti in branch '2.7': #1745761, #755670, #13357, #12629, #1200313: improve attribute handling in HTMLParser. http://hg.python.org/cpython/rev/3c3009f63700 New changeset 16ed15ff0d7c by Ezio

[issue1200313] HTMLParser fails to handle charref in attribute value

2011-11-14 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 3c3009f63700 by Ezio Melotti in branch '2.7': #1745761, #755670, #13357, #12629, #1200313: improve attribute handling in HTMLParser. http://hg.python.org/cpython/rev/3c3009f63700 New changeset 16ed15ff0d7c by Ezio

[issue13357] HTMLParser parses attributes incorrectly.

2011-11-14 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 3c3009f63700 by Ezio Melotti in branch '2.7': #1745761, #755670, #13357, #12629, #1200313: improve attribute handling in HTMLParser. http://hg.python.org/cpython/rev/3c3009f63700 New changeset 16ed15ff0d7c by Ezio

[issue1745761] Bad attributes/data handling in SGMLib

2011-11-14 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 3c3009f63700 by Ezio Melotti in branch '2.7': #1745761, #755670, #13357, #12629, #1200313: improve attribute handling in HTMLParser. http://hg.python.org/cpython/rev/3c3009f63700 New changeset 16ed15ff0d7c by Ezio

[issue13249] argparse.ArgumentParser() lists arguments in the wrong order

2011-11-14 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I would not use a note directive. Notes and warnings distract and sometimes scare readers. For a simple coding recommendation like this, I think a regular paragraph would suffice. To make sure it’s not lost after pages of options

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-11-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Well, the sentinels argument, right now, is meant to be used internally. I don't think it's a good thing to document it, since I don't think it's a very clean API (I know, I introduced it :-)) - it's just so that concurrent.futures can detect

[issue1745761] Bad attributes/data handling in SGMLib

2011-11-14 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed, thanks for the report! -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed versions: +Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue755670] improve HTMLParser attribute processing regexps

2011-11-14 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed, thanks for the report! -- dependencies: -allow HTMLParser to continue after a parse error resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: +Python 2.7

[issue12629] HTMLParser silently stops parsing with malformed attributes

2011-11-14 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed, thanks for the report! Apparently the correct way to parse y z=o / is: starttag y attribute z with value attribute o with no value So this is what HTMLParser does now. -- resolution: - fixed stage: needs patch -

[issue1200313] HTMLParser fails to handle charref in attribute value

2011-11-14 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: There was actually a bug with entities in unquoted attribute values. I fixed it and added tests for all the cases (quoted and unquoted). -- versions: +Python 2.7, Python 3.3 ___ Python tracker

[issue13403] Option for XMLPRC Server to support HTTPS

2011-11-14 Thread Raymond Hettinger
New submission from Raymond Hettinger raymond.hettin...@gmail.com: The xmlrpc.client module supports secure transport using https; however, the xmlrpc.server does not have an https option. Adding this support isn't difficult. Here's an example of how to it could be implemented:

[issue13404] Add support for system.methodSignature() to XMLRPC Server

2011-11-14 Thread Raymond Hettinger
New submission from Raymond Hettinger raymond.hettin...@gmail.com: Currently, the server has a stub method that returns: 'signatures not supported'. Using the inspect module, it shouldn't be difficult to provide function/method signatures for over-the-wire introspection. --

[issue13396] new method random.getrandbytes()

2011-11-14 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- priority: normal - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13396 ___ ___

[issue2775] Implement PEP 3108

2011-11-14 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Just so people know, if the profile situation isn't resolved by 3.3 I'm considering PEP 3108 done. IOW, if anyone wants to step forward and deal with cProfile/profile, that would be appreciated. =) --

[issue2377] Replace __import__ w/ importlib.__import__

2011-11-14 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Just some notes on the branch: The FAILING file contains tests known to fail. There is a comment explaining the failure and possible fixes. If something makes it here and stays for a while it probably means upstream changes are needed (eg.

[issue6397] Implementing Solaris /dev/poll in the select module

2011-11-14 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 8f7ab4bf7ad9 by Jesus Cea in branch 'default': Issue #6397: Support '/dev/poll' polling objects in select module, under Solaris derivatives. http://hg.python.org/cpython/rev/8f7ab4bf7ad9 -- nosy:

[issue6397] Implementing Solaris /dev/poll in the select module

2011-11-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6397 ___ ___

[issue13405] Add DTrace probes

2011-11-14 Thread Jesús Cea Avión
New submission from Jesús Cea Avión j...@jcea.es: I want this to 3.3. I will concentrate in DTrace under Solaris and derivatives, for now. No SystemTap. Original details, useful for context: issue4111. My reference is going to be Solaris/OpenIndiana patches for Python DTrace support.

[issue13405] Add DTrace probes

2011-11-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- dependencies: +Add Systemtap/DTrace probes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___

[issue7732] imp.find_module crashes Python if there exists a directory named __init__.py

2011-11-14 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 555871844962 by Victor Stinner in branch '2.7': Issue #7732: Try to fix the a failing test on Windows http://hg.python.org/cpython/rev/555871844962 -- ___ Python tracker

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-11-14 Thread sbt
sbt shibt...@gmail.com added the comment: Well, the sentinels argument, right now, is meant to be used internally. I don't think it's a good thing to document it, since I don't think it's a very clean API (I know, I introduced it :-)) Wouldn't a better alternative be to have a wait

[issue13386] Document documentation conventions for optional args

2011-11-14 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: 4) she got annoyed that two completely different notations where used for two very close concepts This is a good point, and we are trying to move to the arg=default notation. Unfortunately there are still places that use the old

[issue4111] Add Systemtap/DTrace probes

2011-11-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- resolution: - out of date status: open - closed superseder: - Add DTrace probes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4111 ___

[issue13405] Add DTrace probes

2011-11-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- hgrepos: +90 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list mailing list

[issue13249] argparse.ArgumentParser() lists arguments in the wrong order

2011-11-14 Thread Roy Smith
Roy Smith r...@panix.com added the comment: Before I build another patch, would you be OK with leaving it as a note, but adding the due to the number of arguments language? There's a lot of text here, and people tend to just zoom in on the bits and pieces they need right now. I think there

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-11-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Wouldn't a better alternative be to have a wait function which can deal with readable pipe connections and integer handles? On Unix this would just delegate to select(). On Windows it could work as follows: * initiate an overlapped read

[issue2775] Implement PEP 3108

2011-11-14 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: For the stat module in the Obsolete section[1], should the entry be updated to indicate that the module was left alone (see issue 2874)? Would it be worth having the Merging C and Python Impl... section[2] include a reference to PEP

[issue13405] Add DTrace probes

2011-11-14 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +Garen, belopolsky, chrismiles, danchr, dhduvall, dmalcolm, fche, glyph, hazmat, jbaker, laca, mjw, movement, neologix, pitrou, rhettinger, robert.kern, ronaldoussoren, serverhorror, sirg3, twleung, wsanchez

[issue13391] string.strip Does Not Remove Zero-Width-Space (ZWSP)

2011-11-14 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: But why are they not a space? Because the Unicode standard says they are not. We have a good tradition in Python to follow standards where they apply, and it appears that the Unicode standard is crystal clear that the characters in

[issue13333] utf-7 inconsistent with surrogates

2011-11-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Here is a patch. -- keywords: +patch stage: - patch review Added file: http://bugs.python.org/file23686/utf7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1

[issue13404] Add support for system.methodSignature() to XMLRPC Server

2011-11-14 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +flox, loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13404 ___ ___ Python-bugs-list

[issue13401] test_argparse fails with root permissions

2011-11-14 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13401 ___ ___ Python-bugs-list

[issue13393] Improve BufferedReader.read1()

2011-11-14 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +neologix, sbt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13393 ___ ___ Python-bugs-list

[issue13389] Clear lists and dicts freelist in gc.collect()

2011-11-14 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 910986542a75 by Antoine Pitrou in branch 'default': Issue #13389: Full garbage collection passes now clear the freelists for http://hg.python.org/cpython/rev/910986542a75 -- nosy: +python-dev

[issue13406] Deprecation warnings when running the test suite

2011-11-14 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: Now that the unicode-internal codec is deprecated, the test suite spouts some warning (in test_codecs, test_codeccallbacks and test_unicode). Example: [344/361] test_codecs /home/antoine/cpython/default/Lib/test/test_codecs.py:1024:

[issue12659] Add tests for packaging.tests.support

2011-11-14 Thread Francisco Martín Brugué
Francisco Martín Brugué franci...@email.de added the comment: Hi Éric, I've mutated test_support.py a bit and now passes in https://bitbucket.org/tarek/distutils2 changeset:6c3d67ed3adb. I've added runTest to Tester, used os.unlink also removed the test fake_dec test as in support.py from

[issue13389] Clear lists and dicts freelist in gc.collect()

2011-11-14 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13389 ___

[issue13333] utf-7 inconsistent with surrogates

2011-11-14 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Can you please regenerate the patch against default's head? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1 ___

[issue13333] utf-7 inconsistent with surrogates

2011-11-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: It's a patch for 3.2. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1 ___ ___

[issue13404] Add support for system.methodSignature() to XMLRPC Server

2011-11-14 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: How do you infer the data types for the parameters? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13404 ___

[issue13391] string.strip Does Not Remove Zero-Width-Space (ZWSP)

2011-11-14 Thread Dave Mankoff
Dave Mankoff man...@gmail.com added the comment: So I contacted the Unicode Technical Committee about the issue and received a promptly received a response back. They pointed that the ZWSP was, once upon a time considered white space but that was changed in Unicode 4.0.1

[issue13333] utf-7 inconsistent with surrogates

2011-11-14 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Please don't use git-style diffs then, since otherwise the review can't figure out what the patch applies to (and neither could I figure that out). -- ___ Python tracker rep...@bugs.python.org

[issue13391] string.strip Does Not Remove Zero-Width-Space (ZWSP)

2011-11-14 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Making it a feature request would procedurally be ok. However, I'd immediately refuse that as feature creep. Use regular expressions for more advanced stripping than what the .strip method provides. --

[issue13391] string.strip Does Not Remove Zero-Width-Space (ZWSP)

2011-11-14 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: I would also object to the feature creep. -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13391 ___

[issue13333] utf-7 inconsistent with surrogates

2011-11-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Here is a non-git diff then :) -- Added file: http://bugs.python.org/file23688/utf7-nogit.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1

[issue13333] utf-7 inconsistent with surrogates

2011-11-14 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: LGTM. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1 ___ ___ Python-bugs-list

[issue4147] xml.dom.minidom toprettyxml: omit whitespace for text-only elements

2011-11-14 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4147 ___

[issue13333] utf-7 inconsistent with surrogates

2011-11-14 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset ddfcb0de564f by Antoine Pitrou in branch '3.2': Issue #1: The UTF-7 decoder now accepts lone surrogates http://hg.python.org/cpython/rev/ddfcb0de564f New changeset 250091e60f28 by Antoine Pitrou in branch

[issue13333] utf-7 inconsistent with surrogates

2011-11-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I made a little fix to the patch for wide unicode builds and then committed it. Thank you! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker

[issue1298835] Add a vendor-packages directory for system-supplied modules

2011-11-14 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: In English also, to vend is to sell, direct from Fr. *vendre*. However, ideas are not necessarily sold for money, but for assent, adoption, or other action. My dictionary has 'publish' as a secondary meaning of vend. So 'vendor-packages' is

[issue13249] argparse.ArgumentParser() lists arguments in the wrong order

2011-11-14 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I agree with Eric both as to placement (first paragraph) and wording (with explanation). I don't have time to review otherwise at the moment. -- ___ Python tracker rep...@bugs.python.org

[issue13380] ctypes: add an internal function for reseting the ctypes caches

2011-11-14 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: - you duplicated the part with CFUNCTYPE(c_int)(lambda: None) without removing the original chunk of code - some platforms can't compile ctypes, you must handle that case in regrtest Both fixed. Thanks for the review. Second patch

[issue13405] Add DTrace probes

2011-11-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- keywords: +patch Added file: http://bugs.python.org/file23690/05fde8943685.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2011-11-14 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Based on work done by skip.montanaro for issue4111. 05fde8943685.diff compiles correctly under Solaris 10 derivatives, both in 32 and 64 bits. I am working on 2.7 because I consider this feature important enough for providing a patch against

[issue13405] Add DTrace probes

2011-11-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Added file: http://bugs.python.org/file23691/1563b5a70362.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13386] Document documentation conventions for optional args

2011-11-14 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: So would it be worth the effort to identify each such place in the built-ins/stdlib and eventually change them all? I've seen support for doing so in other tracker issues and think it's a good idea personally. Probably, if this will bring

[issue4147] xml.dom.minidom toprettyxml: omit whitespace for text-only elements

2011-11-14 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: I would revert this patch (leaving several test cases though) until a proper fix is available. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4147