Hi David,
you have multi-posted this to comp.lang.tcl. Please don't do that - use
crossposting and a proper follow-up (as I did now)
Am 10.07.13 03:29, schrieb David T. Ashley:
We develop embedded software for 32-bit micros using Windows as the
development platform.
Robert's answer made me
Christian Gollwitzer, 10.07.2013 09:03:
> http://www.lua.org/
>
> Very compact (a static binary is about ~200K), clean synatx, relatively
> fast. OTOH, the standard library is of course not so extensive as for Tcl
> or Python.
"not so extensive" is a rather bold understatement. ISTM that most pro
On Wed, Jul 10, 2013 at 6:59 AM, Dave Angel wrote:
> On 07/09/2013 12:06 PM, Ferrous Cranus wrote:
>
>
>
>>>
>> What is the reason of a spambot? Spam a usenet forum to gain what?
>>
>
> Spam is unsolicited advertising. A bot is a robot, or other automated
> device. So Spambots on a usenet
A moderator who calls himself “animuson” on Stack Overflow doesn’t
want to face the truth. He has deleted all my postings regarding Python
regular expression matching being extremely slow compared to Perl.
Additionally my account has been suspended for 7 days. Such a dickwad.
Mats
--
Mats Peters
On Mon, Jul 8, 2013 at 2:54 PM, Giorgos Tzampanakis
wrote:
> On 2013-07-06, Skip Montanaro wrote:
>> * movement between the mouse and the keyboard
>
> Avoid at all costs. Use an editor that never needs the mouse (emacs or
> vim).
I don't use vim often, but for Emacs, I think mouse is often needed
On Tuesday, 9 July 2013 18:03:41 UTC+1, L O'Shea wrote:
> Hi all,
>
> I'm interning and have been given the job of extending a program that has
> been written by someone else. I've never used Python before so it's a bit of
> a struggle but I've got to say I'm loving the language so far.
>
>
>
On Wed, Jul 10, 2013 at 5:55 PM, Mats Peterson wrote:
> A moderator who calls himself “animuson” on Stack Overflow doesn’t
> want to face the truth. He has deleted all my postings regarding Python
> regular expression matching being extremely slow compared to Perl.
> Additionally my account has be
On Wed, 10 Jul 2013 18:26:19 +1000, Chris Angelico wrote:
> On Wed, Jul 10, 2013 at 5:55 PM, Mats Peterson wrote:
>> A moderator who calls himself “animuson” on Stack Overflow doesn’t want
>> to face the truth. He has deleted all my postings regarding Python
>> regular expression matching being e
Chris Angelico wrote:
> On Wed, Jul 10, 2013 at 5:55 PM, Mats Peterson wrote:
>> A moderator who calls himself “animuson” on Stack Overflow doesn’t
>> want to face the truth. He has deleted all my postings regarding Python
>> regular expression matching being extremely slow compared to Perl.
>> A
On Wed, Jul 10, 2013 at 6:32 PM, Mats Peterson wrote:
> Chris Angelico wrote:
>> On Wed, Jul 10, 2013 at 5:55 PM, Mats Peterson wrote:
>>> A moderator who calls himself “animuson” on Stack Overflow doesn’t
>>> want to face the truth. He has deleted all my postings regarding Python
>>> regular ex
Steven D'Aprano wrote:
> On Wed, 10 Jul 2013 18:26:19 +1000, Chris Angelico wrote:
>
>> On Wed, Jul 10, 2013 at 5:55 PM, Mats Peterson wrote:
>>> A moderator who calls himself “animuson” on Stack Overflow doesn’t want
>>> to face the truth. He has deleted all my postings regarding Python
>>> regu
On Wed, Jul 10, 2013 at 6:33 PM, Mats Peterson wrote:
> Steven D'Aprano wrote:
>> On Wed, 10 Jul 2013 18:26:19 +1000, Chris Angelico wrote:
>>
>>> On Wed, Jul 10, 2013 at 5:55 PM, Mats Peterson wrote:
A moderator who calls himself “animuson” on Stack Overflow doesn’t want
to face the t
On Wed, 10 Jul 2013 08:55:46 +0200, Stefan Behnel wrote:
> Hi,
>
> I've been looking for a Python package for formatting international
> dates, numbers and monetary values
[...]
> https://github.com/mitsuhiko/babel
>
> Since it took me quite a while to figure this out, I thought I'd post
> this
Chris Angelico wrote:
> On Wed, Jul 10, 2013 at 5:55 PM, Mats Peterson wrote:
>> A moderator who calls himself “animuson” on Stack Overflow doesn’t
>> want to face the truth. He has deleted all my postings regarding Python
>> regular expression matching being extremely slow compared to Perl.
>> A
For those who are interested. The official proposal request
for the encoding of the Latin uppercase letter Sharp S in
ISO/IEC 10646; DIN (The German Institute for Standardization)
proposal is available on the web. A pdf with the rationale.
I do not remember from where I got it, probably from a Germ
Chris Angelico wrote:
> On Wed, Jul 10, 2013 at 6:32 PM, Mats Peterson wrote:
>> Chris Angelico wrote:
>>> On Wed, Jul 10, 2013 at 5:55 PM, Mats Peterson wrote:
A moderator who calls himself “animuson” on Stack Overflow doesn’t
want to face the truth. He has deleted all my postings re
Chris Angelico wrote:
> On Wed, Jul 10, 2013 at 6:33 PM, Mats Peterson wrote:
>> Steven D'Aprano wrote:
>>> On Wed, 10 Jul 2013 18:26:19 +1000, Chris Angelico wrote:
>>>
On Wed, Jul 10, 2013 at 5:55 PM, Mats Peterson wrote:
> A moderator who calls himself “animuson” on Stack Overflow d
Chris Angelico wrote:
> On Wed, Jul 10, 2013 at 6:33 PM, Mats Peterson wrote:
>> Steven D'Aprano wrote:
>>> On Wed, 10 Jul 2013 18:26:19 +1000, Chris Angelico wrote:
>>>
On Wed, Jul 10, 2013 at 5:55 PM, Mats Peterson wrote:
> A moderator who calls himself “animuson” on Stack Overflow d
On Wed, Jul 10, 2013 at 2:32 AM, Mats Peterson wrote:
> Chris Angelico wrote:
>> On Wed, Jul 10, 2013 at 5:55 PM, Mats Peterson wrote:
>>> A moderator who calls himself “animuson” on Stack Overflow doesn’t
>>> want to face the truth. He has deleted all my postings regarding Python
>>> regular ex
On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote:
> A moderator who calls himself “animuson” on Stack Overflow doesn’t want
> to face the truth. He has deleted all my postings regarding Python
> regular expression matching being extremely slow compared to Perl.
That's by design. We don't w
I didn't do a good job of explaining it cos I didn't want it to be a TLDR; but
I could've added a little more. To clarify:
Expr is just a way to represent simple arithmetic expressions for a calculator.
Because the expression has to be modified and built over time, and evaluated
from left to ri
On Wed, Jul 10, 2013 at 6:42 PM, Mats Peterson wrote:
> Chris Angelico wrote:
>> On Wed, Jul 10, 2013 at 5:55 PM, Mats Peterson wrote:
>>> A moderator who calls himself “animuson” on Stack Overflow doesn’t
>>> want to face the truth. He has deleted all my postings regarding Python
>>> regular ex
On Wed, Jul 10, 2013 at 2:42 AM, Mats Peterson wrote:
> Chris Angelico wrote:
>> On Wed, Jul 10, 2013 at 5:55 PM, Mats Peterson wrote:
>>> A moderator who calls himself “animuson” on Stack Overflow doesn’t
>>> want to face the truth. He has deleted all my postings regarding Python
>>> regular ex
On Wednesday, July 10, 2013 12:20:47 AM UTC+2, Ian wrote:
> On Tue, Jul 9, 2013 at 4:18 PM, Ian Kelly wrote:
>
> > If you actually want to modify the current object, you would need to
>
> > do something like:
>
> >
>
> > def expand(self):
>
> > import copy
>
> > self.expr
Chris Angelico wrote:
> On Wed, Jul 10, 2013 at 6:42 PM, Mats Peterson wrote:
>> Chris Angelico wrote:
>>> On Wed, Jul 10, 2013 at 5:55 PM, Mats Peterson wrote:
A moderator who calls himself “animuson” on Stack Overflow doesn’t
want to face the truth. He has deleted all my postings re
Ian Kelly wrote:
> On Wed, Jul 10, 2013 at 2:42 AM, Mats Peterson wrote:
>> Chris Angelico wrote:
>>> On Wed, Jul 10, 2013 at 5:55 PM, Mats Peterson wrote:
A moderator who calls himself “animuson” on Stack Overflow doesn’t
want to face the truth. He has deleted all my postings regardi
On Wed, Jul 10, 2013 at 2:46 AM, Mats Peterson wrote:
>> Then they would have full control of this list and what gets pos
>
> Ahhh so this is pos, right? Telling the truth? Interesting.
I don't know what you mean by that, but since the joke appears to have
flown over your head, I'll explain i
Ian Kelly wrote:
> On Wed, Jul 10, 2013 at 2:46 AM, Mats Peterson wrote:
>>> Then they would have full control of this list and what gets pos
>>
>> Ahhh so this is pos, right? Telling the truth? Interesting.
>
> I don't know what you mean by that, but since the joke appears to have
> flown ov
On Wed, Jul 10, 2013 at 7:01 PM, Mats Peterson wrote:
> Chris Angelico wrote:
>> I know what regular expressions are. I've used them in Perl, PHP,
>> JavaScript, Python, C++, Pike, and numerous text editors (which may
>> have been backed by one of the above languages, or may have been
>> somethin
Hi, I have Been looking into it and I can't find anything. My son's iPhone 4
( iOS 6), according to him, is on and off from our wifi all by itself.
Basically, when hé goes on YouTube before 8 am it is on 3G, even if we have
wifi on. And the signal is strong enough. Is there a setting That he could
On Wed, Jul 10, 2013 at 6:50 PM, Mats Peterson wrote:
> Have you ever compared the regular expression performance between Perl
> and Python? If not, keep quiet.
I think I can see why you were suspended.
You and jmf should have a lot of fun together, I think.
ChrisA
--
http://mail.python.org/ma
I'm planning on buying a used ATT iPhone 5 off of craigslist, and i've been
reading on how some people sell their iPhones to people and later on
blacklisting it, screwing the buyer over, or how people are mistakenly
buying already blacklisted iPhones. I was wondering if there's a way I can
prevent
On 10 July 2013 10:12, Ian Kelly wrote:
> On Wed, Jul 10, 2013 at 2:46 AM, Mats Peterson wrote:
>>> Then they would have full control of this list and what gets pos
>>
>> Ahhh so this is pos, right? Telling the truth? Interesting.
>
> I don't know what you mean by that, but since the joke app
I just received a used iPhone I purchased on Amazon. I took the phone out of
the box and turned it on. The Apple logo appeared, then a "connect to
iTunes" screen appeared, with the text "No SIM card installed" over the
connect to iTunes graphic.
I installed my SIM (which I know works, as I just pu
I have a problem with my iPhone 3gs,
It was Jailbreaked with cydia and then one day it stoped working, all it
says is connect to itunes, and when I connect it to Itunes it say restore
iphone, when I do that it get stuck on waiting for iphone, it have been
stuck on that for 6 hours without doing an
On 2013-07-10 10:52, Joshua Landau wrote:
On 10 July 2013 10:12, Ian Kelly wrote:
On Wed, Jul 10, 2013 at 2:46 AM, Mats Peterson wrote:
Then they would have full control of this list and what gets pos
Ahhh so this is pos, right? Telling the truth? Interesting.
I don't know what you me
On 10 July 2013 08:55, Mats Peterson wrote:
> . [anumuson from Stack Overflow] has deleted all
> my postings regarding Python regular expression matching being
> extremely slow compared to Perl. Additionally my account has been
> suspended for 7 days. .
Whilst I don't normally respond to trolls,
Op 10-07-13 11:03, Mats Peterson schreef:
> Not a troll. It's just hard to convince Python users that their beloved
> language would have inferior regular expression performance to Perl.
All right, you have convinced me. Now what? Why should I care?
--
Antoon Pardon
--
http://mail.python.org/m
Google Groups is writing about your recently sent mail to "Joshua
Landau". Unfortunately this address has been discontinued from usage
for the foreseeable future. The sent message is displayed below:
On 10 July 2013 12:08, Robert Kern wrote:
>
> On 2013-07-10 10:52, Joshua Landau wrote:
>>
>>
>>
Steven D'Aprano wrote:
>On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote:
>
>> A moderator who calls himself “animuson” on Stack Overflow doesn’t
>want
>> to face the truth. He has deleted all my postings regarding Python
>> regular expression matching being extremely slow compared to Perl
> ... meant to be the word "posted", before his sentence got cut off by the
> Python Secret Underground.
Argh! That which shall not be named! Please, for the sake of all that
is right, please only use the initials, PS
--
http://mail.python.org/mailman/listinfo/python-list
Op Wed, 10 Jul 2013 12:12:10 +0100, schreef Joshua Landau:
>
> Do you have any non-trivial, properly benchmarked real-world examples
> that this affects, remembering to use full Unicode support in Perl (as
> Python has it by default)?
>
Indeed, as Joshua says, instead of going through all the
Antoon Pardon wrote:
> Op 10-07-13 11:03, Mats Peterson schreef:
>> Not a troll. It's just hard to convince Python users that their beloved
>> language would have inferior regular expression performance to Perl.
>
> All right, you have convinced me. Now what? Why should I care?
>
Right. Why shoul
On 10 July 2013 13:01, Mats Peterson wrote:
> Antoon Pardon wrote:
>> Op 10-07-13 11:03, Mats Peterson schreef:
>>> Not a troll. It's just hard to convince Python users that their beloved
>>> language would have inferior regular expression performance to Perl.
>>
>> All right, you have convinced
Joshua Landau wrote:
> On 10 July 2013 08:55, Mats Peterson wrote:
>> . [anumuson from Stack Overflow] has deleted all
>> my postings regarding Python regular expression matching being
>> extremely slow compared to Perl. Additionally my account has been
>> suspended for 7 days. .
>
> Whilst I don
Steven D'Aprano wrote:
> On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote:
>
>> A moderator who calls himself “animuson” on Stack Overflow doesn’t want
>> to face the truth. He has deleted all my postings regarding Python
>> regular expression matching being extremely slow compared to Perl.
On Wed, Jul 10, 2013 at 10:13 PM, Mats Peterson wrote:
> Steven D'Aprano wrote:
>> On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote:
>>
>>> A moderator who calls himself “animuson” on Stack Overflow doesn’t want
>>> to face the truth. He has deleted all my postings regarding Python
>>> reg
How do I turn off the genius button on the iPhone ? I keep hitting it
whenever I want to scrub to the middle of through a song. It's pretty
annoying.
-
used iphone
--
View this message in context:
http://python.6.x6.nabble.com/Turn-off-Genius-on-iPhone-tp5024341.html
Sent from the Python
On 10 July 2013 12:14, Antoon Pardon wrote:
> Op 10-07-13 11:03, Mats Peterson schreef:
>> Not a troll. It's just hard to convince Python users that their beloved
>> language would have inferior regular expression performance to Perl.
>
> All right, you have convinced me. Now what? Why should I ca
Chris Angelico wrote:
> On Wed, Jul 10, 2013 at 7:01 PM, Mats Peterson wrote:
>> Chris Angelico wrote:
>>> I know what regular expressions are. I've used them in Perl, PHP,
>>> JavaScript, Python, C++, Pike, and numerous text editors (which may
>>> have been backed by one of the above languages,
> Either that or it's funny only to other Australians.
Or the Dutch.
S
--
http://mail.python.org/mailman/listinfo/python-list
On 10/07/2013 14:22, Chris Angelico wrote:
Either that or it's funny only to other Australians. ChrisA
As a South African, I found it funny too, but then again, we often get
confused.
--
http://mail.python.org/mailman/listinfo/python-list
On 10 July 2013 13:35, Skip Montanaro wrote:
>> Either that or it's funny only to other Australians.
>
> Or the Dutch.
Or us Brits.
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Jul 10, 2013 at 7:39 AM, Joshua Landau wrote:
> On 10 July 2013 13:35, Skip Montanaro wrote:
>>> Either that or it's funny only to other Australians.
>>
>> Or the Dutch.
>
> Or us Brits.
Hells bells... It appears everyone found it funny except the trolls.
S
--
http://mail.python.org/m
Op Wed, 10 Jul 2013 12:06:06 +, schreef Mats Peterson:
> I haven't provided a "real-world" example, since I expect you Python
> Einsteins to be able do an A/B test between Python and Perl yourselves
> (provided you know Perl, of course, which I'm afraid is not always the
> case).
I don't kno
And now for something completely different.
I knocked together a prime number generator, just for the fun of it,
that works like a Sieve of Eratosthenes but unbounded. It keeps track
of all known primes and the "next composite" that it will produce -
for instance, after yielding 13, the prime map
Die
On Wed, Jul 10, 2013 at 6:49 AM, oswaldclem wrote:
> I'm planning on buying a used ATT iPhone 5 off of craigslist, and i've been
> reading on how some people sell their iPhones to people and later on
> blacklisting it, screwing the buyer over, or how people are mistakenly
> buying already b
On 2013-07-10, David T Ashley wrote:
> We develop embedded software for 32-bit micros using Windows as the
> development platform.
>
> We are seeking a general purpose scripting language to automate
> certain tasks, like cleaning out certain directories of certain types
> of files in preparation
On 07/10/2013 05:39 AM, Joshua Landau wrote:
On 10 July 2013 13:35, Skip Montanaro wrote:
Either that or it's funny only to other Australians.
Or the Dutch.
Or us Brits.
Or the Yanks...
Normally I kill-file threads like this pretty early on, but I have to
admit - I'm enjoying watching
On Wednesday, July 10, 2013 4:00:59 PM UTC+2, Chris Angelico wrote:
[...]
> So, a few questions. Firstly, is there a stdlib way to find the key
> with the lowest corresponding value? In the above map, it would return
> 3, because 18 is the lowest value in the list. I want to do this with
> a single
On Wed, 10 Jul 2013 08:46:44 +, Mats Peterson wrote:
> Chris Angelico wrote:
>> On Wed, Jul 10, 2013 at 6:33 PM, Mats Peterson
>> wrote:
>>> Steven D'Aprano wrote:
On Wed, 10 Jul 2013 18:26:19 +1000, Chris Angelico wrote:
[...]
> And this matters... how? What are we supposed to do
On Thu, Jul 11, 2013 at 12:35 AM, Bas wrote:
> On Wednesday, July 10, 2013 4:00:59 PM UTC+2, Chris Angelico wrote:
> [...]
>> So, a few questions. Firstly, is there a stdlib way to find the key
>> with the lowest corresponding value? In the above map, it would return
>> 3, because 18 is the lowest
On Tue, Jul 9, 2013 at 11:54 PM, Frank Millman wrote:
> You had me worried there for a moment, as that is obviously an error.
>
> Then I checked my actual code, and I find that I mis-transcribed it. It
> actually looks like this -
>
> with db_session as conn:
> db_session.transaction_a
On 10 July 2013 15:00, Chris Angelico wrote:
> And now for something completely different.
>
> I knocked together a prime number generator, just for the fun of it,
> that works like a Sieve of Eratosthenes but unbounded. It keeps track
> of all known primes and the "next composite" that it will pr
On Wednesday, July 10, 2013 5:12:19 PM UTC+2, Chris Angelico wrote:
> Well, that does answer the question. Unfortunately the use of lambda
> there has a severe performance cost [ ...]
If you care about speed, you might want to check the heapq module. Removing the
smallest item and inserting a new
Hi there folks,
I'm pleased to announce the 1.0.0 release of psutil:
http://code.google.com/p/psutil/
=== About ===
psutil is a module providing an interface for retrieving information
on all running processes and system utilization (CPU, memory, disks,
network, users) in a portable way by using
On 10 July 2013 10:00, Steven D'Aprano wrote:
> On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote:
>
>> A moderator who calls himself “animuson” on Stack Overflow doesn’t want
>> to face the truth. He has deleted all my postings regarding Python
>> regular expression matching being extremely
On 07/09/2013 10:54 PM, Frank Millman wrote:
"Ian Kelly" wrote in message
news:calwzidnf3obe0enf3xthlj5a40k8hxvthveipecq8+34zxy...@mail.gmail.com...
On Tue, Jul 9, 2013 at 10:07 AM, Ethan Furman wrote:
You could also do it like this:
def updating(self):
self.transaction_active
On Thu, Jul 11, 2013 at 1:43 AM, Joshua Landau wrote:
>> So, a few questions. Firstly, is there...
> Of course there is.
>
>> Secondly, can the...
> Of course it can.
>
>> Thirdly, is there...
> Of course there is. I have no clue what, though.
Heh, I guess I was asking for that kind of response :
On Thu, 11 Jul 2013 00:00:59 +1000, Chris Angelico wrote:
> And now for something completely different.
>
> I knocked together a prime number generator, just for the fun of it,
> that works like a Sieve of Eratosthenes but unbounded.
[...]
> So, a few questions. Firstly, is there a stdlib way to
On Wed, 10 Jul 2013 17:46:13 +0200, Giampaolo Rodola' wrote:
> Hi there folks,
> I'm pleased to announce the 1.0.0 release of psutil:
> http://code.google.com/p/psutil/
Congratulations on the 1.0.0 release!
--
Steven
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Jul 10, 2013 at 6:06 AM, Mats Peterson wrote:
> Joshua Landau wrote:
>> If you actually can satisfy these basic standards for a comparison (as
>> I'm sure any competent person with so much bravo could) I'd be willing
>> to converse with you. I'd like to see these results where Python comp
Hi.
I'm pleased to announce the 1.0.0 release of psutil:
http://code.google.com/p/psutil/
Great! :-)
Btw. any change you can put up a prebuilt installer for a 64-bit
built with Python 3.3? You have one for Python 3.2
(http://code.google.com/p/psutil/downloads/list), but the version fo
On Wed, 10 Jul 2013 09:03:24 +, Mats Peterson wrote:
> Not a troll. It's just hard to convince Python users that their beloved
> language would have inferior regular expression performance to Perl.
I can't speak for others, but I've known for many years that Python's
regex implementation was
On Wed, Jul 10, 2013 at 8:00 AM, Chris Angelico wrote:
> And now for something completely different.
>
> I knocked together a prime number generator, just for the fun of it,
> that works like a Sieve of Eratosthenes but unbounded. It keeps track
> of all known primes and the "next composite" that
On Thu, Jul 11, 2013 at 1:47 AM, bas wrote:
> On Wednesday, July 10, 2013 5:12:19 PM UTC+2, Chris Angelico wrote:
>> Well, that does answer the question. Unfortunately the use of lambda
>> there has a severe performance cost [ ...]
> If you care about speed, you might want to check the heapq modul
On 07/10/2013 08:54 AM, Joshua Landau wrote:
On 10 July 2013 10:00, Steven D'Aprano wrote:
On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote:
A moderator who calls himself “animuson” on Stack Overflow doesn’t want
to face the truth. He has deleted all my postings regarding Python
regula
call your mom
On Wed, Jul 10, 2013 at 12:18 PM, Ethan Furman wrote:
> On 07/10/2013 08:54 AM, Joshua Landau wrote:
>
>> On 10 July 2013 10:00, Steven D'Aprano wrote:
>>
>>> On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote:
>>>
>>> A moderator who calls himself “animuson” on Stack Overf
On Thu, Jul 11, 2013 at 2:01 AM, Steven D'Aprano
wrote:
> On Thu, 11 Jul 2013 00:00:59 +1000, Chris Angelico wrote:
>> Thirdly, is there any sort of half-sane benchmark that I
>> can compare this code to? And finally, whose wheel did I reinvent here?
>> What name would this algorithm have?
>
> I c
On Wed, Jul 10, 2013 at 10:16 AM, Ian Kelly wrote:
> The other interesting thing about my sieve is that it's a recursive
> generator. I'll dig it up later and share it.
As promised. Apologies for the excessive commenting. As noted, this
implementation is a recursive generator, which is done so
On Thu, Jul 11, 2013 at 2:54 AM, Ian Kelly wrote:
> As promised. Apologies for the excessive commenting. As noted, this
> implementation is a recursive generator, which is done so that the
> primes in the sieve can go only up to the square root of the current
> prime, rather than tossing in ever
On Wed, 10 Jul 2013 16:54:02 +0100, Joshua Landau wrote:
> On 10 July 2013 10:00, Steven D'Aprano wrote:
>> On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote:
>>
>>> A moderator who calls himself “animuson” on Stack Overflow doesn’t
>>> want to face the truth. He has deleted all my postings
On 10 July 2013 17:15, Chris Angelico wrote:
> On Thu, Jul 11, 2013 at 1:47 AM, bas wrote:
>> On Wednesday, July 10, 2013 5:12:19 PM UTC+2, Chris Angelico wrote:
>>> Well, that does answer the question. Unfortunately the use of lambda
>>> there has a severe performance cost [ ...]
>> If you care
On 10 July 2013 18:15, Steven D'Aprano
wrote:
> On Wed, 10 Jul 2013 16:54:02 +0100, Joshua Landau wrote:
>
>> On 10 July 2013 10:00, Steven D'Aprano wrote:
>>> On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote:
>>>
A moderator who calls himself “animuson” on Stack Overflow doesn’t
On 10 July 2013 17:18, Ethan Furman wrote:
> On 07/10/2013 08:54 AM, Joshua Landau wrote:
>>
>> On 10 July 2013 10:00, Steven D'Aprano wrote:
>>>
>>> On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote:
>>>
A moderator who calls himself “animuson” on Stack Overflow doesn’t want
to f
On 7/10/2013 3:55 AM, Mats Peterson wrote:
A moderator who calls himself “animuson” on Stack Overflow doesn’t
want to face the truth. He has deleted all my postings regarding Python
regular expression matching being extremely slow compared to Perl.
Additionally my account has been suspended for 7
On Wed, Jul 10, 2013 at 11:47 AM, Joshua Landau wrote:
>>> If you care about speed, you might want to check the heapq module. Removing
>>> the smallest item and inserting a new item in a heap both cost O(log(N))
>>> time, while finding the minimum in a dictionary requires iterating over the
>>>
On 10 July 2013 19:56, Ian Kelly wrote:
> On Wed, Jul 10, 2013 at 11:47 AM, Joshua Landau wrote:
If you care about speed, you might want to check the heapq module.
Removing the smallest item and inserting a new item in a heap both cost
O(log(N)) time, while finding the minimum in
On 7/10/2013 4:58 AM, Russel Walker wrote:
There is the name x and the class instance (the object) which exists
somewhere in memory that x points to. self is just another name that
points to the same object (not self in general but the argument
passed to the self parameter when a method is calle
David T. Ashley writes:
> We develop embedded software for 32-bit micros using Windows as the
> development platform.
...
> I know that Tcl/Tk would do all of the above, but what about Python?
> Any other alternatives?
Given that list, I'd say just use Tcl and be done. You could force the
squar
On Wednesday, July 10, 2013 9:33:25 PM UTC+2, Terry Reedy wrote:
> On 7/10/2013 4:58 AM, Russel Walker wrote:
>
>
>
> > There is the name x and the class instance (the object) which exists
>
> > somewhere in memory that x points to. self is just another name that
>
> > points to the same objec
Hi all,
I'm trying to write an Twisted program that uses the Application object (and
will run with twistd) and I'd like to parse command line arguments. The Twisted
documentation shows how to use a Twisted thing called usage.Options. However to
me this looks a lot like the older Python module g
On Tue, Jul 9, 2013 at 10:49 PM, CM wrote:
> Can all the installation of the runtimes be done with an installer that is
> itself an .exe, like with PyInstaller? If so, that's probably fine.
It should be noted that PyInstaller is confusingly named. It actually
creates standalone executables, no
On 10 Jul 2013 15:15, "Rodrick Brown" wrote:
>
> Die
>
>
> On Wed, Jul 10, 2013 at 6:49 AM, oswaldclem wrote:
>>
>> I'm planning on buying a used ATT iPhone 5 off of craigslist, and i've
been
>> reading on how some people sell their iPhones to people and later on
>> blacklisting it, screwing the
I've been mucking around with this silly class pretty much the whole day and my
eyes are about closing now so this is the solution for now I think. Please feel
free to drop any suggestions. I think I mostly just ended up shaving off allot
of extraneous responsibility for the class, that and inhe
> I was mainly talking in the context of the original post, where it
> seems something slightly different was meant. If you're deploying to
> customers, you'd want to offer them an installer. At least, I think
> you would. That's different from packing Python into a .exe file and
> pretending it'
On Wed, 10 Jul 2013 18:53:34 +0100, Joshua Landau wrote:
> I might be misattributing posts then. Or... YOU'RE IN DENIAL!
Ranting Rick? Is that you?
:-)
> Who wins? You decide!
Ah, definitely not RR :-)
--
Steven
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Jul 10, 2013 at 4:50 PM, Russel Walker wrote:
> def append(self, x):
> if len(self) < 3:
> list.append(self, x)
> else:
> oldself = LRExpression(*self)
> self.__init__(oldself)
> self.append(x)
It's probably not wise to b
The first item in a sequence is at index zero because it is that far away from
the beginning. The second item is one away from the beginning. That is the
reason for zero-based indexing.
--
http://mail.python.org/mailman/listinfo/python-list
On 11 July 2013 00:18, CM wrote:
>
>> I was mainly talking in the context of the original post, where it
>> seems something slightly different was meant. If you're deploying to
>> customers, you'd want to offer them an installer. At least, I think
>> you would. That's different from packing Python
1 - 100 of 119 matches
Mail list logo