[issue16792] Mark small ints test as CPython-only

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue16796] Fix argparse docs typo: "an special action" to "a special action"

2012-12-27 Thread Michael Schurter
New submission from Michael Schurter: Title says it all; patch has the fix. No need for an ACKS entry -- files: argparse-docs-typo.patch keywords: patch messages: 178348 nosy: schmichael priority: normal severity: normal status: open title: Fix argparse docs typo: "an special action" to

[issue16796] Fix argparse docs typo: "an special action" to "a special action"

2012-12-27 Thread Michael Schurter
Changes by Michael Schurter : -- assignee: -> docs@python components: +Documentation nosy: +docs@python ___ Python tracker ___ ___ Py

[issue16796] Fix argparse docs typo: "an special action" to "a special action"

2012-12-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset c1623a032adf by Ezio Melotti in branch '2.7': #16796: fix typo. Patch by Michael Schurter. http://hg.python.org/cpython/rev/c1623a032adf New changeset f348a3110a85 by Ezio Melotti in branch '3.2': #16796: fix typo. Patch by Michael Schurter. http:

[issue16796] Fix argparse docs typo: "an special action" to "a special action"

2012-12-27 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! -- assignee: docs@python -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> enhancement versions: +Python 2.7, Python 3.2, Python 3.3, Python

[issue16797] sporadic test_faulthandler failure

2012-12-27 Thread Antoine Pitrou
New submission from Antoine Pitrou: http://buildbot.python.org/all/builders/AMD64%20Mountain%20Lion%20%5BSB%5D%203.x/builds/631 == FAIL: test_dump_traceback_later_file (test.test_faulthandler.FaultHandlerTests) -

[issue16797] sporadic test_faulthandler failure

2012-12-27 Thread Ezio Melotti
Ezio Melotti added the comment: Duplicate of #15971. -- nosy: +ezio.melotti resolution: -> duplicate stage: needs patch -> committed/rejected status: open -> closed superseder: -> Sporadic failure in test_dump_tracebacks_later_file (test_faulthandler)

[issue16798] DTD not checked

2012-12-27 Thread Javier Domingo
New submission from Javier Domingo: Hi, I am trying to find any tip on how to use minidom or etree xml implementations to check the xml syntax. I just found that the only way to check xml syntax throught dtds is using lxml. Would it be possible to implement this in the minidom or ElementTree

[issue15324] --fromfile, --match, and --randomize don't work in regrtest

2012-12-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset b7a0e03bb987 by Chris Jerdonek in branch '2.7': Issue #15324: Fix regrtest parsing of --fromfile and --randomize options. http://hg.python.org/cpython/rev/b7a0e03bb987 New changeset b2cd12690a51 by Chris Jerdonek in branch '3.2': Issue #15324: Fix r

[issue15324] --fromfile, --match, and --randomize don't work in regrtest

2012-12-27 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed type: enhancement -> behavior ___ Python tracker ___ ___

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

2012-12-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6e2e5adc0400 by Chris Jerdonek in branch 'default': Issue #15302: Switch regrtest from using getopt to using argparse. http://hg.python.org/cpython/rev/6e2e5adc0400 -- nosy: +python-dev ___ Python tracker

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

2012-12-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks again for your reviews, Benjamin (and others). I created issue 16799 for the next phase of this process: changing regrtest.main() from operating on getopt-style parsed options to an argparse Namespace object. -- resolution: -> fixed stage: pat

[issue16799] switch regrtest from getopt-style options to argparse Namespace object

2012-12-27 Thread Chris Jerdonek
New submission from Chris Jerdonek: Issue 15302 switched regrtest from getopt to argparse for parsing options. However, regrtest.main() still expects and operates on getopt-style options. This issue is to continue the regrtest refactoring and replace the use of getopt-style options with an ar

[issue16799] switch regrtest from getopt options to argparse Namespace

2012-12-27 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- title: switch regrtest from getopt-style options to argparse Namespace object -> switch regrtest from getopt options to argparse Namespace ___ Python tracker

[issue16641] sched.scheduler.enter arguments should not be modifiable

2012-12-27 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Patch looks fine to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16640] Less code under lock in sched.scheduler

2012-12-27 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Patch looks fine to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10848] Move test.regrtest from getopt to argparse

2012-12-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Since regrtest is now using argparse (as of 6e2e5adc0400), is there a reason to keep this issue open? Or should the issue be retitled (current title: "Move test.regrtest from getopt to argparse")? There seem to be some thoughts in the comments that are broad

[issue16165] sched.scheduler.run() blocks scheduler

2012-12-27 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Sorry for chiming in so late. The patch looks fine to me. -- ___ Python tracker ___ ___ Python-bu

[issue16795] Patch: some changes to AST to make it more useful for static language analysis

2012-12-27 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue16800] tempfile._get_default_tempdir() leaves files behind when HD is full

2012-12-27 Thread Amir Szekely
New submission from Amir Szekely: tempfile._get_default_tempdir() tries to find a good temporary directory by attempting to create a file and write a string into it for all candidate directories. It deletes those files right after closing them. But if writing rather than creating them fails, t

[issue14834] A list of broken links on the python.org website

2012-12-27 Thread Ned Deily
Ned Deily added the comment: Benjamin, do you have an opinion about the missing .asc files for the 3.1.x releases? If not, this issue should be closed. -- ___ Python tracker __

[issue14834] A list of broken links on the python.org website

2012-12-27 Thread Benjamin Peterson
Benjamin Peterson added the comment: Considering 3.1.4 is outdated even in the 3.1 series, I think we can let it slide. -- resolution: -> works for me status: open -> closed ___ Python tracker ___

[issue16800] tempfile._get_default_tempdir() leaves files behind when HD is full

2012-12-27 Thread Amir Szekely
Amir Szekely added the comment: Reproduction details: [root@meh /]# uname -a Linux meh 2.6.32-131.17.1.el6-0.0.3.smp.pae.gcc4.1.x86.i686 #1 SMP Tue Dec 20 02:40:22 PST 2011 i686 GNU/Linux [root@meh /]# pwd / [root@meh /]# dd if=/dev/zero of=/tmp/BIG bs=4M dd: writing `/tmp/BIG': No space left o

[issue16800] tempfile._get_default_tempdir() leaves files behind when HD is full

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- components: +Library (Lib) -Extension Modules stage: -> patch review versions: -Python 2.6, Python 3.1, Python 3.5 ___ Python tracker ___ _

[issue16761] Fix int(base=X)

2012-12-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16791] itertools.chain.from_iterable doesn't stop

2012-12-27 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue16486] Add context manager support to aifc module

2012-12-27 Thread Georg Brandl
Georg Brandl added the comment: The "self.fout.close()" is not needed here I think. Another thing the test should test is that the file was actually closed on exception. Otherwise, LGTM. -- nosy: +georg.brandl ___ Python tracker

[issue16485] FD leaks in aifc module

2012-12-27 Thread Georg Brandl
Georg Brandl added the comment: Looks good to me, except: the patch contains unrelated whitespace changes. Please don't commit them along the fix. If you think they are really necessary, they should go in a separate commit. -- nosy: +georg.brandl

[issue16791] itertools.chain.from_iterable doesn't stop

2012-12-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: This isn't a bug. It is an intended feature that chain.from_iterable evaluates lazily (and is documented as such). The pure python equivalent in the docs behaves the same as the C version does. Also, it is a long standing feature of lists that you can loo

[issue1470548] Bugfix for #1470540 (XMLGenerator cannot output UTF-16)

2012-12-27 Thread Georg Brandl
Georg Brandl added the comment: I'd like Antoine to have a look at all that io stuff. It looks quite bloated. In your except clause, you're not calling self._close. -- nosy: +pitrou ___ Python tracker __

[issue13454] crash when deleting one pair from tee()

2012-12-27 Thread Georg Brandl
Georg Brandl added the comment: The patch replaces a Py_CLEAR(tdo->nextlink) with a construct that does, basically, something like this several times: Py_DECREF(tdo->nextlink) tdo->nextlink which is what leads to the issues that Py_CLEAR is supposed to prevent. Therefore I think this pat

[issue16761] Fix int(base=X)

2012-12-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't think a backport is appropriate for this kind of change. -- nosy: +rhettinger versions: -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker _

<    1   2