[issue8176] Interpreter crash with double free or corruption message

2010-03-21 Thread Carlos Ribeiro
Carlos Ribeiro carribe...@gmail.com added the comment: Thanks for investigating! I'll keep watching. I'm currently developing a small Django app, and the crash happened during one of the automatic reloads that the development server do whenever a source code file changes. The problem is that I

[issue8176] Interpreter crash with double free or corruption message

2010-03-19 Thread Carlos Ribeiro
New submission from Carlos Ribeiro carribe...@gmail.com: I was running Django in development mode (python manage.py runserver 0.0.0.0:8002). I saved a python source file; Django automatically detected the change and reloaded the module (that's the usual behavior). Then a backtrace from glibc

[issue8176] Interpreter crash with double free or corruption message

2010-03-19 Thread Carlos Ribeiro
Carlos Ribeiro carribe...@gmail.com added the comment: I know I have little information but unfortunately I couldn't reproduce the crash. Seems like a racing condition or something similar. I'll see what I can do about it. On Fri, Mar 19, 2010 at 07:46, STINNER Victor rep

Re: llvm vs. parrot

2009-04-11 Thread Carlos Ribeiro
made a lot of sense years ago, but given today's compiler + language support + virtual machine technology, it seems that it has fallen behind. But that's just my $0.02 worth. -- Carlos Ribeiro Consultoria em Projetos blog: http://rascunhosrotos.blogspot.com blog: http://pythonnotes.blogspot.com mail

Re: *.python.org broken?

2009-01-26 Thread Carlos Ribeiro
for that prefix. That's more common than people realize (specially nowadays when countries such as Pakistan try to block domains by messing with BGP). Carlos Ribeiro On Sun, Jan 25, 2009 at 11:44, Cousin Stanley cousinstan...@gmail.comwrote: Is anybody else having trouble accessing sites

Re: Web framework

2005-03-14 Thread Carlos Ribeiro
'protocol' over a SVN backend... not sure about how things such as the authentication system would be mapped though. But it's an intriguing idea. -- Carlos Ribeiro Consultoria em Projetos blog: http://rascunhosrotos.blogspot.com blog: http://pythonnotes.blogspot.com mail: [EMAIL PROTECTED] mail: [EMAIL

Re: Web framework

2005-03-10 Thread Carlos Ribeiro
gif files), and can be greatly accelerated by running CherryPy under a caching frontend - either Apache, or even squid in web acceleration mode work just fine. While you are at it, check also this page: http://www.cherrypy.org/wiki/CherryPyProductionSetup -- Carlos Ribeiro Consultoria em Projetos

Re: empty classes as c structs?

2005-02-09 Thread Carlos Ribeiro
about a few months ago. It is in some sense a variation on some of the ideas presented here; it is an alternative way to build simple records or bunch-like structures. -- Carlos Ribeiro Consultoria em Projetos blog: http://rascunhosrotos.blogspot.com blog: http://pythonnotes.blogspot.com mail

Re: empty classes as c structs?

2005-02-08 Thread Carlos Ribeiro
chaining, in the usual Pythonic sense... But I feel that by splitting this into two types (namespace bunch) we may be making things overly complicated, and losing some of the power of the argument. Again, just my $0.02 worth. -- Carlos Ribeiro Consultoria em Projetos blog: http

Re: empty classes as c structs?

2005-02-07 Thread Carlos Ribeiro
be combined?), I don't think Bunch/Namespace should have an __add__. For entirely unrelated reasons I did it for a bunch-like class of mine, and called it 'merge'. For this particular application it was a better name than update and append, but that's IMHO. -- Carlos Ribeiro Consultoria em

Re: empty classes as c structs?

2005-02-07 Thread Carlos Ribeiro
On Mon, 07 Feb 2005 13:31:20 -0700, Steven Bethard [EMAIL PROTECTED] wrote: Carlos Ribeiro wrote: On Mon, 07 Feb 2005 11:50:53 -0700, Steven Bethard [EMAIL PROTECTED] wrote: Michael Spencer wrote: We could use __add__, instead for combining namespaces I don't think this is a good

Re: empty classes as c structs?

2005-02-05 Thread Carlos Ribeiro
still has to feed it with the 'with_spam' argument - but if 'with_spam' is a global, or if the class statement wrapped inside a function that defines 'with_spam', it will work just as fine. -- Carlos Ribeiro Consultoria em Projetos blog: http://rascunhosrotos.blogspot.com blog: http

Re: empty classes as c structs?

2005-02-05 Thread Carlos Ribeiro
in MetaTemplate, but the former is out of scope for the library. In the long term, I wish Python grows a true record type. The semantic differences between records and classes are enough to justify it in my opinion. -- Carlos Ribeiro Consultoria em Projetos blog: http://rascunhosrotos.blogspot.com

Re: empty classes as c structs?

2005-02-05 Thread Carlos Ribeiro
in Python. A bag is an arbitrary collection of objects. It's similar to a set. The cookbook code is at: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/259174 -- Carlos Ribeiro Consultoria em Projetos blog: http://rascunhosrotos.blogspot.com blog: http://pythonnotes.blogspot.com mail: [EMAIL

Re: Persistence design [was: RE: OT: why are LAMP sites slow?]

2005-02-04 Thread Carlos Ribeiro
that is intended to use Subversion as its backend, for both blog wiki style entries. It's filesystem based, fast (the website can use the working copy for nearly everything) and allows for versioning - something that its difficult to implement properly with low-end RDBMSs. It looks promising :-) -- Carlos

Re: pylibpcap and multiple threads

2005-01-24 Thread Carlos Ribeiro
- with multiple instances - but I assume that it should work (I never tried to open several instances of tcpdump at the same time). Also, check these links also, as they may be helpful to you: http://libdnet.sourceforge.net/ http://oss.coresecurity.com/projects/pcapy.html -- Carlos Ribeiro Consultoria em

Re: python3: 'where' keyword

2005-01-09 Thread Carlos Ribeiro
with chosing a clear syntax for design by contract and other similar features that were being debated lately. I also thought about his one: ! def foo(x=calculate_default_value()): ! pass ! where: ! def calculate_default_value(): ! ... ! return something -- Carlos Ribeiro

Re: The best way to do web apps with Python?

2005-01-09 Thread Carlos Ribeiro
stuff such as gzip compression on the fly and XMLRPC. Disclaimer: I'm a contributor to CherryPy, so I'm biased. But I had evaluated both Karirgel and Quixote before settling up on CherryPy, and I see no reason to change. -- Carlos Ribeiro Consultoria em Projetos blog: http

Re: Recent infoworld column

2005-01-08 Thread Carlos Ribeiro
. For solving a host of vexing problems with quiet competence, and for doing it in ways that invite others to stand on their shoulders, I salute them all. That's recognition. Wow. -- Carlos Ribeiro Consultoria em Projetos blog: http://rascunhosrotos.blogspot.com blog: http://pythonnotes.blogspot.com mail

Re: python3: 'where' keyword

2005-01-08 Thread Carlos Ribeiro
block, access to symbols outside the where block, just to name a few. -- Carlos Ribeiro Consultoria em Projetos blog: http://rascunhosrotos.blogspot.com blog: http://pythonnotes.blogspot.com mail: [EMAIL PROTECTED] mail: [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: A Fundamental Turn Toward Concurrency in Software

2005-01-08 Thread Carlos Ribeiro
, let's say) as any other competitive environment available. By native, it means that it has to be included in the standard distribution, and has to be as transparent and convenient as possible. In other words, it has to feel like a native part of the language. -- Carlos Ribeiro Consultoria em

Re: Python evolution: Unease

2005-01-06 Thread Carlos Ribeiro
, but it took me some time to find them out after searching inside Python docs. This is not a minor issue IMHO. -- Carlos Ribeiro Consultoria em Projetos blog: http://rascunhosrotos.blogspot.com blog: http://pythonnotes.blogspot.com mail: [EMAIL PROTECTED] mail: [EMAIL PROTECTED] -- http://mail.python.org

Re: Python evolution: Unease

2005-01-06 Thread Carlos Ribeiro
On Thu, 06 Jan 2005 22:11:22 +1000, Nick Coghlan [EMAIL PROTECTED] wrote: Carlos Ribeiro wrote: Couldn't a better document-writing interface be implemented? Such as: http://www.python.org/moin/Documentation Or AMK's annotatable docs: http://pydoc.amk.ca/frame.html Sorry, I wasn't clear

Re: Python evolution: Unease

2005-01-05 Thread Carlos Ribeiro
... why not give these people some help, easing the integration? A recipe, or some code that can be provisionally included in Numarray itself (as a submodule), and then later migrated to the CSV module... it does make sense in the long run. -- Carlos Ribeiro Consultoria em Projetos blog: http

Re: Python evolution: Unease

2005-01-04 Thread Carlos Ribeiro
expect more than Tk is able to offer... Canvas is great, but anyone who used more advanced toolkits (such as the ones available on Delphi, Java, or C#) surely require a lot more. -- Carlos Ribeiro Consultoria em Projetos blog: http://rascunhosrotos.blogspot.com blog: http://pythonnotes.blogspot.com

Re: How can engineers not understand source-code control?

2005-01-04 Thread Carlos Ribeiro
On Tue, 04 Jan 2005 15:52:03 +, Mark Carter [EMAIL PROTECTED] wrote: I'm thinking that the I-Ching is a vast untapped resource for programming wisdom, plus it makes it funny. LOL! +1 QOTW! -- Carlos Ribeiro Consultoria em Projetos blog: http://rascunhosrotos.blogspot.com blog: http

Re: Boo who? (was Re: newbie question)

2004-12-21 Thread Carlos Ribeiro
email address so we can at least direct our responses to you. -- Carlos Ribeiro Consultoria em Projetos blog: http://rascunhosrotos.blogspot.com blog: http://pythonnotes.blogspot.com mail: [EMAIL PROTECTED] mail: [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: MIDI library recommendations, please?

2004-12-20 Thread Carlos Ribeiro
the strings. I would like to avoid the weird piano with guitar sound that happens when you simply play a chord, with all strings being strum at the same time. It's stopped now, but I keep promising that I'll finish it as soon as I can. -- Carlos Ribeiro Consultoria em Projetos blog: http

Re: Python mascot proposal

2004-12-16 Thread Carlos Ribeiro
going with the discussion here, until someone who really knows the Python Ways buys the idea. And finally, Dimitri - congratulations for the design, but most important, for the attitude. -- Carlos Ribeiro Consultoria em Projetos blog: http://rascunhosrotos.blogspot.com blog: http

Re: Python mascot proposal

2004-12-16 Thread Carlos Ribeiro
it, having read an article published at some prestigious academic journal (something from ACM or IEEE, I think). If the BDFL wrote it, what more can I say? ;-) -- Carlos Ribeiro Consultoria em Projetos blog: http://rascunhosrotos.blogspot.com blog: http://pythonnotes.blogspot.com mail: [EMAIL

Re: Flow based programming python coding style

2004-12-15 Thread Carlos Ribeiro
On Wed, 15 Dec 2004 15:16:44 GMT, Jp Calderone [EMAIL PROTECTED] wrote: On Wed, 15 Dec 2004 12:30:07 -0200, Carlos Ribeiro [EMAIL PROTECTED] wrote: Hi, A friend of mine passed me some links about a great concept (not new in fact, only new to me): -- http://www.jpaulmorrison.com/fbp

Flow based programming python coding style

2004-12-15 Thread Carlos Ribeiro
application. -- Carlos Ribeiro Consultoria em Projetos blog: http://rascunhosrotos.blogspot.com blog: http://pythonnotes.blogspot.com mail: [EMAIL PROTECTED] mail: [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Quixote+Nevow+LivePage

2004-12-06 Thread Carlos Ribeiro
your breath for it. If that's not helpful to you, I'm sorry. -- Carlos Ribeiro Consultoria em Projetos blog: http://rascunhosrotos.blogspot.com blog: http://pythonnotes.blogspot.com mail: [EMAIL PROTECTED] mail: [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: string slicing

2004-12-05 Thread Carlos Ribeiro
. -- Carlos Ribeiro Consultoria em Projetos blog: http://rascunhosrotos.blogspot.com blog: http://pythonnotes.blogspot.com mail: [EMAIL PROTECTED] mail: [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: HTTP response code

2004-12-04 Thread Carlos Ribeiro
on the WebSig about adding support for HEAD requests on urllib2 (they were still not implemented at that time, three months ago). Perhaps there is a patch somewhere for it... -- Carlos Ribeiro Consultoria em Projetos blog: http://rascunhosrotos.blogspot.com blog: http://pythonnotes.blogspot.com mail: [EMAIL

Re: Quixote+Nevow+LivePage

2004-12-04 Thread Carlos Ribeiro
On Sat, 04 Dec 2004 17:46:02 GMT, Jp Calderone [EMAIL PROTECTED] wrote: On Sat, 4 Dec 2004 15:40:44 -0200, Carlos Ribeiro [EMAIL PROTECTED] wrote: On Sat, 04 Dec 2004 16:17:06 GMT, Jp Calderone [EMAIL PROTECTED] wrote: I haven't used LivePage myself, but someone in the know tells me

Re: pre-PEP generic objects

2004-12-03 Thread Carlos Ribeiro
in this case). Extending it even further -- the observed object could accept modifications from its observers, although in this case we're already talking a about more complex pattern than the standard observer (btw, how is it called?). -- Carlos Ribeiro Consultoria em Projetos blog: http

Re: module imports and memory usage

2004-12-01 Thread Carlos Ribeiro
... -- Carlos Ribeiro Consultoria em Projetos blog: http://rascunhosrotos.blogspot.com blog: http://pythonnotes.blogspot.com mail: [EMAIL PROTECTED] mail: [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list