Chris Angelico wrote:
On Wed, Jun 4, 2014 at 11:18 AM, Roy Smith wrote:
Um, you mean cent(er|re), don't you? The
pattern you wrote also matches centee and centrr.
Maybe there's someone who spells it that way!
Come visit Pirate Island, the centrr of the universe!
--
Pegleg Greg
--
https:/
> -Original Message-
> From: et...@stoneleaf.us
> Sent: Tue, 03 Jun 2014 18:24:01 -0700
> To: python-list@python.org
> Subject: Re: immutable vs mutable
> Deb, do yourself a favor and just trash-can anything from Mark Harris.
>
> And keep asking questions.
>
> --
> ~Ethan~
Oh, I will.
On Jun 3, 2014 11:46 PM, "Jaydeep Patil" wrote:
> Below is the sample function which doing copy paste in my case.
> I am copying data directly by column, not reading each & every value.
> Data is too big in heavy.
The approach I suggested also operates on ranges, not individual cells.
--
https:/
On Jun 3, 2014 11:27 PM, "Steven D'Aprano" wrote:
> For technical reasons which I don't fully understand, Unicode only
> uses 21 of those 32 bits, giving a total of 1114112 available code
> points.
I think mainly it's to accommodate UTF-16. The surrogate pair scheme is
sufficient to encode up to
On Wednesday, 4 June 2014 10:28:28 UTC+5:30, Ian wrote:
> On Tue, Jun 3, 2014 at 9:55 PM, Jaydeep Patil wrote:
>
> > Hi lan,
>
> >
>
> > For plotting one graph, I need to use four to five excel files. Currently I
> > am reading excel files one by one and copy data of excel files to another
>
On Wednesday, June 4, 2014 10:50:21 AM UTC+5:30, Steven D'Aprano wrote:
> On Tue, 03 Jun 2014 20:37:27 -0700, Rustom Mody wrote:
> > And so a pure BMP-supporting implementation may be a reasonable
> > compromise. [As long as no surrogate-pairs are there]
> At the cost on one extra bit, strings cou
On Tue, 03 Jun 2014 20:37:27 -0700, Rustom Mody wrote:
> On Wednesday, June 4, 2014 3:11:12 AM UTC+5:30, Paul Sokolovsky wrote:
>
>> With that in mind, I, as many others, think that forcing Unicode bloat
>> upon people by default is the most controversial feature of Python3.
>> The reason is that
Steven D'Aprano :
> On Wed, 04 Jun 2014 00:19:34 +0300, Marko Rauhamaa wrote:
>> I don't think static typing and Python should be mentioned in the
>> same sentence.
>
> Guido disagrees with you:
Do you have an opinion yourself?
Marko
--
https://mail.python.org/mailman/listinfo/python-list
On 03/06/14 14:57, Chris Angelico wrote:
On Tue, Jun 3, 2014 at 9:05 PM, Burak Arslan wrote:
On 06/03/14 12:30, Chris Angelico wrote:
Write me a purely nonblocking
web site concept that can handle a million concurrent connections,
where each one requires one query against the database, and one
On Wed, 04 Jun 2014 12:27:36 +1000, Chris Angelico wrote:
> Want to be sure your questions are smart? Willing to put in a bit of
> effort to make yourself welcomed not just courteously, but
> enthusiastically? Check out this essay, one of the more famous ones:
>
> http://www.catb.org/esr/faqs/sma
On Tue, Jun 3, 2014 at 10:40 PM, Rustom Mody wrote:
>> 1) Most or all Chinese and Japanese characters
>
> Dont know how you count 'most'
>
> | One possible rationale is the desire to limit the size of the full
> | Unicode character set, where CJK characters as represented by discrete
> | ideograms
On Tue, Jun 3, 2014 at 9:55 PM, Jaydeep Patil wrote:
> Hi lan,
>
> For plotting one graph, I need to use four to five excel files. Currently I
> am reading excel files one by one and copy data of excel files to another
> single master excel file. This master excel file consists of all data from
On Tue, 03 Jun 2014 16:49:55 -0500, Mark H Harris wrote:
> I have been engaged in a minor flame debate (locally) over block
> delimiters (or lack thereof) which I'm loosing. Locally, people hate
> python's indentation block delimiting, and wish python would adopt curly
> braces.
Cats.
"It's dif
On Wednesday, June 4, 2014 9:22:54 AM UTC+5:30, Chris Angelico wrote:
> On Wed, Jun 4, 2014 at 1:37 PM, Rustom Mody wrote:
> > And so a pure BMP-supporting implementation may be a reasonable
> > compromise. [As long as no surrogate-pairs are there]
> Not if you're working on the internet. There ar
On 6/3/2014 10:21 PM, Chris Angelico wrote:
https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/StringsAndCharacters.html
Yeah, I was looking at the same page. Note how, further down, a syntax
is given for non-BMP character entities (the
On Wed, 04 Jun 2014 00:19:34 +0300, Marko Rauhamaa wrote:
> Sturla Molden :
>
>> A Python with static typing would have been far better, IMHO.
>
> I don't think static typing and Python should be mentioned in the same
> sentence.
Guido disagrees with you:
https://www.python.org/~guido/static-
On Tue, 03 Jun 2014 20:27:39 +0100, Nicholas Cole wrote:
> Swift may yet be good for PyObjC (the python bridge to the various Apple
> libraries); it is possible that there is some kind of translation table
> that PyObjC can make use of to make its own method names less ugly.
>
> Of course, I wish
On Tuesday, 3 June 2014 20:57:32 UTC+5:30, Ian wrote:
> On Jun 3, 2014 1:56 AM, "Jaydeep Patil" wrote:
>
> > I have another query.
>
> >
>
> > We can now block user inputs. But in my automation three is copy & paste
> > work going on continuously in Excel before plotting the graphs.
>
> >
>
>
>> And keep asking questions.
>
> ... but this is definitely good advice. Want to get the most out of
> your computer? Step one: Don't be afraid of it. Step two: Don't be
> afraid of us, either. There's very little you can do on a computer
> that's unexpectedly damaging, and it's easy to keep
On Wed, Jun 4, 2014 at 1:37 PM, Rustom Mody wrote:
> 2. My casual/cursory reading of the contents of the SMP-planes
> suggests that the stuff there is are things like
> - egyptian hieroplyphics
> - mahjong characters
> - ancient greek musical symbols
> - alchemical symbols etc etc.
>
> IOW from po
On Wednesday, June 4, 2014 3:11:12 AM UTC+5:30, Paul Sokolovsky wrote:
> With that in mind, I, as many others, think that forcing Unicode bloat
> upon people by default is the most controversial feature of Python3.
> The reason is that you go very long way dealing with languages of the
> people of
On 2014-06-04 12:16, Chris Angelico wrote:
> On Wed, Jun 4, 2014 at 11:11 AM, Tim Chase
> wrote:
> > I then take row 2 and use it to make a mapping of header-name to a
> > slice-object for slicing the subsequent strings:
> >
> > slice(i.start(), i.end())
> >
> > print("EmpID = %s" % row[
On Wed, Jun 4, 2014 at 12:30 PM, Nikolaus Rath wrote:
> I've instrumented one of my unit tests with a conditional
> 'pdb.set_trace' in some circumstances (specifically, when a function is
> called by a thread other than MainThread).
I think the likelihood of this being an issue with interactive
d
Hello,
(This may or may not be related to my mail about a "corrupted stack
trace").
I've instrumented one of my unit tests with a conditional
'pdb.set_trace' in some circumstances (specifically, when a function is
called by a thread other than MainThread). However, when trying to print
a back tra
On Wed, Jun 4, 2014 at 12:20 PM, Nikolaus Rath wrote:
> File "/usr/lib/python3.3/threading.py", line 878 in _bootstrap
Can you replicate the problem in a non-threaded environment? Threads
make interactive debugging very hairy.
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, Jun 4, 2014 at 11:24 AM, Ethan Furman wrote:
> On 06/03/2014 06:14 PM, Deb Wyatt wrote:
>>
>> Mark Harris wrote:
>>>
>>>
>>> The examples deal mostly with names and scope. The article in my opinion
>>> confuses a Python concept which is otherwise very straight-forward which
>>> has been be
On Wed, Jun 4, 2014 at 11:47 AM, Michael Torrie wrote:
> A Swift string is simply a one-to-one mapping of the NSString class.
> Apple claims it is "unicode compliant" whatever that means.
>
> https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Langua
Hello,
I'm trying to debug a problem. As far as I can tell, one of my methods
is called at a point where it really should not be called. When setting
a breakpoint in the function, I'm getting this:
> /home/nikratio/in-progress/s3ql/src/s3ql/backends/s3c.py(693)close()
-> if not self.md5_checked:
On Wed, Jun 4, 2014 at 11:11 AM, Tim Chase
wrote:
> I then take row 2 and use it to make a mapping of header-name to a
> slice-object for slicing the subsequent strings:
>
> slice(i.start(), i.end())
>
> print("EmpID = %s" % row[header_map["EMPID"]].strip())
> print("Name = %s" % row
On Wed, Jun 4, 2014 at 11:18 AM, Roy Smith wrote:
> In article ,
> Chris Angelico wrote:
>
>> A current discussion regarding Python's Unicode support centres (or
>> centers, depending on how close you are to the cent[er]{2} of the
>> universe)
>
> Um, you mean cent(er|re), don't you? The
> patt
On 06/03/2014 03:01 PM, Chris Angelico wrote:
> On Wed, Jun 4, 2014 at 6:43 AM, Sturla Molden wrote:
>> A Python with static typing would have been far better, IMHO. It seems they
>> have created a Python-JavaScript bastard with random mix of features.
>> Unfortunately they retained the curly brac
On 06/03/2014 05:39 PM, Chris Angelico wrote:
A current discussion regarding Python's Unicode support centres (or
centers, depending on how close you are to the cent[er]{2} of the
universe) around one critical question: Is string indexing common?
I use it quite a bit, but the strings are usual
On 06/03/2014 06:14 PM, Deb Wyatt wrote:
Mark Harris wrote:
The examples deal mostly with names and scope. The article in my opinion
confuses a Python concept which is otherwise very straight-forward which
has been beat to death on this forum.
Well, I'm glad you find this concept straight-for
In article ,
Chris Angelico wrote:
> A current discussion regarding Python's Unicode support centres (or
> centers, depending on how close you are to the cent[er]{2} of the
> universe)
Um, you mean cent(er|re), don't you? The
pattern you wrote also matches centee and centrr.
> around one cri
>
> The examples deal mostly with names and scope. The article in my opinion
> confuses a Python concept which is otherwise very straight-forward which
> has been beat to death on this forum.
>
> marcus
Well, I'm glad you find this concept straight-forward. I guess I'm not as
smart as you. I
>
> The examples deal mostly with names and scope. The article in my opinion
> confuses a Python concept which is otherwise very straight-forward which
> has been beat to death on this forum.
>
> marcus
Well, I'm glad you find this concept straight-forward. I guess I'm not as
smart as you. I
On 2014-06-04 10:39, Chris Angelico wrote:
> A current discussion regarding Python's Unicode support centres (or
> centers, depending on how close you are to the cent[er]{2} of the
> universe) around one critical question: Is string indexing common?
>
> Python strings can be indexed with integers
On Wed, Jun 4, 2014 at 5:43 AM, Skafec, Allison
wrote:
> Please forgive me, as I am new to installing and configuring Python. I am a
> server administrator trying to install a new version of Python on a server.
> We currently have Python version 2.7 installed (located at C:/Python27),
> along with
A current discussion regarding Python's Unicode support centres (or
centers, depending on how close you are to the cent[er]{2} of the
universe) around one critical question: Is string indexing common?
Python strings can be indexed with integers to produce characters
(strings of length 1). They can
Hello All-
Please forgive me, as I am new to installing and configuring Python. I am a
server administrator trying to install a new version of Python on a server. We
currently have Python version 2.7 installed (located at C:/Python27), along
with Python (x,y) and using Spyder2 to view. I have i
Le 28/05/2014 13:31, Sameer Rathoud a écrit :
I was searching for spyder, but didn't got any helpful installable.
What problem did you encounter while trying to install spyder ?
Spyder is oriented towards scientific applications, but can be used as a
general python IDE. I use it for GUI devel
On 04/06/14 01:39, Kevin Walzer wrote:
On 6/3/14, 4:43 PM, Sturla Molden wrote:
Are Python apps still banned from AppStore, even if we bundle an
interpreter?
Python apps are not banned from the App Store. See
https://itunes.apple.com/us/app/quickwho/id419483981?mt=12.
Mac AppStore yes, iOS
On 6/3/14, 4:43 PM, Sturla Molden wrote:
Are Python apps still banned from AppStore, even if we bundle an
interpreter?
Python apps are not banned from the App Store. See
https://itunes.apple.com/us/app/quickwho/id419483981?mt=12.
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.
On 6/3/2014 7:29 PM, Chris Angelico wrote:
On Wed, Jun 4, 2014 at 9:22 AM, Eric S. Johansson wrote:
On the other hand, curly braces are royal pain to dictate or navigate around
when programming with speech recognition.
I've never done that, in any language, but if I had to guess, I'd say
that
On Wed, Jun 4, 2014 at 9:22 AM, Eric S. Johansson wrote:
> On the other hand, curly braces are royal pain to dictate or navigate around
> when programming with speech recognition.
I've never done that, in any language, but if I had to guess, I'd say
that both braces and indentation are harder to
On 6/3/2014 5:49 PM, Mark H Harris wrote:
I have been engaged in a minor flame debate (locally) over block
delimiters (or lack thereof) which I'm loosing. Locally, people hate
python's indentation block delimiting, and wish python would adopt
curly braces. I do not agree, of course; however,
On Wed, Jun 4, 2014 at 7:49 AM, Mark H Harris wrote:
> On 6/3/14 3:43 PM, Sturla Molden wrote:
>>
>> Nicholas Cole wrote:
>
>> {snip}
>
>> Unfortunately they retained the curly brackets from JS...
>>
>
> The curly braces come from C, and before that B and A/.
>
> (I think others used them too bef
On Wed, Jun 4, 2014 at 7:41 AM, Paul Sokolovsky wrote:
> Hello,
>
> On Wed, 4 Jun 2014 03:08:57 +1000
> Chris Angelico wrote:
>
> []
>
>> With that encouragement, I just cloned your repo and built it on amd64
>> Debian Wheezy. Works just fine! Except... I've just found one fairly
>> major problem
On 6/3/14 3:43 PM, Sturla Molden wrote:
Nicholas Cole wrote:
> {snip}
Unfortunately they retained the curly brackets from JS...
The curly braces come from C, and before that B and A/.
(I think others used them too before that, but it escapes me now and I'm
too lazy to google it)
... but
Hello,
On Wed, 4 Jun 2014 03:08:57 +1000
Chris Angelico wrote:
[]
> With that encouragement, I just cloned your repo and built it on amd64
> Debian Wheezy. Works just fine! Except... I've just found one fairly
> major problem with your support of Python 3.x syntax. Your str type is
> documented
>
> Are you trying to implement your own code rather than use an existing
> library from pypi?
I borrowed the idea from a previous file which I was working on. I input
variables and coefficients as lists and then inturn as matrices to the CPLEX.
So, I have a problem with expressing the constr
Sturla Molden :
> A Python with static typing would have been far better, IMHO.
I don't think static typing and Python should be mentioned in the same
sentence.
> It seems they have created a Python-JavaScript bastard with random mix
> of features. Unfortunately they retained the curly brackets
I came now a bit further with Python 3 but I'm hitting a total
road-block right now with the importer in C++ which worked in Py2 but is
now totally broken in Py3. In general I've got a C++ class based module
which has two methods:
{ "find_module", ( PyCFunction )spModuleModuleLoader::cfFindModule,
On 6/3/14 1:26 PM, Skip Montanaro wrote:
From Apple's perspective, there's always platform lock-in. That's good
for them, so it must be good for you, right? :-)
http://www.theregister.co.uk/2014/06/02/apple_aims_to_speed_up_secure_coding_with_swift_programming_language/
The key to this "Swif
On Wed, Jun 4, 2014 at 6:43 AM, Sturla Molden wrote:
> A Python with static typing would have been far better, IMHO. It seems they
> have created a Python-JavaScript bastard with random mix of features.
> Unfortunately they retained the curly brackets from JS...
More important than the syntax is
Ramas Sami writes:
> My Python 3.3 is shutting down soon I open the new file or existing
> Python file
Please start a new thread to start a new discussion.
Also, *before* you want to participate, don't reply to a digest message.
Instead, first disable “digest mode” in your subscription setting
Nicholas Cole wrote:
> Of course, I wish they had picked Python rather than inventing their
> own language. But Apple put a huge stock in the ability of their
> libraries to make full use of multiple cores.
The GIL is not relevant if they stick to the Objective-C runtime and LLVM.
> The GIL
On 6/3/14 12:29 PM, Deb Wyatt wrote:
http://www.spontaneoussymmetry.com/blog/archives/438
Deb in WA, USA
The article is bogged down in unnecessary complications with regard to
mutability (or not) and pass-by reference|value stuff. The author risks
confusing her audience (those who are perh
Thanks everyone for your help. I also found this article while I was waiting
for answers from this list, in case anybody else is interested in this topic:
http://www.spontaneoussymmetry.com/blog/archives/438
Deb in WA, USA
FREE ONLI
Swift may yet be good for PyObjC (the python bridge to the various
Apple libraries); it is possible that there is some kind of
translation table that PyObjC can make use of to make its own method
names less ugly.
Of course, I wish they had picked Python rather than inventing their
own language. B
I'm familiar with and have learned much from fabric. Its execution model don't
work for this specific interface I'm working on. I use fabric for other things
though and it's great.
Ian
--
https://mail.python.org/mailman/listinfo/python-list
>From Apple's perspective, there's always platform lock-in. That's good
for them, so it must be good for you, right? :-)
Skip
--
https://mail.python.org/mailman/listinfo/python-list
On 6/3/2014 10:18 AM, Robin Becker wrote:
I think the idea that we only give meaning to binary data using
encodings is a bit limiting.
On the contrary, it is liberating. The fact that bits have no meaning
other than 'a choice between two alterntives' means
1. any binary choice - 0/1, -/+, fal
Dear Apple,
Why should I be exited about an illegitmate child of Python, Go and
JavaScript?
Because it has curly brackets, no sane exception handling, and sucks less
than Objective-C?
Because init is spelled without double underscores?
Because it faster than Python? Computers and smart phones
On Wed, Jun 4, 2014 at 2:49 AM, Paul Sokolovsky wrote:
> As can be seen from the dump above, MicroPython perfectly works on a
> Linux system, so we encourage any pythonista to touch a little bit of
> Python magic and give it a try! ;-) And we of course interested to get
> feedback how portable it
Hello,
On Tue, 3 Jun 2014 23:11:46 +1000
Chris Angelico wrote:
> On Tue, Jun 3, 2014 at 10:27 PM, Damien George
> wrote:
> > - Supports almost full Python 3 syntax, including yield (compiles
> > 99.99% of the Python 3 standard library).
> > - It supports a growing subset of Python 3 types and o
In article <3c0be3a7-9d2d-4530-958b-13be97db3...@googlegroups.com>,
mennis wrote:
> Here I have a simple multiprocessing class that when initializes takes a
> connected SSHClient instance and a command to run on the associated host in a
> new channel.
ChrisA has already answered your question
On Wed, Jun 4, 2014 at 2:34 AM, Steven D'Aprano
wrote:
> Outside of those three kinds of files, I would expect that *by far* the
> single largest kind of file is text. Some text is wrapped in a binary
> layer, e.g. .doc, .odt, etc. but an awful lot of it is good old human
> readable text, includin
On 6/3/2014 6:07 AM, Ramas Sami wrote:
My Python 3.3 is shutting down soon I open the new file or existing
Python file
Ramas, DO NOT reply to the digest with 100s of lines of other messages.
Start a new thread.
DO include enough information with your question so it can possibly be
answered
On Mon, 02 Jun 2014 12:10:48 +0100, Robin Becker wrote:
> there seems to be an implicit assumption in python land that encoded
> strings are the norm. On virtually every computer I encounter that
> assumption is wrong. The vast majority of bytes in most computers is not
> something that can be eas
On Tue, 03 Jun 2014 13:40:43 +0100, Mark Lawrence wrote:
> An interesting article from Lennart Regebro
> http://regebro.wordpress.com/2014/06/03/would-a-python-2-8-help-you-
port-to-python-3/
> although I'm inclined to ignore it as it appears to be factual. We
> can't have that getting in the way
Chris Angelico :
> Okay. How do you do basic logging? (Also - rolling your own logging
> facilities, instead of using what Python provides, is the simpler
> solution? This does not aid your case.)
Asyncio is fresh out of the oven. It's going to take years before the
standard libraries catch up wi
On Wed, Jun 4, 2014 at 1:43 AM, mennis wrote:
> I was able to work around this by using a completely different design but I
> still don''t understand why this doesn't work. It appears that the process
> that launches the process doesn't get access to updated object attributes.
> When I set an
I was able to work around this by using a completely different design but I
still don''t understand why this doesn't work. It appears that the process
that launches the process doesn't get access to updated object attributes.
When I set and check them in the object itself it behaves as expecte
In article <87ha42uos2@elektro.pacujo.net>,
Marko Rauhamaa wrote:
> Chris Angelico :
>
> > I don't see how Marko's assertion that event-driven asynchronous
> > programming is a breath of fresh air compared with multithreading. The
> > only way multithreading can possibly be more complicated
On Jun 3, 2014 1:56 AM, "Jaydeep Patil" wrote:
> I have another query.
>
> We can now block user inputs. But in my automation three is copy & paste
work going on continuously in Excel before plotting the graphs.
>
> During copy paste of excel data, if user by mistake doing some copy &
paste opera
On Wed, Jun 4, 2014 at 1:15 AM, Mark Lawrence wrote:
> I also observe the gmail address which I'm assuming means google groups.
No need to assume - the OP's headers show Google Groups injection info.
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
On 03/06/2014 14:44, varun...@gmail.com wrote:
I have a problem in writing a constraint in Python. Firstly, I wrote the code
in AMPL and it was working and I'm using Python for the reason that it is more
suitable to handle large data. I managed to write the code quite fine except
for one const
On Wed, Jun 4, 2014 at 12:18 AM, Robin Becker wrote:
> I think the idea that we only give meaning to binary data using encodings is
> a bit limiting. A zip or gif file has structure, but I don't think it's
> reasonable to regard such a file as having an encoding in the python unicode
> sense.
Of
On 02Jun2014 21:35, Deb Wyatt wrote:
Please adjust your mailer to send plain text only. It is all you need
anyway,
and renders more reliably for other people.
I am so sorry, I did not realize it was a problem. Hopefully it will behave
now.
Looks just great now. Many thanks.
Cheers,
Camero
The problem is that causal readers like Robin sometimes jump from 'In Python 3,
it can be hard to do something one really ought not to do' to 'Binary I/O is
hard in Python 3' -- which is is not.
I'm fairly causal and I did understand that the rant was a bit over the top for
fairly prac
On Tue, 03 Jun 2014 13:27:11 +0100, Damien George wrote:
> Hi,
>
> We would like to announce Micro Python, an implementation of Python 3
> optimised to have a low memory footprint.
Fantastic!
--
Steven D'Aprano
http://import-that.dreamwidth.org/
--
https://mail.python.org/mailman/listinfo/
On Tue, Jun 3, 2014 at 11:42 PM, Marko Rauhamaa wrote:
> Chris Angelico :
>
>> https://docs.python.org/3.4/library/logging.html#logging.Logger.debug
>>
>> What happens if that blocks? How can you make sure it won't?
>
> I haven't used that class. Generally, Python standard libraries are not
> read
On Tue, Jun 3, 2014 at 10:40 PM, Mark Lawrence wrote:
> An interesting article from Lennart Regebro
> http://regebro.wordpress.com/2014/06/03/would-a-python-2-8-help-you-port-to-python-3/
> although I'm inclined to ignore it as it appears to be factual. We can't
> have that getting in the way of
I have a problem in writing a constraint in Python. Firstly, I wrote the code
in AMPL and it was working and I'm using Python for the reason that it is more
suitable to handle large data. I managed to write the code quite fine except
for one constraint(Link Mapping Constraint). I've attached pie
Chris Angelico :
> https://docs.python.org/3.4/library/logging.html#logging.Logger.debug
>
> What happens if that blocks? How can you make sure it won't?
I haven't used that class. Generally, Python standard libraries are not
readily usable for nonblocking I/O.
For myself, I have solved that par
On Tue, Jun 3, 2014 at 11:05 PM, Marko Rauhamaa wrote:
> Chris Angelico :
>
>> I don't see how Marko's assertion that event-driven asynchronous
>> programming is a breath of fresh air compared with multithreading. The
>> only way multithreading can possibly be more complicated is that
>> preemptio
On Tue, Jun 3, 2014 at 10:27 PM, Damien George
wrote:
> - Supports almost full Python 3 syntax, including yield (compiles
> 99.99% of the Python 3 standard library).
> - It supports a growing subset of Python 3 types and operations.
> - Part of the Python 3 standard library has already been ported
Chris Angelico :
> I don't see how Marko's assertion that event-driven asynchronous
> programming is a breath of fresh air compared with multithreading. The
> only way multithreading can possibly be more complicated is that
> preemption can occur anywhere - and that's exactly one of the big
> flaw
An interesting article from Lennart Regebro
http://regebro.wordpress.com/2014/06/03/would-a-python-2-8-help-you-port-to-python-3/
although I'm inclined to ignore it as it appears to be factual. We
can't have that getting in the way of plain, good, old fashioned FUD now
can we?
--
My fellow P
Hi,
We would like to announce Micro Python, an implementation of Python 3
optimised to have a low memory footprint.
While Python has many attractive features, current implementations
(read CPython) are not suited for embedded devices, such as
microcontrollers and small systems-on-a-chip. This is
On Tue, Jun 3, 2014 at 9:09 PM, Frank Millman wrote:
> So why not keep a 'connection pool', and for every potentially blocking
> request, grab a connection, set up a callback or a 'yield from' to wait for
> the response, and unblock.
Compare against a thread pool, where each thread simply does bl
On Tue, Jun 3, 2014 at 9:05 PM, Burak Arslan wrote:
> On 06/03/14 12:30, Chris Angelico wrote:
>> Write me a purely nonblocking
>> web site concept that can handle a million concurrent connections,
>> where each one requires one query against the database, and one in a
>> hundred of them require f
On Tue, 03 Jun 2014 10:01:26 +0200, Peter Otten wrote:
> Steven D'Aprano wrote:
>
>> On Mon, 02 Jun 2014 20:05:29 +0200, robertw89 wrote:
>>
>>> I invoked the wrong bug.py :/ , works fine now (this happens to me
>>> when im a bit tired sometimes...).
>>
>> Clarity in naming is an excellent thin
On 6/3/14 4:03 AM, Mark Lawrence wrote:
On 03/06/2014 07:30, Rustom Mody wrote:
On Tuesday, June 3, 2014 11:42:30 AM UTC+5:30, jmf wrote:
after thinking no
Yes [Also called Oui]
I'm very puzzled over "thinking", what context was this in as I've
kill-filed our most illustrious resident uni
Chris Angelico :
> your throughput is defined by your database.
Asyncio is not (primarily) a throughput-optimization method. Sometimes
it is a resource consumption optimization method as the context objects
are lighter-weight than full-blown threads.
Mostly asyncio is a way to deal with anything
"Chris Angelico" wrote in message
news:captjjmqwkestvrsrg30qjo+4ttlqfk9q4gabygovew8nsdx...@mail.gmail.com...
>
> This works as long as your database is reasonably fast and close
> (common case for a lot of web servers: DB runs on same computer as web
> and application and etc servers). It's nice
On 06/03/14 12:30, Chris Angelico wrote:
> Write me a purely nonblocking
> web site concept that can handle a million concurrent connections,
> where each one requires one query against the database, and one in a
> hundred of them require five queries which happen atomically.
I don't see why tha
On 2014-05-27, Steven D'Aprano wrote:
> On Tue, 27 May 2014 16:13:46 +0100, Adam Funk wrote:
>> Well, here's the way it works in my mind:
>>
>>I can store a set of a zillion strings (or a dict with a zillion
>>string keys), but every time I test "if new_string in seen_strings",
>>the
On 2014-05-28, Dan Sommers wrote:
> On Tue, 27 May 2014 17:02:50 +, Steven D'Aprano wrote:
>
>> - rather than "zillions" of them, there are few enough of them that
>> the chances of an MD5 collision is insignificant;
>
>> (Any MD5 collision is going to play havoc with your strategy of
>>
1 - 100 of 119 matches
Mail list logo