Re: Working with recordsets

2005-01-07 Thread AdSR
be memory-efficient but it will be easy to do. AdSR -- http://mail.python.org/mailman/listinfo/python-list

Re: python3: 'where' keyword

2005-01-07 Thread AdSR
ame kind as the @decorator syntax. Guido moved an operation to a point in the code where it was more visible. You moved an operation to a more local context where (pun not intended) it really belongs. I'm usually rather conservative about Python syntax (@decorators, absolute/relative imports,

Re: python3: 'where' keyword

2005-01-08 Thread AdSR
Nick Coghlan wrote: Killer app for this keyword: class C(object): x = property(get, set) where: def get(self): return "Silly property" def set(self, val): self.x = "Told you it was silly" Hey, this is super-elegant! AdSR -- http://mail.python.org/mailman/listinfo/python-list

def a((b,c,d),e):

2005-04-18 Thread AdSR
n order of magnitude easier. Has anyone actually used it in real code? Cheers, AdSR -- http://mail.python.org/mailman/listinfo/python-list

Re: def a((b,c,d),e):

2005-04-18 Thread AdSR
d)), (e, f)): pass although I see that it could be perfectly valid in some contexts. Cheers, AdSR -- http://mail.python.org/mailman/listinfo/python-list

Re: def a((b,c,d),e):

2005-04-18 Thread AdSR
language features I learned about. Somehow it never occurred to me that you could use it in function arguments this way - I only knew f(*args, **kwargs) style in this context. That's what I made the whole fuss about... AdSR -- http://mail.python.org/mailman/listinfo/python-list

Re: def a((b,c,d),e):

2005-04-18 Thread AdSR
, well... AdSR -- http://mail.python.org/mailman/listinfo/python-list

Re: subprocess problem in cygwin with Tkinter

2006-01-05 Thread AdSR
ied waiting for dll > loading > [...] > any ideas? This is a dll problem that sometimes happens in Cygwin. Run 'rebaseall' to fix this. HTH, AdSR -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: PQRC - Python Quick Reference Card - v 0.55

2006-06-05 Thread AdSR
, Laurent! If this is version 0.55, I can't wait for 1.0. Keep up the good work. BTW, it would be great if something like this came with Python installation. No more sifting through library TOC/index, "where did I see this stuff" :) AdSR -- http://mail.python.org/mailman/listinfo/python-list

Re: what are you using python language for?

2006-06-07 Thread AdSR
I'm using Python for: * log analysis * test tools * data massaging * prototyping -- http://mail.python.org/mailman/listinfo/python-list

Re: Mutual interdependency problem

2006-06-07 Thread AdSR
s me is that you have two modules that import each other. Are you sure you can't do it any other way? AdSR -- http://mail.python.org/mailman/listinfo/python-list

Re: Python is fun (useless social thread) ;-)

2006-06-21 Thread AdSR
r another. Try manipulating a document with multiple namespaces, you'll know. Not that I ever saw any XML API in any language that would do everything I expected from it correctly. Ergo, XML sucks. :) Cheers, AdSR -- http://mail.python.org/mailman/listinfo/python-list

Amara: Where's my attribute?

2006-06-29 Thread AdSR
rwd.xml() http://pq.com/ns2"; xmlns="http://example.com/namespace"/> but it only helps if you know what to patch. My setup: Python 2.4.3 4Suite 1.0b3 Amara 1.0 I see that people have reported similar problems with other XML toolkits, so I guess this is a general namespace ugliness. Regards, AdSR -- http://mail.python.org/mailman/listinfo/python-list

Re: Amara: Where's my attribute?

2006-06-29 Thread AdSR
May I suggest a saying: Never attribute to lack of knowledge what you can attribute to confusing signals :) Yours truly, AdSR -- http://mail.python.org/mailman/listinfo/python-list

Re: Amara: Where's my attribute?

2006-07-04 Thread AdSR
Schema.dtd http://www.w3.org/2001/datatypes.dtd:99:23: Attribute 'id' already declared http://www.w3.org/2001/datatypes.dtd:122:23: Attribute 'id' already declared http://www.w3.org/2001/datatypes.dtd:130:27: Attribute 'id' already declared ...some 40 more lines like

Re: fairly large webapp: from Java to Python. experiences?

2006-02-05 Thread AdSR
end the whole post but it might be too long.) Cheers, AdSR -- http://mail.python.org/mailman/listinfo/python-list

Re: Rethinking the Python tutorial

2006-02-11 Thread AdSR
I think you guys are up to something. We need some way to aggregate, update, and extend not just tutorials but all kinds of informatory material on Python. The Python Wiki is a good place for all that, although it hasn't become anything resembling a Wikipedia so far. AdSR --