Van Ly added the comment:
I don't want to argue. Ask a 12-year old and their English teacher, Does the
second sentence qualify as gobbledygook even if it is technically correct and
complete and not verbose?
To be constructive and take on what has been said, an iteration on improving
the
STINNER Victor added the comment:
os.dup2() is really a special case for inheritable file descriptors. See
the PEP 446.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22722
___
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
Van Ly added the comment:
Understood. I felt the problem was self evident with sequence must be a
sequence.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22725
___
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
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.
--
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
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: -
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
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22678
___
___
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
Stéphane Wirtel added the comment:
ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22237
___
___
Python-bugs-list mailing list
Unsubscribe:
Stéphane Wirtel added the comment:
@berker.peksag Could you review the last patch? and keep me informed?
Thanks,
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12916
___
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
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
___
Aaron Hill added the comment:
Is there anything that needs to be changed?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18216
___
___
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
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
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 do
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22711
___
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
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
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
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
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
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: duplicate -
stage: resolved -
superseder: Add an 'attr' attribute to AttributeError -
versions: +Python 3.5 -Python 3.6
___
Python tracker rep...@bugs.python.org
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.
--
___
Changes by Philip Semanchuk osvens...@users.sourceforge.net:
--
nosy: +osvenskan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20584
___
___
Serhiy Storchaka added the comment:
See also PEP 473.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22716
___
___
Python-bugs-list mailing list
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
--
Changes by Georg Brandl ge...@python.org:
--
nosy: -georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22725
___
___
Python-bugs-list
Ethan Furman added the comment:
+1 for rdm's change.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22725
___
___
Python-bugs-list mailing list
Georg Brandl added the comment:
LGTM.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22727
___
___
Python-bugs-list mailing
Antoine Pitrou added the comment:
Pushed in dc7d29be5a9e.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22727
___
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:
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22728
___
___
Python-bugs-list
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
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
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
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
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
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
Changes by Ned Deily n...@acm.org:
--
nosy: +bquinlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22729
___
___
Python-bugs-list mailing list
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
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
45 matches
Mail list logo