On 5/16/2015 6:45 PM, Steven D'Aprano wrote:
On Sun, 17 May 2015 05:40 am, Thomas 'PointedEars' Lahn wrote:
C.D. Reimer wrote:
Who?
Don't be a dick, Thomas. Lots of people use their initials. You use your
nickname as part of your sender address, why are you questioning somebody
for using
On Mon, May 18, 2015 at 3:50 AM, C.D. Reimer wrote:
> On 5/16/2015 6:45 PM, Steven D'Aprano wrote:
>>
>> On Sun, 17 May 2015 05:40 am, Thomas 'PointedEars' Lahn wrote:
>>
>>> C.D. Reimer wrote:
>>>
>>> Who?
>>
>> Don't be a dick, Thomas. Lots of people use their initials. You use your
>> nick
On Mon, 18 May 2015 15:21:05 +1000, Steven D'Aprano wrote:
> As part of Red Hat's move to Python 3, yum is officially deprecated and
> replaced by dnf:
>
> http://dnf.baseurl.org/2015/05/11/yum-is-dead-long-live-dnf/
>
> Quote:
>
> Yum would not survive the “Python 3 as default” Fedora init
On Mon, 18 May 2015 10:18:49 +, alister wrote:
> On Mon, 18 May 2015 15:21:05 +1000, Steven D'Aprano wrote:
>
>> As part of Red Hat's move to Python 3, yum is officially deprecated and
>> replaced by dnf:
>>
>> http://dnf.baseurl.org/2015/05/11/yum-is-dead-long-live-dnf/
>>
>> Quote:
>>
>>
On 18/05/2015 11:18, alister wrote:
On Mon, 18 May 2015 15:21:05 +1000, Steven D'Aprano wrote:
As part of Red Hat's move to Python 3, yum is officially deprecated and
replaced by dnf:
http://dnf.baseurl.org/2015/05/11/yum-is-dead-long-live-dnf/
Quote:
Yum would not survive the “Python 3
在 2015年5月14日星期四 UTC+8下午11:45:38,Steven D'Aprano写道:
> I'd like to do a little survey, and get a quick show of hands.
>
> How many people have written GUI or text-based applications or scripts where
> a "Move file to trash" function would be useful?
>
> Would you like to see that in the standard li
On Mon, May 18, 2015 at 8:30 PM, Mark Lawrence wrote:
> As an aside, from the signature of your message, I thought "In war, truth is
> the first casualty." was first said by Winston Churchill, not U Thant?
I prefer the White King's line. Alice commented that she should
perhaps be grateful for the
On Mon, 18 May 2015 11:30:57 +0100, Mark Lawrence wrote:
> On 18/05/2015 11:18, alister wrote:
>> On Mon, 18 May 2015 15:21:05 +1000, Steven D'Aprano wrote:
>>
>>> As part of Red Hat's move to Python 3, yum is officially deprecated
>>> and replaced by dnf:
>>>
>>> http://dnf.baseurl.org/2015/05/11
On Mon, 18 May 2015 08:18 pm, alister wrote:
> On Mon, 18 May 2015 15:21:05 +1000, Steven D'Aprano wrote:
>
>> As part of Red Hat's move to Python 3, yum is officially deprecated and
>> replaced by dnf:
>>
>> http://dnf.baseurl.org/2015/05/11/yum-is-dead-long-live-dnf/
>>
>> Quote:
>>
>> Y
On 05/18/2015 01:28 PM, alister wrote:
Which may be fitting
it just waisted 10 min downloading everything before discovering I did
not have permission (forgot to sudo)
I think if you resume the transaction, downloaded things are locally
cached: aren't they?
--
https://mail.python.org/mailman/
On Mon, 18 May 2015 15:08:07 +0300, Mihamina Rakotomandimby wrote:
> On 05/18/2015 01:28 PM, alister wrote:
>> Which may be fitting it just waisted 10 min downloading everything
>> before discovering I did not have permission (forgot to sudo)
>
> I think if you resume the transaction, downloaded
Am 16.05.2015 um 21:20 schrieb C.D. Reimer:
Does python perform the dot operators from left to right or according to
a rule of order (i.e., multiplication/division before add/subtract)?
In this case, it does the only thing it can do:
title = slug.replace('-',' ').title()
is performed as
* t
On 05/18/2015 03:08 PM, alister wrote:
On Mon, 18 May 2015 15:08:07 +0300, Mihamina Rakotomandimby wrote:
On 05/18/2015 01:28 PM, alister wrote:
Which may be fitting it just waisted 10 min downloading everything
before discovering I did not have permission (forgot to sudo)
I think if you resu
On 18/05/2015 11:31, iMath wrote:
在 2015年5月14日星期四 UTC+8下午11:45:38,Steven D'Aprano写道:
I'd like to do a little survey, and get a quick show of hands.
How many people have written GUI or text-based applications or scripts where
a "Move file to trash" function would be useful?
Would you like to se
On 18/05/2015 12:49, Steven D'Aprano wrote:
On Mon, 18 May 2015 08:18 pm, alister wrote:
On Mon, 18 May 2015 15:21:05 +1000, Steven D'Aprano wrote:
As part of Red Hat's move to Python 3, yum is officially deprecated and
replaced by dnf:
http://dnf.baseurl.org/2015/05/11/yum-is-dead-long-live
Dear Group,
I am trying to practice Flask and trying to correspond with it with through
requests.
I am being able to DELETE, GET. But as I am doing POST it is not posting the
data rather returning null.
I tried to search Flask and requests tutorials but did not get much.
I am newly practisi
I wondered what on earth "Green Tree Snakes" was referring to until I
caught on to the AST part. So for those of you who like diving under
the bonnet and don't care about possibly, or even probably, very dirty
hands, here's a link.
https://greentreesnakes.readthedocs.org/en/latest/nodes.html
I'd like to understand what I'm being told about slices in
https://wiki.python.org/moin/TimeComplexity
Particularly, what's a 'del slice' and a 'set slice' and whether this
information pertains to both CPython 2.7 and 3.4.
>From the above link it seems slices work in linear time on all cases.
And
On Tue, May 19, 2015 at 5:23 AM, Mario Figueiredo wrote:
> From the above link it seems slices work in linear time on all cases.
> And this really has a big impact on certain operations. For instance,
> the code below may surprise some people when they realize it doesn't
> run in linear time on 3.
On Tue, 19 May 2015 05:36:44 +1000, Chris Angelico
wrote:
>What's the point of optimizing slicing to allow you to use a poor
>algorithm, instead of fixing your algorithm?
>
Chris, thank you for your input. But the code isn't really the
question, is it?
It's just an example. It was being used ea
On May 18, 2015 9:26 PM, "Mario Figueiredo" wrote:
>
> I'd like to understand what I'm being told about slices in
> https://wiki.python.org/moin/TimeComplexity
>
> Particularly, what's a 'del slice' and a 'set slice' and whether this
> information pertains to both CPython 2.7 and 3.4.
>
> From the
On Mon, May 18, 2015 at 1:23 PM, Mario Figueiredo wrote:
> I'd like to understand what I'm being told about slices in
> https://wiki.python.org/moin/TimeComplexity
>
> Particularly, what's a 'del slice' and a 'set slice' and whether this
> information pertains to both CPython 2.7 and 3.4.
"Del Sl
On 05/18/2015 09:49 PM, Ian Kelly wrote:
It may be possible that lists in CPython could be made to share their
internal arrays with other lists on a copy-on-write basis, which could
allow slicing to be O(1) as long as neither list is modified while the
array is being shared. I expect this would b
On Tue, May 19, 2015 at 5:49 AM, Mario Figueiredo wrote:
> On Tue, 19 May 2015 05:36:44 +1000, Chris Angelico
> wrote:
>
>>What's the point of optimizing slicing to allow you to use a poor
>>algorithm, instead of fixing your algorithm?
>>
>
> Chris, thank you for your input. But the code isn't re
On May 18, 2015 9:56 PM, "Fabien" wrote:
>
> On 05/18/2015 09:49 PM, Ian Kelly wrote:
>>
>> It may be possible that lists in CPython could be made to share their
>> internal arrays with other lists on a copy-on-write basis, which could
>> allow slicing to be O(1) as long as neither list is modifie
On Mon, 18 May 2015 13:49:45 -0600, Ian Kelly
wrote:
>> Other languages implement slices. I'm currently being faced with a Go
>> snippet that mirrors the exact code above and it does run in linear
>> time.
>>
>> Is there any reason why Python 3.4 implementation of slices cannot be
>> a near const
On 18/05/2015 22:04, Mario Figueiredo wrote:
On Mon, 18 May 2015 13:49:45 -0600, Ian Kelly
wrote:
Other languages implement slices. I'm currently being faced with a Go
snippet that mirrors the exact code above and it does run in linear
time.
Is there any reason why Python 3.4 implementation o
On 16May2015 12:20, C.D. Reimer wrote:
title = slug.replace('-',' ').title()
This line also works if I switched the dot operators around.
title = slug.title().replace('-',' ')
I'm reading the first example as character replacement first and title
capitalization second, and the second example a
On 5/18/2015 5:04 PM, Mario Figueiredo wrote:
Other languages implement slices. I'm currently being faced with a Go
snippet that mirrors the exact code above and it does run in linear
time.
Is there any reason why Python 3.4 implementation of slices cannot be
a near constant operation?
The
Mark Lawrence wrote:
As an aside, from the signature of your message, I thought "In war,
truth is the first casualty." was first said by Winston Churchill,
But... did he say it during wartime?
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
On Tuesday, May 19, 2015 at 4:18:36 AM UTC+5:30, Cameron Simpson wrote:
> On 16May2015 12:20, C.D. Reimer wrote:
> >title = slug.replace('-',' ').title()
> >This line also works if I switched the dot operators around.
> >title = slug.title().replace('-',' ')
> >
> >I'm reading the first example as
On Tuesday, May 19, 2015 at 1:20:55 AM UTC+5:30, Ian wrote:
> It may be possible that lists in CPython could be made to share their
> internal arrays with other lists on a copy-on-write basis, which could
> allow slicing to be O(1) as long as neither list is modified while the
> array is being shar
On 05/18/2015 09:32 PM, Rustom Mody wrote:
>In particular, each .foo() need not return a string - it might return anything,
>and the following .bah() will work on that anything.
For an arbitrary binary operator ◼
x ◼ y ◼ z
can group as
(x◼y)◼z
or
x◼(y◼z)
One could (conceivably) apply the same
> If anyone may kindly suggest what is the error I am doing.
It's close to impossible to know without seeing the server side code.
--
https://mail.python.org/mailman/listinfo/python-list
On Tuesday 19 May 2015 12:20, Rustom Mody wrote:
> I must say I am impressed by C#/.Net for making the value/object
> distinction first-class all the way from language to VM.
I'm not sure what you mean by that. Are you referring to something similar
to Java's distinction between native/unboxed t
On Tuesday, May 19, 2015 at 10:44:10 AM UTC+5:30, Steven D'Aprano wrote:
> On Tuesday 19 May 2015 12:20, Rustom Mody wrote:
>
> > I must say I am impressed by C#/.Net for making the value/object
> > distinction first-class all the way from language to VM.
>
> I'm not sure what you mean by that.
On Tue, May 19, 2015 at 12:43 PM, Ron Adam wrote:
> Having just implementing something similar for nested scopes, it turns out
> it can't be operators because if it was, then the names y and z would be
> resolved in the wrong scope.
>
> y = "m"
> z = "n"
> a = x . y . z
37 matches
Mail list logo