[issue16924] try: except: ordering error

2013-01-10 Thread R. David Murray
R. David Murray added the comment: Print b happens when the interpreter is processing the loop condition for loop c. print c happens when it is processing the body of the loop (ie: is inside the try/except in the body of the loop). Presumably if you set your keyboard autorepeat interval shor

[issue16919] Fix test discovery for test_crypt.py

2013-01-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 15ddd683c321 by Ezio Melotti in branch '3.3': #16919: test_crypt now works with unittest test discovery. Patch by Zachary Ware. http://hg.python.org/cpython/rev/15ddd683c321 New changeset 5345f515e03b by Ezio Melotti in branch 'default': #16919: me

[issue16919] Fix test discovery for test_crypt.py

2013-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! I tested it with and without crypt and with and without test discovery and all the combinations seem to work fine. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed

[issue16925] Fix test discovery for test_configparser.py

2013-01-10 Thread Zachary Ware
Changes by Zachary Ware : -- components: Tests files: test_configparser_discovery.diff keywords: patch nosy: brett.cannon, ezio.melotti, zach.ware priority: normal severity: normal status: open title: Fix test discovery for test_configparser.py type: behavior versions: Python 3.3, Python

[issue16919] Fix test discovery for test_crypt.py

2013-01-10 Thread Zachary Ware
Zachary Ware added the comment: I was just about to test it at home and couldn't find it in my list of open issues. Thanks, Ezio :) -- ___ Python tracker ___ __

[issue16918] Fix test discovery for test_codecs.py

2013-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: FTR, the failure you saw while switching to unittest.main() seems to be caused by a broken test that wasn't run. Unittest test discovery simply revealed the problem -- I'm working on it. -- ___ Python tracker

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

2013-01-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: Ah, yes. This is part of the annoying inconsistency in our asdl framework. Here's what I think should happen: - on arguments, vararg and kwarg should get the "arg" type, killing some of the numerous fields on arguments - asdl needs to be hacked, so "arg" can

[issue16918] Fix test discovery for test_codecs.py

2013-01-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 11e7d0936fa2 by Ezio Melotti in branch '3.3': #16918: test_codecs now works with unittest test discovery. Patch by Zachary Ware. http://hg.python.org/cpython/rev/11e7d0936fa2 New changeset 02180599a99f by Ezio Melotti in branch 'default': #16918: m

[issue16918] Fix test discovery for test_codecs.py

2013-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! Apparently the broken test was ported from Python 2 to Python 3 in 4747ef9640ae (back in the SVN days), but the name of the test class was not added to the list of tests in test_main. Without the test class in the list, the test was

[issue16926] setup.py register does not always respect --repository

2013-01-10 Thread Chris Jerdonek
New submission from Chris Jerdonek: $ python setup.py --dry-run register --repository http://testpypi.python.org/pypi ... Registering Foo to http://pypi.python.org/pypi Server response (200): OK This is with a .pypirc file with a [server-login] section. It seems like this can cause unintended

[issue16925] Fix test discovery for test_configparser.py

2013-01-10 Thread Roundup Robot
New submission from Roundup Robot: New changeset 7dbdd7204d0a by Ezio Melotti in branch '3.3': #16925: test_configparser now works with unittest test discovery. Patch by Zachary Ware. http://hg.python.org/cpython/rev/7dbdd7204d0a New changeset 680a855ec91e by Ezio Melotti in branch 'default': #

[issue16926] setup.py register does not always respect --repository

2013-01-10 Thread Éric Araujo
Éric Araujo added the comment: I think this is a duplicate, could you check? -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue16925] Fix test discovery for test_configparser.py

2013-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: -> ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker _

[issue16926] setup.py register does not always respect --repository

2013-01-10 Thread Chris Jerdonek
Chris Jerdonek added the comment: I did before and double-checked again. I searched for "setup repository" and "register repository," for example. Issue 16926 seemed the most similar, but appears to be different. -- ___ Python tracker

[issue8840] truncate() semantics changed in 3.1.2

2013-01-10 Thread Ezio Melotti
Changes by Ezio Melotti : -- versions: +Python 3.3, Python 3.4 -Python 2.6, Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bu

[issue16926] setup.py register does not always respect --repository

2013-01-10 Thread Chris Jerdonek
Chris Jerdonek added the comment: This is in part because register.run() calls self._set_config() after calling self.finalize_options(): http://hg.python.org/cpython/file/680a855ec91e/Lib/distutils/command/register.py#l43 And _set_config() doesn't seem to look at already-finalized options. --

[issue16926] setup.py register does not always respect --repository

2013-01-10 Thread Chris Jerdonek
Chris Jerdonek added the comment: > Issue 16926 seemed the most similar, but appears to be different. I meant issue 13615. It is different but is also about --repository. -- ___ Python tracker ___

[issue12901] Nest class/methods directives in documentation

2013-01-10 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti type: -> enhancement versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-li

[issue16874] setup.py upload option repeated in docs

2013-01-10 Thread Chris Jerdonek
Chris Jerdonek added the comment: I will take care of this (formatting issue). -- assignee: eric.araujo -> chris.jerdonek ___ Python tracker ___ _

[issue16927] Separate built-in types from functions and group similar functions in functions.rst

2013-01-10 Thread Ezio Melotti
New submission from Ezio Melotti: http://docs.python.org/3/library/functions.html currently lists all the builtin objects. This include two main groups that should be separated in two different sections: built-in types and functions. In addition, similar/related functions should be grouped tog

[issue13963] dev guide has no mention of mechanics of patch review

2013-01-10 Thread Chris Jerdonek
Chris Jerdonek added the comment: I asked on the Mercurial tracker about suppressing git-style diffs when git is configured on, and there is a work-around: http://bz.selenic.com/show_bug.cgi?id=3761 We could mention this in the devguide somewhere (e.g. in a FAQ about how to use Rietveld with

[issue16851] Hint about correct ismethod and isfunction usage

2013-01-10 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +chris.jerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue16748] Make CPython test package discoverable

2013-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: > There are tests outside of Lib/test/ hierarchy. See #10572. -- ___ Python tracker ___ ___ Python-bu

[issue16748] Make CPython test package discoverable

2013-01-10 Thread Chris Jerdonek
Chris Jerdonek added the comment: There are lots of modules to change here. I wonder if some or most of this couldn't be automated. For example, is there any reason we couldn't write a script to check for the type of test duplication fixed documentation-wise in issue 16835? We could use suc

[issue16874] setup.py upload option repeated in docs

2013-01-10 Thread Chris Jerdonek
Chris Jerdonek added the comment: The attached patch applies to all branches. -- Added file: http://bugs.python.org/file28684/issue-16874-1-27.patch ___ Python tracker ___ __

[issue13899] re pattern r"[\A]" should work like "A" but matches nothing. Ditto B and Z.

2013-01-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2bc04449fd8c by Ezio Melotti in branch '2.7': #13899: \A, \Z, and \B now correctly match the A, Z, and B literals when used inside character classes (e.g. [A]). Patch by Matthew Barnett. http://hg.python.org/cpython/rev/2bc04449fd8c New changeset

[issue13899] re pattern r"[\A]" should work like "A" but matches nothing. Ditto B and Z.

2013-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report John, and for the patch Matthew! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue16874] setup.py upload option repeated in docs

2013-01-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset a30c36fbefcf by Chris Jerdonek in branch '2.7': Issue #16874: fix formatting of setup.py upload options in documentation. http://hg.python.org/cpython/rev/a30c36fbefcf New changeset dcb645b9de4c by Chris Jerdonek in branch '3.2': Issue #16874 (forwa

[issue16874] setup.py upload option repeated in docs

2013-01-10 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue16154] Some minor doc fixes in Doc/library

2013-01-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9b3d0bdb9256 by Ezio Melotti in branch '2.7': #16154: fix some doctests in Doc/library. Patch by Ravi Sinha. http://hg.python.org/cpython/rev/9b3d0bdb9256 New changeset 5b405df8518d by Ezio Melotti in branch '3.2': #16154: fix some doctests in Doc/

[issue16154] Some minor doc fixes in Doc/library

2013-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! -- assignee: docs@python -> ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue16076] xml.etree.ElementTree.Element is no longer pickleable

2013-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: The fix introduced some refleaks: $ ./python -m test -R3:2 test_xml_etree_c test_xml_etree_c leaked [56, 56] references, sum=112 One seems to be in __getstate__: diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c --- a/Modules/_elementtree.c +++ b/Modul

[issue16928] spurious Cron Daemon e-mails to d...@dinsdale.python.org

2013-01-10 Thread Chris Jerdonek
New submission from Chris Jerdonek: Some spurious e-mails are sent to python-checkins, e.g. Subject: [Python-checkins] Cron /home/docs/build-devguide From: Cron Daemon root at python.org To: d...@dinsdale.python.org /home/docs/devguide/documenting.rst:766: WARNING: term not in glossary: byte

<    1   2