[issue14019] Unify tests for str.format and string.Formatter

2012-02-15 Thread Nick Coghlan
New submission from Nick Coghlan ncogh...@gmail.com: A couple of issues have arisen where features were added to str.format without similarly being added to string.Formatter. This is only possible because the test cases for the two are currently almost entirely separate. A common set of

[issue13579] string.Formatter doesn't understand the !a conversion specifier

2012-02-15 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Agreed that this is a bug in string.Formatter rather than a new feature. There's already a separate bug for the autonumbering problem: http://bugs.python.org/issue13598 And I created a new issue about unifying some of the tests:

[issue10112] Use -Wl, --dynamic-list=x.list, not -Xlinker -export-dynamic

2012-02-15 Thread Jan Kratochvil
Jan Kratochvil jan.kratoch...@redhat.com added the comment: What more can be done to get it fixed? I do not mind Python but GDB linking is broken due to it. And while I can workaround it in GDB I am not used for workarounding one Free package in another Free package. Free software has the

[issue13703] Hash collision security issue

2012-02-15 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Frankly, other short strings may give away even more, because you can put several into the same dict. Please don't make such claims without some reasonable security analysis: how *exactly* would you derive the hash seed when you have the

[issue14001] CVE-2012-0845 Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST request

2012-02-15 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: As a security issue, it applies to 2.6 and 3.1 as well. -- versions: +Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14001

[issue13598] string.Formatter doesn't support empty curly braces {}

2012-02-15 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: One potential problem with the simple approach to fixing this is that up until now, string.Formatter has been thread safe. Because all the formatting state was held in local variables and passed around as method arguments, there was no state

[issue13987] Handling of broken markup in HTMLParser on 2.7

2012-02-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 11a31eb5da93 by Ezio Melotti in branch '2.7': #13987: HTMLParser is now able to handle EOFs in the middle of a construct. http://hg.python.org/cpython/rev/11a31eb5da93 -- nosy: +python-dev

[issue13987] Handling of broken markup in HTMLParser on 2.7

2012-02-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 3d7904e3f4b9 by Ezio Melotti in branch '2.7': #13987: HTMLParser is now able to handle malformed start tags. http://hg.python.org/cpython/rev/3d7904e3f4b9 -- ___ Python

[issue14019] Unify tests for str.format and string.Formatter

2012-02-15 Thread Eric V. Smith
Changes by Eric V. Smith e...@trueblade.com: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14019 ___ ___ Python-bugs-list

[issue13987] Handling of broken markup in HTMLParser on 2.7

2012-02-15 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: This should be fixed now. The first two chunks of the attached patch have been committed in the two changesets linked in the previous messages. The third chunk about the end tag has been fixed as part of #13933. The error previously

[issue14020] Improve HTMLParser doc

2012-02-15 Thread Ezio Melotti
New submission from Ezio Melotti ezio.melo...@gmail.com: Attached patch reworks a bit the HTMLParser doc: - moved the basic example on the top and showed the output; - added a more complete parser with other examples; - fixed some factual errors; - added additional information for some

[issue7644] bug in nntplib.body() method with possible fix

2012-02-15 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx added the comment: I have also added a test for NTTP.head(), enjoy. -- keywords: +patch Added file: http://bugs.python.org/file24524/nntp-file-test.diff ___ Python tracker rep...@bugs.python.org

[issue14015] surrogateescape largely missing from documentation

2012-02-15 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14015 ___ ___ Python-bugs-list

[issue14004] Distutils filelist selects too many files on Windows

2012-02-15 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: It's not that I forgot to set DISTUTILS_DEBUG, I simply did not set it. If the bug were still present, I would have seen a line indicating that .hg/last-message.txt was being copied. For completeness, here's the output with the DEBUG

[issue14004] Distutils filelist selects too many files on Windows

2012-02-15 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: So it looks like that even if the exclusion of .hg removes .hg/last-message.txt, it should not have been added in the first place, as the command was include and not recursive-include. At first glance, Nadeem’s proposed fix is not right: paths

[issue12297] Clarifications to atexit.register and unregister doc

2012-02-15 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks. I’ve also realized that the doc does not mention that any callable can be used; I don’t know if we should say it explicitly (I think I did a change like that recently in another file), or if we expect people to just know it from

[issue14020] Improve HTMLParser doc

2012-02-15 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Didn’t review in detail but the plan LGTM. In a subsequent commit, you could update the markup to use nested class/method directives. -- ___ Python tracker rep...@bugs.python.org

[issue12297] Clarifications to atexit.register and unregister doc

2012-02-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 55fc092dad72 by Éric Araujo in branch '3.2': Improve doc for atexit.register and unregister (#12297) http://hg.python.org/cpython/rev/55fc092dad72 New changeset f7163afecb97 by Éric Araujo in branch 'default': Merge

[issue1326113] Letting build_ext --libraries take more than one lib

2012-02-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 53df93a9c002 by Éric Araujo in branch '3.2': Fix parsing of build_ext --libraries option (#1326113) http://hg.python.org/cpython/rev/53df93a9c002 New changeset f7163afecb97 by Éric Araujo in branch 'default': Merge

[issue1326113] Letting build_ext --libraries take more than one lib

2012-02-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 96f5718bf005 by Éric Araujo in branch '2.7': Fix parsing of build_ext --libraries option (#1326113) http://hg.python.org/cpython/rev/96f5718bf005 -- ___ Python tracker

[issue12297] Clarifications to atexit.register and unregister doc

2012-02-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset a99632426af5 by Éric Araujo in branch '2.7': Improve doc for atexit.register (#12297) http://hg.python.org/cpython/rev/a99632426af5 -- ___ Python tracker

[issue1326113] Letting build_ext --libraries take more than one lib

2012-02-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 4ba43318e56b by Éric Araujo in branch 'default': Fix parsing of packaging’s build_ext --libraries option (#1326113) http://hg.python.org/cpython/rev/4ba43318e56b -- ___

[issue1326113] Letting build_ext --libraries take more than one lib

2012-02-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 60dd0041c9bc by Éric Araujo in branch 'default': Fix parsing of build_ext --libraries option (#1326113) http://hg.python.org/distutils2/rev/60dd0041c9bc New changeset 158697fd8fa1 by Éric Araujo in branch 'python3':

[issue1326113] Letting build_ext --libraries take more than one lib

2012-02-15 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Here you are! Thanks for the testing. -- resolution: - fixed stage: test needed - committed/rejected status: open - closed versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue12297] Clarifications to atexit.register and unregister doc

2012-02-15 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Closing as fixed, but if you have any feedback on my function vs. callable question, please share. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python

[issue14021] Write pkg_info with local encoding(GBK) will be a problem.

2012-02-15 Thread 勇刚 罗
New submission from 勇刚 罗 luoyongg...@gmail.com: D:\CI\bld\vcs\pygit2python setup.py install Find C:\Python32\python.exe Using C:\Python32\python.exe running install running bdist_egg running egg_info writing pygit2.egg-info\PKG-INFO Traceback (most recent call last): File setup.py, line 106,

[issue14021] Write pkg_info with local encoding(GBK) will be a problem.

2012-02-15 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Hi. This code was changed to use UTF-8 as you recommend. The next version of Python 3.2 should have the fix. You can get this version from hg.python.org (see instructions in the devguide) and see if your problem is gone. Thanks for the

[issue13913] utf-8 or utf8 or utf-8 (codec display name inconsistency)

2012-02-15 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: You need to update test_pep3120: http://www.python.org/dev/buildbot/all/builders/AMD64%20Gentoo%20Wide%203.2/builds/910/steps/test/logs/stdio/text -- nosy: +eric.araujo ___ Python tracker

[issue1326113] Letting build_ext --libraries take more than one lib

2012-02-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 77ac369fbbf1 by Éric Araujo in branch '3.2': Fix test failure for shared builds caused by #1326113 fix http://hg.python.org/cpython/rev/77ac369fbbf1 -- ___ Python tracker

[issue14022] bug in pkgutil.py with suggested fix

2012-02-15 Thread Don Caldwell
New submission from Don Caldwell dfw...@gmail.com: in iter_modules there is a loop for fn in os.listdir(path): that can fail on an OSError exception. here is a patch try: for fn in os.listdir(path): subname = inspect.getmodulename(fn)

[issue1326113] Letting build_ext --libraries take more than one lib

2012-02-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 98fb1c0fc7a0 by Éric Araujo in branch 'default': Fix for packaging test failure on shared builds (#1326113) http://hg.python.org/cpython/rev/98fb1c0fc7a0 -- ___ Python

[issue1326113] Letting build_ext --libraries take more than one lib

2012-02-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset db1c52aa4d2a by Éric Araujo in branch '2.7': Fix test failure for shared builds caused by #1326113 fix http://hg.python.org/cpython/rev/db1c52aa4d2a -- ___ Python tracker

[issue14023] bytes implied to be mutable

2012-02-15 Thread Роман Донченко
New submission from Роман Донченко dxdra...@yandex.ru: The language reference in section 5.2.2 states: ~ With the exception of bytes literals, these all correspond to immutable data types, ... ~ But bytes objects are immutable as well. -- assignee: docs@python components:

[issue14019] Unify tests for str.format and string.Formatter

2012-02-15 Thread Francisco Martín Brugué
Changes by Francisco Martín Brugué franci...@email.de: -- nosy: +francismb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14019 ___ ___

[issue7644] bug in nntplib.body() method with possible fix

2012-02-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset f1401d20bc6d by Antoine Pitrou in branch '3.2': Issue #7644: Add tests for the file argument of NNTP.head() and NNTP.body(). http://hg.python.org/cpython/rev/f1401d20bc6d New changeset 096b31e0f8ea by Antoine Pitrou

[issue7644] bug in nntplib.body() method with possible fix

2012-02-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Thank you! Closing now. -- resolution: - fixed stage: test needed - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7644

[issue14024] logging.Formatter Cache Prevents Exception Format Overriding

2012-02-15 Thread James Lekas
New submission from James Lekas le...@sonic.net: logging.Formatter.format() creates a cache called exc_text with a copy of the traceback text which it uses for all log handlers (I think). When this cache is set, format() does not call formatException to format the exception/traceback data.

[issue13579] string.Formatter doesn't understand the !a conversion specifier

2012-02-15 Thread Francisco Martín Brugué
Francisco Martín Brugué franci...@email.de added the comment: I have updated the patch with the documentation changes proposed and also added a news entry (does a new entry has to be added in some order?). Thank for the review in advance. -- Added file:

[issue14022] bug in pkgutil.py with suggested fix

2012-02-15 Thread Ned Deily
Ned Deily n...@acm.org added the comment: This issue was recently fixed by the changes for Issue7367 and will be released in Python 2.7.3 and 3.2.3. Python 2.6 no longer receives bug fixes, only security fixes. -- nosy: +ned.deily resolution: - out of date stage: -

[issue14004] Distutils filelist selects too many files on Windows

2012-02-15 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: At first glance, Nadeem’s proposed fix is not right: paths in MANIFEST.in use '/', but then filelist produces paths using os.sep, so that the MANIFEST file and other operations done by the sdist command use native paths. So even

[issue13579] string.Formatter doesn't understand the !a conversion specifier

2012-02-15 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I just noticed two more minor errors that were and remain in It takes a format string, and an arbitrary set of positional and keyword argument. Remove the comma and make 'argument' plural. As near as I can tell, the two change block beginning

[issue13579] string.Formatter doesn't understand the !a conversion specifier

2012-02-15 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: However, I have not actually applied and run test_string.py. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13579 ___

[issue14001] CVE-2012-0845 Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST request

2012-02-15 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: The test fails on 2.6 and 2.7, because of a EPIPE, which is normal in this case (well, at least expected): test_partial_post (test.test_xmlrpc.SimpleServerTestCase) ... Exception happened during

[issue13491] Fixes for sqlite3 doc

2012-02-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9eb77d455be1 by Petri Lehtinen in branch '3.2': Issue #13491: Fix many errors in sqlite3 documentation http://hg.python.org/cpython/rev/9eb77d455be1 New changeset ba5b337ecc27 by Petri Lehtinen in branch 'default':

[issue13491] Fixes for sqlite3 doc

2012-02-15 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: Éric: You can make a patch for 2.7 if you want to, I left the issue open. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13491 ___

[issue14019] Unify tests for str.format and string.Formatter

2012-02-15 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/issue14019 ___ ___ Python-bugs-list

[issue14025] unittest.TestCase.assertEqual does not show diff when comparing str with unicode

2012-02-15 Thread Jaap Karssenberg
New submission from Jaap Karssenberg jaap.karssenb...@gmail.com: When you compare two multiline strings with unittest.TestCase.assertEqual it is supposed to dispatch to assertMultiLineEqual and show a diff when the strings differ. However this only works for two string of the same type (str

[issue14025] unittest.TestCase.assertEqual does not show diff when comparing str with unicode

2012-02-15 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The latter is arguably a bug. The former is working as designed, as far as I know. In Python3 bytes and string do not compare equal. -- nosy: +michael.foord, r.david.murray ___ Python

[issue14025] unittest.TestCase.assertEqual does not show diff when comparing str with unicode

2012-02-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14025 ___ ___

[issue13849] Add tests for NUL checking in certain strs

2012-02-15 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: See also issue #13617. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13849 ___

[issue13913] utf-8 or utf8 or utf-8 (codec display name inconsistency)

2012-02-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 5b8f146103fa by Victor Stinner in branch '3.2': Issue #13913: Fix test_pep3120 for the UTF-8 codec name http://hg.python.org/cpython/rev/5b8f146103fa New changeset 170a224ce01e by Victor Stinner in branch 'default':

[issue13014] _ssl.c: refleak

2012-02-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset f3a4c2b34973 by Antoine Pitrou in branch '3.2': Issue #13014: Fix a possible reference leak in SSLSocket.getpeercert(). http://hg.python.org/cpython/rev/f3a4c2b34973 New changeset 9ab501b3e22d by Antoine Pitrou in

[issue13014] _ssl.c: refleak

2012-02-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I've fixed the actual leak. Thanks! -- nosy: +pitrou resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue14025] unittest.TestCase.assertEqual does not show diff when comparing str with unicode

2012-02-15 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: In case it isn't clear, by arguably a bug I mean in a theoretical sense. Even if Michael agrees with me we can't change the fact that 2.7 unittest treats str and unicode with the same content as equal. For the other it might have been

[issue13817] deadlock in subprocess while running several threads using Popen

2012-02-15 Thread Doug Hellmann
Changes by Doug Hellmann doug.hellm...@gmail.com: -- nosy: +doughellmann ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13817 ___ ___

[issue13090] test_multiprocessing: memory leaks

2012-02-15 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Yes, the leak does not seem to be in posix_read() itself. Sadly enough, the number of leaks in test_multiprocessing has grown to five in e9d01c5c92ed (the four additional ones were definitely not present when I reported this). ==3047==

[issue13090] test_multiprocessing: memory leaks

2012-02-15 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Stefan Krah rep...@bugs.python.org wrote: enough, the number of leaks in test_multiprocessing has grown to five in e9d01c5c92ed (the four additional ones were definitely not To be sure, e9d01c5c92ed is completely innocent. I just

[issue13090] test_multiprocessing: memory leaks

2012-02-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The first one seems to be the import lock. Two others seem to be the internal bootstate structure used to run thread objects (daemon threads?). Perhaps you could try to find whether a single test is responsible. -- nosy: +neologix

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2012-02-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 3b127a415643 by Sandro Tosi in branch '2.7': Issue #11836: document multiprocessing.queues.SimpleQueue http://hg.python.org/cpython/rev/3b127a415643 New changeset fe5eb6d35025 by Sandro Tosi in branch '3.2': Issue

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2012-02-15 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Thanks for all you inputs! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11836

[issue13913] utf-8 or utf8 or utf-8 (codec display name inconsistency)

2012-02-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 824ddf6a30f2 by Victor Stinner in branch '3.2': Issue #13913: Another fix test_pep3120 for the UTF-8 codec name http://hg.python.org/cpython/rev/824ddf6a30f2 New changeset 2cfba214c243 by Victor Stinner in branch

[issue7652] Merge C version of decimal into py3k.

2012-02-15 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: I tried my timestamp patch with _decimal: it fails because decimal and _decimal API is not exactly the same. decimal.Decimal.__truediv__() has an optional context argument, whereas _decimal defines PyNumberMethods.

[issue14026] test_cmd_line_script should include more sys.argv checks

2012-02-15 Thread Nick Coghlan
New submission from Nick Coghlan ncogh...@gmail.com: Currently, test_cmd_line_script only checks sys.argv[0] is set correctly. It should pass some extra values after the script name, then include an appropriate check in the output of the launched script. -- components: Tests keywords:

[issue14025] unittest.TestCase.assertEqual does not show diff when comparing str with unicode

2012-02-15 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: assertEqual uses Python equality semantics - so if a str instance and a unicode instance compare equal then assertEqual passes. This is by design. The type check in assertEqual, that delegates to the different comparison methods, is

[issue7897] Support parametrized tests in unittest

2012-02-15 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: I just remembered that many of the urllib.urlparse tests are guilty of only reporting the first case that fails, instead of testing everything and reporting all failures: http://hg.python.org/cpython/file/default/Lib/test/test_urlparse.py

[issue8604] Adding an atomic FS write API

2012-02-15 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I'm opposed to adding atomic files to the standard library. This has nothing to do with the original issue; anybody contributing to the issue is making up user needs that have not been sufficiently demonstrated. It would be best to release

[issue7897] Support parametrized tests in unittest

2012-02-15 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: FWIW I think nose2 is going to have test load time parameterized tests rather than run time parameterized tests, which is what I think we should do for unit test. The API should be as simple as possible for basic cases, but suitable

[issue14026] test_cmd_line_script should include more sys.argv checks

2012-02-15 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo stage: - test needed type: - enhancement versions: +Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14026

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-02-15 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Emitting a deprecation warning on importing cElementTree has been rejected in the pydev list. The other remaining tasks have new issues on them, so this issue is done now. -- ___ Python tracker

[issue14009] Clearer documentation for cElementTree

2012-02-15 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Éric, indeed it clarifies the usage, but my concern is that it also moves the first mention of the module further down. There's no real reason for someone using CPython 2.7 or 3.2 *not* to use cET. So, some mention should appear in the opening

[issue14009] Clearer documentation for cElementTree

2012-02-15 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Also, I must add that I absolutely hate the opening paragraph of the documentation in this module. Once 14006 is implemented, parts of it should be backported to 2.7 and 3.2 That would be an orthogonal change to what we're discussion here,

[issue14023] bytes implied to be mutable

2012-02-15 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- nosy: +eli.bendersky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14023 ___ ___ Python-bugs-list

[issue14009] Clearer documentation for cElementTree

2012-02-15 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: +1. Barring other feedback, I will commit your patch. Also, I must add that I absolutely hate the opening paragraph of the documentation in this module. This: The :class:`Element` type is a flexible container object, designed to store

[issue14009] Clearer documentation for cElementTree

2012-02-15 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: If you want to collect additional feedback, you may want to add some other people to the Nosy list :-) Alternatively, since it's a small doc change you can just commit it and it can be fixed later if someone strongly objects. This: The

[issue13089] parsetok.c: memory leak

2012-02-15 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Stefan, how did you reproduce this? I tried: 1. Uncommenting '#define Py_USING_MEMORY_DEBUGGER' in 'Objects/obmalloc.c'. 2. Configuring with './configure --without-pymalloc'. 3. Running 'valgrind --tool=memcheck --log-file=leaks.txt

[issue10112] Use -Wl, --dynamic-list=x.list, not -Xlinker -export-dynamic

2012-02-15 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: When I try to build with the attached patch on the 2.7 branch many (if not all) of the modules fail to build: Failed to build these modules: _bisect_bsddb _codecs_cn _codecs_hk _codecs_iso2022_codecs_jp

[issue13959] Re-implement parts of imp in pure Python

2012-02-15 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13959 ___ ___ Python-bugs-list

[issue13977] importlib simplification

2012-02-15 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13977 ___ ___ Python-bugs-list

[issue13970] frameobject should not have f_yieldfrom attribute

2012-02-15 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13970 ___ ___ Python-bugs-list

[issue13938] 2to3 fails to convert types.StringTypes appropriately

2012-02-15 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13938 ___ ___ Python-bugs-list

[issue14027] distutils2 lack of pysetup.bat

2012-02-15 Thread 勇刚 罗
New submission from 勇刚 罗 luoyongg...@gmail.com: Patch attaced. -- assignee: tarek components: Distutils2 files: pysetup.bat messages: 153460 nosy: alexis, eric.araujo, tarek, 勇刚.罗 priority: normal severity: normal status: open title: distutils2 lack of pysetup.bat versions: Python 2.6,

[issue6210] Exception Chaining missing method for suppressing context

2012-02-15 Thread Ethan Furman
Ethan Furman et...@stoneleaf.us added the comment: Remaining problems: - default sys.excepthook implementation currently does the wrong thing Unable to duplicate on my system (Win XP SP3) - needs a test for the pythonrun display logic (test_cmd_line_script would be the appropriate place)

[issue13972] set and frozenset constructors don't accept multiple iterables

2012-02-15 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: Ok, closing because of lack of support for the idea. -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13972

[issue13922] argparse handling multiple -- in args improperly

2012-02-15 Thread Warren Turkal
Warren Turkal w...@penguintechs.org added the comment: Using argparse.REMAINDER will not help for my problem in my real program as the first arg needs to be handled by my program and mapped into the real binary name. If I recall correctly from memory, the following is what happened when I

[issue14028] random.choice hits ValueError: cannot convert float NaN to integer

2012-02-15 Thread Gregory P. Smith
New submission from Gregory P. Smith g...@krypto.org: Using a 32-bit Python 2.6.5 on a Linux system at work we observed the following: File /.../lib/python2.6/tempfile.py, line 349, in mktemp name = names.next() File /.../lib/python2.6/tempfile.py, line 134, in next letters =