[issue22261] Document how to use Concurrent Build when using MsBuild

2014-10-25 Thread Zachary Ware
Zachary Ware added the comment: I finally made it back to this and committed a tweaked version of your patch. Thanks for the report and patch! -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue22261] Document how to use Concurrent Build when using MsBuild

2014-10-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset f35403bf8c91 by Zachary Ware in branch 'default': Issue #22261: Add a note to PCbuild\readme.txt about MSBuild switches. https://hg.python.org/cpython/rev/f35403bf8c91 -- nosy: +python-dev ___ Python trac

[issue22729] `wait` and `as_completed` depend on private api

2014-10-25 Thread Ned Deily
Changes by Ned Deily : -- nosy: +bquinlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue12885] distutils.filelist.findall() fails on broken symlink in Py2.x

2014-10-25 Thread Jason R. Coombs
Jason R. Coombs added the comment: This issue has been monkeypatched by setuptools for 7 years: https://bitbucket.org/pypa/setuptools/commits/4556f9d08ef7 -- assignee: tarek -> components: -Distutils2 nosy: +dstufft, jason.coombs versions: +Python 3.4, Python 3.5 -3rd party, Python 3.

[issue22727] Improve benchmarks precision

2014-10-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: You thereotically need 2**63 runs to select the best answer, though. You don't know how the distribution of hash seeds can influence the results, which means mere sampling may not be sufficient. -- ___ Python tracke

[issue22727] Improve benchmarks precision

2014-10-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: For more precise results it may be worth to run interpreters several times with random hash seed and then select the best time. Different interpreters can have different effect on the same seed. -- ___ Python trac

[issue22672] float arguments in scientific notation not supported by argparse

2014-10-25 Thread paul j3
paul j3 added the comment: Patch tests are added to an existing 'Lib/test/test_argparse.py' file. I use existing test cases as a pattern any new tests. - Your test file runs fine with the patch I proposed for Issue 9334. - The argparse code uses '_neg

[issue22630] `concurrent.futures.Future.set_running_or_notify_cancel` does not notify cancel

2014-10-25 Thread Ben Mather
Ben Mather added the comment: Have uploaded patch to re-implement `wait` and `as_completed` using callbacks. See issue 22729. Sorry for sitting on it for so long. -- Added file: http://bugs.python.org/file37017/non-magic-waiters.patch ___ Python tr

[issue22729] `wait` and `as_completed` depend on private api

2014-10-25 Thread Ben Mather
New submission from Ben Mather: Adds `remove_done_callback` to `Future` object, removes `_waiters` attribute, and re-implements `wait` and `as_completed` using callbacks. This makes it possible to extend or replace `Future` without having to mimic its private `_waiters` interface. Currently w

[issue22728] Deprecate spurious benchmarks

2014-10-25 Thread Antoine Pitrou
New submission from Antoine Pitrou: "iterative_count" and "threaded_count" are really uninteresting benchmarks, inherited from Dave Beazley's GIL experiments. I suggest to deprecate them and remove from the "all" and "2n3" sets. Patch attached. -- components: Benchmarks files: deprecat

[issue22728] Deprecate spurious benchmarks

2014-10-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue22727] Improve benchmarks precision

2014-10-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Pushed in dc7d29be5a9e. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue22727] Improve benchmarks precision

2014-10-25 Thread Georg Brandl
Georg Brandl added the comment: LGTM. -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue22725] improve documentation for enumerate() (built-in function)

2014-10-25 Thread Ethan Furman
Ethan Furman added the comment: +1 for rdm's change. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue22725] improve documentation for enumerate() (built-in function)

2014-10-25 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: -georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue22727] Improve benchmarks precision

2014-10-25 Thread Antoine Pitrou
New submission from Antoine Pitrou: This patch tries to improve precision of benchmarks in the benchmark suite by two measures: - select the best timer for the pair of interpreters (i.e. perf_counter() if possible) - make hashing deterministic to avoid fluctuations between runs -- comp

[issue22716] Add reference to the object missing an attribute to AttributeError

2014-10-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also PEP 473. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue20584] On FreeBSD, signal.NSIG is smaller than biggest signal value

2014-10-25 Thread Philip Semanchuk
Changes by Philip Semanchuk : -- nosy: +osvenskan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue10548] Error in setUp not reported as expectedFailure (unittest)

2014-10-25 Thread Nick Coghlan
Nick Coghlan added the comment: Heh, yeah, I've written *many* check_* methods in my life - I just hadn't made the link between that practice, and this suggestion. I think that switches me firmly to the "don't change the behaviour" camp. -- ___ Pyth

[issue22716] Add reference to the object missing an attribute to AttributeError

2014-10-25 Thread R. David Murray
Changes by R. David Murray : -- resolution: duplicate -> stage: resolved -> superseder: Add an 'attr' attribute to AttributeError -> versions: +Python 3.5 -Python 3.6 ___ Python tracker _

[issue10548] Error in setUp not reported as expectedFailure (unittest)

2014-10-25 Thread R. David Murray
R. David Murray added the comment: Oh, now I understand what the issue is. It never even *occurred* to me that someone might put assertions in setUp or tearDown. So, yeah, count me in on considering that an abuse of the protocol :) (If I want to factor out common assertions, and I do it a lo

[issue22716] Add reference to the object missing an attribute to AttributeError

2014-10-25 Thread flying sheep
flying sheep added the comment: No, this is about the object which misses an argument, not the attribute name. But thanks for the pointer: one combined fix for both would be the smartest thing to do. -- status: closed -> open ___ Python tracker

[issue22725] improve documentation for enumerate() (built-in function)

2014-10-25 Thread R. David Murray
R. David Murray added the comment: I think you misunderstand the purpose of the documentation you are suggesting modifying. It is a *reference guide*, and as such it needs to be technically precise and *must* correctly use the "jargon" of the language. Especially since it also functions as t

[issue10548] Error in setUp not reported as expectedFailure (unittest)

2014-10-25 Thread Nick Coghlan
Nick Coghlan added the comment: If you want the simple model, there's nothing to change (except perhaps documentation), as that's the way things work today. subtest support also makes it much easier to factor out common assertions without relying on the setUp/tearDown protocol, so I'd be OK wi

[issue22711] Distribution guide should link directly to distutils & setuptools API references

2014-10-25 Thread Nick Coghlan
Nick Coghlan added the comment: Also, my apologies for overreacting - I interpreted the suggestion in the worst possible light, which you definitely didn't deserve. Actually going back and rereading the guide with the benefits of a few months distance from originally writing it made the proble

[issue22711] Distribution guide should link directly to distutils & setuptools API references

2014-10-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue22711] Distribution guide should link directly to distutils & setuptools API references

2014-10-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 25/10/2014 15:37, Nick Coghlan a écrit : > > Since the community has been so successful at shouting down most previous attempts at fundamental Python packaging ecosystem improvements, I am extraordinarily hostile to anything that even hints at attempting to d

[issue22711] Distribution guide should link directly to distutils & setuptools API references

2014-10-25 Thread Nick Coghlan
Nick Coghlan added the comment: I added several previously missing hyperlinks, together with a short description of some key setuptools benefits in the distutils landing page. Let me know if you had more than that in mind. -- status: open -> pending ___

[issue22711] Distribution guide should link directly to distutils & setuptools API references

2014-10-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset c46953d76d4c by Nick Coghlan in branch '3.4': Issue #22711: improve links in new distribution docs https://hg.python.org/cpython/rev/c46953d76d4c New changeset cbb9efd48405 by Nick Coghlan in branch 'default': Merge issue #22711 from 3.4 https://hg.

[issue18216] gettext doesn't check MO versions

2014-10-25 Thread Aaron Hill
Aaron Hill added the comment: Is there anything that needs to be changed? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue22721] pprint output for sets and dicts is not stable

2014-10-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And here is alternative patch if the first patch is not correct. It is more complicated and I suppose is less efficient in common case. -- Added file: http://bugs.python.org/file37013/pprint_safe_key_alt.patch ___

[issue22711] Distribution guide should link directly to distutils & setuptools API references

2014-10-25 Thread Nick Coghlan
Nick Coghlan added the comment: Since the community has been so successful at shouting down most previous attempts at fundamental Python packaging ecosystem improvements, I am extraordinarily hostile to anything that even hints at attempting to do so again. I interpreted the proposal originall

[issue12916] Add inspect.splitdoc

2014-10-25 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: @berker.peksag Could you review the last patch? and keep me informed? Thanks, -- ___ Python tracker ___ __

[issue22237] sorted() docs should state that the sort is stable

2014-10-25 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue22705] Idle extension configuration: add option-help option

2014-10-25 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Attached is a patch which attempts to display help text using a ToolTip. The additional requirement is that for entry 'name', there be another entry have a 'name_help' in the config-extensions.def(easier to see the file to understand what I mean). A few c

[issue22678] An OSError subclass for "no space left on device" would be nice

2014-10-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue22725] improve documentation for enumerate() (built-in function)

2014-10-25 Thread Van Ly
Van Ly added the comment: The first mention of iterator should link to 'glossary.html#term-iterator'. There is a builtin iter() function. This may cause confusion in earlier suggested inline sample code. -- Use the following inline sample code -- in place of 'iter = enumerate(led)'to avoid co

[issue22721] pprint output for sets and dicts is not stable

2014-10-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Hmm... is it important? Not more than sorting pprint output at all. This looks low priority issue to me, but the fix looks pretty easy. Here is a patch. I hope Raymond will make a review, may be I missed some details. -- keywords: +patch stage: -

[issue22725] improve documentation for enumerate() (built-in function)

2014-10-25 Thread Van Ly
Van Ly added the comment: > "sequence must be a sequence" The subtle minutiae of aficionados necessary to interpret the meaning of those two words in their distinct relation is opaque to a new comer and doesn’t serve the widest possible audience usefully to get the job done quick. The second

[issue22725] improve documentation for enumerate() (built-in function)

2014-10-25 Thread Georg Brandl
Georg Brandl added the comment: > I felt the problem was self evident with "sequence must be a sequence". The two words are not used in the same sense: the first names the argument of the function, the second is one of several possible object types you can pass for that argument. -- n

[issue22672] float arguments in scientific notation not supported by argparse

2014-10-25 Thread Jacopo Nespolo
Jacopo Nespolo added the comment: Ned Deily: I don't quite know how to use unittest, but I'll try to look into it. paul j3: > There I proposed leaving '_negative_number_matcher' unchanged, > but only use it to set '_has_negative_number_optionals'. I don't know argparse internals but, if I unde

[issue22725] improve documentation for enumerate() (built-in function)

2014-10-25 Thread Van Ly
Van Ly added the comment: Understood. I felt the problem was self evident with "sequence must be a sequence". -- ___ Python tracker ___ _

[issue22725] improve documentation for enumerate() (built-in function)

2014-10-25 Thread Ethan Furman
Ethan Furman added the comment: rdm was not asking for an argument, he was asking for a more detailed explanation of what was confusing. Your initial response lacked courtesy and respect, and is not appreciated. The rest of your reply was much better. Next time, please skip the non-construc