A.M. Kuchling added the comment:
I think that #17898 is in fact a duplicate of this bug, due to old values of k
and v confusing things. Mark's patch looks correct to me, but the patch in
#17898 also adds a test. If that patch gets reviewed, I'll apply it to
3.4/3.5, and possibly to 2.7
A.M. Kuchling added the comment:
Here's a patch against 3.5. This patch is atop the fix for #17898, so it won't
apply cleanly to a stock 3.5.
The patch uses warnings.warn() to issue a warning if the plural header is
empty. There seems to be precedent for issuing warnings in the case of odd
New submission from A.M. Kuchling:
(from discussion at the 2015 Python Language Summit)
Current versions of Python make it relatively easy to install third-party
packages such as requests. New users may not realize this, though, and
continue using libraries such as urllib/urllib2 because
A.M. Kuchling added the comment:
This section is trying to illustrate the reasoning that leads to PEP 8's
conclusion, so I don't want to just replace it with a reference to PEP8.
--
resolution: - wont fix
status: open - closed
___
Python tracker
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18779
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
resolution: - wont fix
status: languishing - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1671676
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3786
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue433030
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9584
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10590
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3367
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1467929
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2212
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7695
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5368
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14713
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1483
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1512163
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14944
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1751519
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2675
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9770
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15858
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1745108
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14945
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8502
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11352
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1570255
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17006
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10552
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5901
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18280
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20487
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1723038
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1098749
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18787
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10388
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1500504
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1687125
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2209
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4254
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1103213
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2292
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12384
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18644
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18518
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1599254
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21360
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1708316
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2889
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1005895
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16024
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16776
___
___
Python-bugs-list mailing
A.M. Kuchling added the comment:
Thanks for your patch!
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
title: os.popen documentation is probably wrong - os.popen documentation is
probably wrong
___
Python
Changes by A.M. Kuchling a...@amk.ca:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20103
___
___
Python-bugs
A.M. Kuchling added the comment:
Patch to add impl_detail() looks fine to me.
--
versions: +Python 2.7, Python 3.5 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1704474
A.M. Kuchling added the comment:
I agree with Chris's logic; the incorrect size seems to be a curses/ncurses bug
that has gotten fixed somewhere along the line.
You also aren't able to shrink the terminal to be smaller than the size of a
derived window created with derwin(), but you seem
A.M. Kuchling added the comment:
Because Nick both originally created this ticket and also added the new tests
(http://hg.python.org/cpython/rev/51dddfead80a/), I'll assume he knew what he
was doing when he named those methods, and simply forgot to close this issue.
--
assignee
Changes by A.M. Kuchling a...@amk.ca:
--
components: +IO
versions: +Python 2.7, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21225
A.M. Kuchling added the comment:
Committed to 2.7, 3.4, and default. Thanks for your patch!
--
nosy: +akuchling
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http
A.M. Kuchling added the comment:
Committed to 2.7, 3.4, and default. Thanks for your patch!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1704474
A.M. Kuchling added the comment:
Thanks for your patch!
--
assignee: rhettinger - akuchling
nosy: +akuchling
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http
A.M. Kuchling added the comment:
I thought the discussion of the return code was rather complicated and tried
rewriting it; new patch attached. Is it an improvement? The new version also
specifies the function's parameters.
--
nosy: +akuchling
Added file: http://bugs.python.org
A.M. Kuchling added the comment:
BTW, this change is also relevant to 2.7. Previously I wouldn't have bothered
to commit it to 2.7 since the branch was largely closed, but now we're talking
about some corporate maintainer eventually going through and backporting fixes
to the newly-extended
A.M. Kuchling added the comment:
I dislike footnotes and prefer to put things in the text whenever possible.
The text for this change struck as relevant enough -- it notes a property of
the *stmt* parameter -- that it doesn't belong in a footnote. (I'd be happy to
just make it a paragraph
A.M. Kuchling added the comment:
Thanks for the patch!
--
assignee: - akuchling
nosy: +akuchling
resolution: - fixed
stage: - committed/rejected
status: open - closed
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http
Changes by A.M. Kuchling a...@amk.ca:
--
versions: +Python 3.5 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10481
___
___
Python-bugs
A.M. Kuchling added the comment:
Thanks for your patch!
--
nosy: +akuchling
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10481
Changes by A.M. Kuchling a...@amk.ca:
--
keywords: +easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17380
___
___
Python-bugs-list mailing list
A.M. Kuchling added the comment:
No traffic on bug in 2 years, and not clear if there's anything to fix.
Closing.
--
nosy: +akuchling
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker rep
A.M. Kuchling added the comment:
Patch LGTM to me too; someone can probably just commit it.
--
nosy: +akuchling
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16537
New submission from A.M. Kuchling:
io.py contains the following to declare ABCs for some of its classes:
class IOBase(_io._IOBase, metaclass=abc.ABCMeta):
pass
(and similarly for RawIOBase, BufferedIOBase, TextIOBase).
_io._IOBase has an extensive docstring, but IOBase doesn't. (Python
A.M. Kuchling added the comment:
Version 5 of the patch looks fine; Vajrasky, I think you can go ahead and
commit it.
(I didn't understand RDM's comment about pydoc using DumbWriter; in 3.4, it
doesn't seem to me that pydoc does. What am I missing?)
--
nosy: +akuchling
A.M. Kuchling added the comment:
Are we likely to actually apply this change to the 3.1 and 3.2 branches, given
that even the later 3.3 branch is now in security-fix mode? If we're not going
to change 3.1 or 3.2, this issue can just be closed
A.M. Kuchling added the comment:
Are we going to apply a fix for this to 2.7?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16042
A.M. Kuchling added the comment:
Yes, tests are only run after a change is committed and pushed into
Mercurial; this is done by BuildBot https://www.python.org/dev/buildbot/ .
So it's a good idea to run tests before submitting a patch or committing a
change. No matter how trivial a change
Changes by A.M. Kuchling a...@amk.ca:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20744
A.M. Kuchling added the comment:
Terry: yes, the code for _decimal.c doesn't look especially helpful. (_csv.c
is a bit more straightforward, but still isn't highly commented.) The problem
is that decimal.py does have long docstrings discussions, so it's certainly
useful. Is it inconsistent
Changes by A.M. Kuchling a...@amk.ca:
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13437
Changes by A.M. Kuchling a...@amk.ca:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14332
A.M. Kuchling added the comment:
Derek: thanks for your patch! However, did you run the test suite for the
shutil module to verify that your change is correct?
(The developer guide discusses running tests at
http://docs.python.org/devguide/runtests.html )
--
nosy: +akuchling
A.M. Kuchling added the comment:
The bug got so complicated, with so many variations and failure modes, that I
just lost track of what to do next.
Let's reboot. Problem #1 is that the single-file mailboxes subvert their own
fcntl locking by writing to a temp. file and renaming; David's
A.M. Kuchling added the comment:
Here's a patch for some of Julian's suggested modules. I went through Julian's
list and included code links for the ones that a) weren't packages or only
written in C, b) only had one Python file (which excluded os.path =
posixpath.py/ntpath.py) and c) had
A.M. Kuchling added the comment:
Here's a patch fixing the first return in get_matching_blocks() and updating
the docs.
I didn't change get_matching_blocks() to return a list again, assuming that we
didn't want to do that. (Raymond doesn't say to do so, at least.)
--
nosy
A.M. Kuchling added the comment:
Thanks for your patch! I took it and added some more text describing what junk
is, and clarifying that junk affects what's matched but doesn't cause any
differences to be ignored.
--
nosy: +akuchling
stage: needs patch - patch review
Added file: http
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20906
___
___
Python-bugs-list mailing
A.M. Kuchling added the comment:
+1 to reducing the number of notes, and to a security HOWTO. (Christian: if
you need writing help, please let me know; I'd be happy to help.)
--
nosy: +akuchling
___
Python tracker rep...@bugs.python.org
http
Changes by A.M. Kuchling a...@amk.ca:
--
stage: needs patch - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16728
___
___
Python
A.M. Kuchling added the comment:
Applied. I added two sentences describing the NaN behaviour.
--
nosy: +akuchling
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http
A.M. Kuchling added the comment:
OK; I'll just drop the 'If y is NaN' sentence.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12211
A.M. Kuchling added the comment:
Actually ISTM the 'if x is NaN' sentence can also go; it seems to just copy the
sign bit no matter what x and y are.
from math import *
nan = float('nan')
neg = -nan
copysign(+1, copysign(nan, neg))
-1.0
A.M. Kuchling added the comment:
To clarify: http://www.python.org/doc//current/library/itertools.html returns
the corresponding page from the 2.6.5c2 docs, while
http://www.python.org/doc/current/library/itertools.html returns a 301 redirect
to http://docs.python.org/library/itertools.html
A.M. Kuchling added the comment:
Gareth Rees: it doesn't look like you attached the patch mentioned in your
02/04 comment.
--
nosy: +akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19363
A.M. Kuchling added the comment:
I applied Fran Bull's change; thanks for the patch!
The vulnerabilities section had several grammar issues, so I made an editing
pass over it and made various other changes in my commit.
--
nosy: +akuchling
stage: - committed/rejected
status: open
A.M. Kuchling added the comment:
Maybe this would be clearer if it used the keyword, i.e. using the
:attr:`~Mock.side_effect` attribute.
Also, there's a typo in the quoted text: two equality method should be
method'S'.
--
nosy: +akuchling
A.M. Kuchling added the comment:
That line of documentation was introduced in changeset ca2a859e9bf6, which was
issue #8866. Previously the parameters to getaddrinfo() were positional, so
you had to supply all 5 of them.
--
nosy: +akuchling
A.M. Kuchling added the comment:
Here's a possible patch that mentions collections.abc.Sequence. I left out
MutableSequence, because I couldn't see how to mention it without making the
definition longer and more complicated.
(It could be objected that this is the *glossary
Changes by A.M. Kuchling a...@amk.ca:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1565525
A.M. Kuchling added the comment:
I've applied a patch from #8502 that doesn't encourage the use of pygettext.py
so strongly.
I raised the issue of deprecating pygettext.py on python-dev on Nov 11 2013;
the thread starts at
https://mail.python.org/pipermail/python-dev/2013-November/130123
101 - 200 of 580 matches
Mail list logo