New submission from Ben North :
The functools module includes a 'partial' class, which allows partial
function application either by positional arguments or keyword
arguments. However, it cannot be used to create, for example, a
function splitting a string on commas, or a function t
Changes by Ben North :
--
keywords: +patch
Added file: http://bugs.python.org/file12991/_functoolsmodule.patch
___
Python tracker
<http://bugs.python.org/issue5
Changes by Ben North :
Added file: http://bugs.python.org/file12992/test_functools.patch
___
Python tracker
<http://bugs.python.org/issue5191>
___
___
Python-bugs-list m
Change by Ben North :
--
pull_requests: +5203
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issue18533>
___
___
Python-bugs-lis
Ben North added the comment:
Terry in msg310785:
> As I expected from the fact that Ben once did a separate 2.7
> version, the auto backport for 2.7 failed. Ben, since you know what
> code changes are needed, can you prepare a backport (cherry pick)
> PR?
Yes, that's right
Ben North added the comment:
PR4823 created as per msg308086.
--
___
Python tracker
<https://bugs.python.org/issue18533>
___
___
Python-bugs-list mailin
Change by Ben North :
--
pull_requests: +4716
___
Python tracker
<https://bugs.python.org/issue32137>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Ben North:
#18019 noted the following crash in earlier 2.7:
>>> d={}
>>> d[42]=d.viewvalues()
>>> d
This issue has been fixed; the behaviour now is that a RuntimeError is
produced for a recursive dictionary view:
>>> d={}
>>&
Ben North added the comment:
New patch including tests attached, against 3.3. Terry Reedy's example
above now gives
>>> d = {}
>>> d[1] = d.keys()
>>> d[2] = d.values()
>>> d
{1: dict_keys([1, 2]), 2: dict_values([dict_keys([1,
Ben North added the comment:
New patch, fixing nit noted in msg193624:
non-error-recursive-dictview-3.3-1.patch
Otherwise same as previous
non-error-recursive-dictview-3.3.patch
--
Added file:
http://bugs.python.org/file31025/non-error-recursive-dictview-3.3-1.patch
Changes by Ben North :
Added file: http://bugs.python.org/file31089/against-9bf89c909bd4-3.3-1.patch
___
Python tracker
<http://bugs.python.org/issue18533>
___
___
Pytho
Ben North added the comment:
I'll attach fresh patches, one against latest 2.7 and one against
latest 3.3 (unchanged apart from headers from previous patch).
Both branches pass
./python -m test.regrtest -R20:30 test_dictviews
--
___
P
Changes by Ben North :
Added file: http://bugs.python.org/file31088/against-6e1dd1ce95b8-2.7-1.patch
___
Python tracker
<http://bugs.python.org/issue18533>
___
___
Pytho
Ben North added the comment:
Is anything further needed from me before this can be reviewed?
--
___
Python tracker
<http://bugs.python.org/issue18533>
___
___
New submission from Ben North :
The current documentation for tarfile.TarFile.extractfile() does not
mention that the returned 'file-like object' supports close() and also
iteration. The attached patch (against svn trunk) fixes this.
(Background: I was wondering whether I could wr
15 matches
Mail list logo