Stefan Behnel, 08.02.2013 22:14:
> PJ Eby, 08.02.2013 19:46:
>> On Fri, Feb 8, 2013 at 10:54 AM, Stefan Behnel wrote:
>>> Nick Coghlan, 08.02.2013 16:20:
On Sat, Feb 9, 2013 at 1:06 AM, Benjamin Peterson wrote:
> 2013/2/8 Stefan Behnel:
>> I'm wondering about the purpose of this code i
On Feb 8, 2013 3:37 PM, "Xavier Morel" wrote:
>
> On 2013-02-08, at 18:45 , Chris Withers wrote:
>
> > On 08/02/2013 16:17, Oscar Benjamin wrote:
> >> Decimal.__pos__ uses it to return a Decimal instance that has the
> >> default precision of the current Decimal context:
> >>
> > from decimal
PJ Eby, 08.02.2013 19:46:
> On Fri, Feb 8, 2013 at 10:54 AM, Stefan Behnel wrote:
>> Nick Coghlan, 08.02.2013 16:20:
>>> On Sat, Feb 9, 2013 at 1:06 AM, Benjamin Peterson wrote:
2013/2/8 Stefan Behnel:
> I'm wondering about the purpose of this code in
> inspect.Signature.from_function(
On 2013-02-08, at 18:45 , Chris Withers wrote:
> On 08/02/2013 16:17, Oscar Benjamin wrote:
>> Decimal.__pos__ uses it to return a Decimal instance that has the
>> default precision of the current Decimal context:
>>
> from decimal import Decimal
> d = Decimal('0.3
On 08/02/2013 16:17, Oscar Benjamin wrote:
Decimal.__pos__ uses it to return a Decimal instance that has the
default precision of the current Decimal context:
from decimal import Decimal
d = Decimal('0.33')
d
Decimal('0.33
On Fri, Feb 8, 2013 at 10:54 AM, Stefan Behnel wrote:
> Nick Coghlan, 08.02.2013 16:20:
>> On Sat, Feb 9, 2013 at 1:06 AM, Benjamin Peterson wrote:
>>> 2013/2/8 Stefan Behnel:
I'm wondering about the purpose of this code in
inspect.Signature.from_function():
"""
if not
ACTIVITY SUMMARY (2013-02-01 - 2013-02-08)
Python tracker at http://bugs.python.org/
To view or respond to any of the issues listed below, click on the issue.
Do NOT respond to this message.
Issues counts and deltas:
open3847 ( -1)
closed 25088 (+60)
total 28935 (+59)
Open issues wit
On 8 February 2013 16:10, Benjamin Peterson wrote:
> 2013/2/8 Chris Withers :
>> On 08/02/2013 15:42, Benjamin Peterson wrote:
>>>
>>> 2013/2/8 Chris Withers:
Hi All,
Just had a bit of an embarrassing incident in some code where I did:
sometotal =+ somevalue
>>>
>>>
>
2013/2/8 Chris Withers :
> On 08/02/2013 15:42, Benjamin Peterson wrote:
>>
>> 2013/2/8 Chris Withers:
>>>
>>> Hi All,
>>>
>>> Just had a bit of an embarrassing incident in some code where I did:
>>>
>>> sometotal =+ somevalue
>>
>>
>> That's just a strange way of expressing
>>
>> sometotal = +some
On 08/02/2013 15:42, Benjamin Peterson wrote:
2013/2/8 Chris Withers:
Hi All,
Just had a bit of an embarrassing incident in some code where I did:
sometotal =+ somevalue
That's just a strange way of expressing
sometotal = +somevalue
Indeed, but why should this be possible? When could it d
On 08.02.13 17:39, Chris Withers wrote:
Just had a bit of an embarrassing incident in some code where I did:
sometotal =+ somevalue
I'm curious why this syntax is allowed? I'm sure there are good reasons,
but thought I'd ask...
And why this syntax is allowed?
pi = 3,14
And this:
fr
Nick Coghlan, 08.02.2013 16:20:
> On Sat, Feb 9, 2013 at 1:06 AM, Benjamin Peterson wrote:
>> 2013/2/8 Stefan Behnel:
>>> I'm wondering about the purpose of this code in
>>> inspect.Signature.from_function():
>>>
>>> """
>>> if not isinstance(func, types.FunctionType):
>>> raise TypeErr
Nick Coghlan, 08.02.2013 16:08:
> On Sat, Feb 9, 2013 at 12:09 AM, Stefan Behnel wrote:
>> I'm wondering about the purpose of this code in
>> inspect.Signature.from_function():
>>
>> """
>> if not isinstance(func, types.FunctionType):
>> raise TypeError('{!r} is not a Python function'.f
On 8 February 2013 15:39, Chris Withers wrote:
> Hi All,
>
> Just had a bit of an embarrassing incident in some code where I did:
>
> sometotal =+ somevalue
>
> I'm curious why this syntax is allowed? I'm sure there are good reasons, but
> thought I'd ask...
Because '+' can represent an unary pre
On 2013-02-08, at 16:39 , Chris Withers wrote:
> Hi All,
>
> Just had a bit of an embarrassing incident in some code where I did:
>
> sometotal =+ somevalue
>
> I'm curious why this syntax is allowed? I'm sure there are good reasons, but
> thought I'd ask…
sometotal = (expression) is valid s
On Sat, Feb 9, 2013 at 2:39 AM, Chris Withers wrote:
> Hi All,
>
> Just had a bit of an embarrassing incident in some code where I did:
>
> sometotal =+ somevalue
>
> I'm curious why this syntax is allowed? I'm sure there are good reasons, but
> thought I'd ask...
For the same reason that you can
2013/2/8 Chris Withers :
> Hi All,
>
> Just had a bit of an embarrassing incident in some code where I did:
>
> sometotal =+ somevalue
That's just a strange way of expressing
sometotal = +somevalue
>
> I'm curious why this syntax is allowed? I'm sure there are good reasons, but
> thought I'd ask
On Friday, February 8, 2013 at 10:39 AM, Chris Withers wrote:
> Hi All,
>
> Just had a bit of an embarrassing incident in some code where I did:
>
> sometotal =+ somevalue
I'm guessing this gets parsed as sometotal = +somevalue
>
> I'm curious why this syntax is allowed? I'm sure there are good
Hi All,
Just had a bit of an embarrassing incident in some code where I did:
sometotal =+ somevalue
I'm curious why this syntax is allowed? I'm sure there are good reasons,
but thought I'd ask...
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- ht
On Sat, Feb 9, 2013 at 1:06 AM, Benjamin Peterson wrote:
> 2013/2/8 Stefan Behnel :
>> Hi,
>>
>> I'm wondering about the purpose of this code in
>> inspect.Signature.from_function():
>>
>> """
>> if not isinstance(func, types.FunctionType):
>> raise TypeError('{!r} is not a Python func
On Sat, Feb 9, 2013 at 12:09 AM, Stefan Behnel wrote:
> Hi,
>
> I'm wondering about the purpose of this code in
> inspect.Signature.from_function():
>
> """
> if not isinstance(func, types.FunctionType):
> raise TypeError('{!r} is not a Python function'.format(func))
> """
>
> Is there
2013/2/8 Stefan Behnel :
> Hi,
>
> I'm wondering about the purpose of this code in
> inspect.Signature.from_function():
>
> """
> if not isinstance(func, types.FunctionType):
> raise TypeError('{!r} is not a Python function'.format(func))
> """
>
> Is there any reason why this method wo
Hi,
I'm wondering about the purpose of this code in
inspect.Signature.from_function():
"""
if not isinstance(func, types.FunctionType):
raise TypeError('{!r} is not a Python function'.format(func))
"""
Is there any reason why this method would have to explicitly check the type
of its
On Fri, Feb 8, 2013 at 2:45 PM, Chris Withers wrote:
> On 08/02/2013 11:17, Antoine Pitrou wrote:
>>
>> Le Fri, 08 Feb 2013 10:58:36 +,
>> Chris Withers a écrit :
>>>
>>> Hi All,
>>>
>>> Where would I look to find out which release a fix for an issue
>>> (http://bugs.python.org/issue15822 if
On Fri, Feb 8, 2013 at 3:17 PM, Tshepang Lekhonkhobe wrote:
> On Fri, Feb 8, 2013 at 2:45 PM, Chris Withers wrote:
>> On 08/02/2013 11:17, Antoine Pitrou wrote:
>>>
>>> Le Fri, 08 Feb 2013 10:58:36 +,
>>> Chris Withers a écrit :
Hi All,
Where would I look to find out whic
On 8 Feb, 2013, at 13:45, Chris Withers wrote:
> On 08/02/2013 11:17, Antoine Pitrou wrote:
>> Le Fri, 08 Feb 2013 10:58:36 +,
>> Chris Withers a écrit :
>>> Hi All,
>>>
>>> Where would I look to find out which release a fix for an issue
>>> (http://bugs.python.org/issue15822 if you're int
Le Fri, 08 Feb 2013 12:45:48 +,
Chris Withers a écrit :
> On 08/02/2013 11:17, Antoine Pitrou wrote:
> > Le Fri, 08 Feb 2013 10:58:36 +,
> > Chris Withers a écrit :
> >> Hi All,
> >>
> >> Where would I look to find out which release a fix for an issue
> >> (http://bugs.python.org/issue158
On 08/02/2013 11:17, Antoine Pitrou wrote:
Le Fri, 08 Feb 2013 10:58:36 +,
Chris Withers a écrit :
Hi All,
Where would I look to find out which release a fix for an issue
(http://bugs.python.org/issue15822 if you're interested ;-)) will
land in?
Just read that issue's comments and you'll
Le Fri, 08 Feb 2013 10:58:36 +,
Chris Withers a écrit :
> Hi All,
>
> Where would I look to find out which release a fix for an issue
> (http://bugs.python.org/issue15822 if you're interested ;-)) will
> land in?
Just read that issue's comments and you'll know in which branches the
fix was
Hi All,
Where would I look to find out which release a fix for an issue
(http://bugs.python.org/issue15822 if you're interested ;-)) will land in?
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
30 matches
Mail list logo