On 2012-06-20, at 4:30 AM, Steven D'Aprano wrote:
> On Tue, Jun 19, 2012 at 08:11:26PM -0400, Yury Selivanov wrote:
>
>> So using the signature will be OK for 'Foo.bar' and 'Foo().bar', but
>> not for 'Foo.__dict__['bar']' - which I think is fine (since
>> staticmethod & classmethod instances are
On Wed, Jun 20, 2012 at 6:30 PM, Steven D'Aprano wrote:
> Speaking of non-instance method descriptors, please excuse this silly
> question, I haven't quite understood the implementation well enough to
> answer this question myself. Is there anything needed to make
> signature() work correctly with
On Tue, Jun 19, 2012 at 08:11:26PM -0400, Yury Selivanov wrote:
> So using the signature will be OK for 'Foo.bar' and 'Foo().bar', but
> not for 'Foo.__dict__['bar']' - which I think is fine (since
> staticmethod & classmethod instances are not callable)
There has been some talk on Python-ideas a
On 2012-06-19, at 4:17 PM, Jim Jewett wrote:
>> I can tweak the PEP to make it more clear for those who don't know
>> that staticmethods are not exactly methods, but do we really need that?
>
> I would prefer it, if only because it surprised me. When do
> distinguish between methods, staticmethod
On Tue, Jun 19, 2012 at 2:10 PM, Yury Selivanov wrote:
> On 2012-06-19, at 12:33 PM, Jim Jewett wrote:
>
>> On Tue, Jun 19, 2012 at 11:53 AM, Yury Selivanov
>> wrote:
>>
Based on: http://hg.python.org/peps/file/tip/pep-0362.txt
view pep-0362.txt @ 4466:659639095ace
===
On 2012-06-19, at 12:33 PM, Jim Jewett wrote:
> On Tue, Jun 19, 2012 at 11:53 AM, Yury Selivanov
> wrote:
>
>>> Based on: http://hg.python.org/peps/file/tip/pep-0362.txt
>>> view pep-0362.txt @ 4466:659639095ace
>>> ==
>
>>> 142 * args : tuple
>>> 143 Tuple of positiona
On Tue, Jun 19, 2012 at 11:53 AM, Yury Selivanov
wrote:
>> Based on: http://hg.python.org/peps/file/tip/pep-0362.txt
>> view pep-0362.txt @ 4466:659639095ace
>> ==
>> 142 * args : tuple
>> 143 Tuple of positional arguments values. Dynamically computed from
>> 144
Jim,
On 2012-06-19, at 11:33 AM, Jim Jewett wrote:
> I've limited this to minor issues, but kept python-dev in the loop
> because some are questions, rather than merely editorial.
>
>
> Based on: http://hg.python.org/peps/file/tip/pep-0362.txt
>
> view pep-0362.txt @ 4466:659639095ace
>
>
>
Jim Jewett wrote:
48 * parameters : OrderedDict
49 An ordered mapping of parameters' names to the corresponding
50 Parameter objects (keyword-only arguments are in the same order
51 as listed in ``code.co_varnames``).
Are you really sure you want to promise the keywor
I've limited this to minor issues, but kept python-dev in the loop
because some are questions, rather than merely editorial.
Based on: http://hg.python.org/peps/file/tip/pep-0362.txt
view pep-0362.txt @ 4466:659639095ace
Committing the latest changes to PEP 362 on behalf of Yury Selivanov.
a
10 matches
Mail list logo