Kirk McDonald added the comment:
This is a duplicate of http://bugs.python.org/issue25843
--
resolution: -> duplicate
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Changes by Kirk McDonald :
--
components: +Interpreter Core
type: -> behavior
versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python
3.6
___
Python tracker
<http://bugs.python.org/issu
New submission from Kirk McDonald:
The following code gives an unexpected result:
>>> a, b = lambda: 1, lambda: 1.0
>>> a()
1
>>> b()
1
>>> type(b())
>>> a.__code__ is b.__code__
True
The cause boils down to this line of code:
https://hg
Changes by Kirk McDonald :
Removed file: http://bugs.python.org/file14991/issue6790-python2.6.diff
___
Python tracker
<http://bugs.python.org/issue6790>
___
___
Python-bug
Kirk McDonald added the comment:
Remove unused 'body'.
--
Added file: http://bugs.python.org/file14992/issue6790-python2.6.diff
___
Python tracker
<http://bugs.python.
Kirk McDonald added the comment:
Oh, I suppose I don't. I had simply copy and pasted those four lines from
the previous method. That line could easily be removed.
--
___
Python tracker
<http://bugs.python.org/i
Changes by Kirk McDonald :
Removed file: http://bugs.python.org/file14978/issue6790-python2.6.diff
___
Python tracker
<http://bugs.python.org/issue6790>
___
___
Python-bug
Kirk McDonald added the comment:
I have updated the patch with a unittest for httplib.HTTPConnection.send.
--
Added file: http://bugs.python.org/file14991/issue6790-python2.6.diff
___
Python tracker
<http://bugs.python.org/issue6
Kirk McDonald added the comment:
Here is a patch special-casing array.array in httplib.HTTPConnection.send
in Python 2.6.
--
keywords: +patch
nosy: +KirkMcDonald
Added file: http://bugs.python.org/file14978/issue6790-python2.6.diff
___
Python
Kirk McDonald added the comment:
And here is a patch removing the array.array.read and .write methods in
2.7.
--
Added file: http://bugs.python.org/file14979/issue6790-python2.7.diff
___
Python tracker
<http://bugs.python.org/issue6
New submission from Kirk McDonald :
According to PEP 7, older C source files are indented with tabs, and
newer ones are indented with spaces. The vimrc file in the repository
assumes that existing C source files should be indented with tabs, and it
should indent with spaces when you create a new
New submission from Kirk McDonald:
One question which is asked with surprising frequency in #python is how
to yield multiple objects at a time from an iterable object. That is,
given [1, 2, 3, 4, 5, 6], get [(1, 2), (3, 4), (5, 6)].
The "grouper" function in the itertools recipes pag
12 matches
Mail list logo