Re: Balanced trees

2014-03-14 Thread Joshua Landau
On 8 March 2014 20:37, Mark Lawrence wrote: > I've found this link useful http://kmike.ru/python-data-structures/ > > I also don't want all sorts of data structures added to the Python library. > I believe that there are advantages to leaving specialist data structures on > pypi or other sites, pl

JESUS EXPLAINED TO ME THAT HUMANS HAVE ORIGINS IN THE DEVONIAN.

2014-03-14 Thread THRAXODON
== >BREAKING HOGWASH! == > TALK.ORIGINS RECENTLY ANNOUNCED THAT HUMANS HAVE ORIGINS IN THE DEVONIAN. > THIS RECENT RECOGNITION OF THE GREATEST FACT IN EARTH'S HISTORY IS PROFOUND TO http://www.talkorigins.org/ CREDIBILITY. (Also see http://www.ediacara.org/) > DA

Re: PEP/GSoC idea: built-in parser generator module for Python?

2014-03-14 Thread Terry Reedy
On 3/14/2014 2:51 PM, Peter Mawhorter wrote: First of all, hi everyone, I'm new to this list. Welcome. I'm a grad student who's worked on and off with Python on various projects for 8ish years now. I recently wanted to construct a parser for another programing language in Python and was dissa

PEP/GSoC idea: built-in parser generator module for Python?

2014-03-14 Thread Peter Mawhorter
First of all, hi everyone, I'm new to this list. I'm a grad student who's worked on and off with Python on various projects for 8ish years now. I recently wanted to construct a parser for another programing language in Python and was dissapointed that Python doesn't have a built-in module for buil

imapclient Gmail search() times

2014-03-14 Thread Grant Edwards
I'm working on a small app to help sort/organize my mail via Gmail's IMAP server, and I'm using imapclient (BTW it's a _huge_ improvement over imaplib). The odd thing I'm seeing is that when searching a large "folder" (All Mail), I get wildly different times depending on what header I search. a

Re: script uses up all memory

2014-03-14 Thread Kent Engström
Larry Martell writes: > I figured out what is causing this. Each pass through the loop it does: > > self.tools = Tool.objects.filter(ip__isnull=False) > > And that is what is causing the memory consumption. If I move that > outside the loop and just do that once the memory issue goes away. Now > I

Re: pickle.dump (obj, conn)

2014-03-14 Thread dieter
Pedro Izecksohn writes: >   Shouldn't pickle.dump (obj, conn) raise an Exception if conn is a TCP > connection that was closed by the remote host? It is quite difficult to detect the closing of a TCP channel in a reliable way. At least, you should not trust that you are reliably informed about