Good or bad use of __repr__?

2009-02-03 Thread Alaric Haag
t". If it wants the other attributes, they have to be spec'd. In the context of the code being developed, the "size" attribute is the "logical" representation of the dimension. I'm just wondering if this sort of design should be avoided. Many thanks! Alaric -- http://mail.python.org/mailman/listinfo/python-list

Re: Odd syntactic NON-error?

2009-01-30 Thread Alaric Haag
In article <20090130173948.12853.732928641.divmod.quotient@henry.divmod.com>, Jean-Paul Calderone wrote: > On Fri, 30 Jan 2009 11:36:45 -0600, Alaric Haag wrote: > >Hello, > > > >I just noticed that I've been successfully importing a module I wrote >

Odd syntactic NON-error?

2009-01-30 Thread Alaric Haag
---^ I'm running Python 2.5.2. What does the interpreter "think" I'm doing? It's not flagged by pylint either, so I suspect there's a reasonable explanation. Alaric -- http://mail.python.org/mailman/listinfo/python-list

Re: A "roadmap" for ctypes wrapping?

2008-03-25 Thread Alaric Haag
In article <[EMAIL PROTECTED]>, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > Alaric Haag schrieb: > > Hi all, > > > > stuff deleted > > > > == > > Can anyone with some "wrapping" experience add/modify/enha

A "roadmap" for ctypes wrapping?

2008-03-23 Thread Alaric Haag
ably, judicious use of the leading "_" (underscore) is used to hide (make private) the "ugly details" from the wrapper user, revealing only the routines, and possibly, classes that describe data types the original API expects the user to need. == Can anyone with some "wrapping" experience add/modify/enhance the above? Many thanks for all feedback! -- Alaric -- http://mail.python.org/mailman/listinfo/python-list

Re: Pycon disappointment

2008-03-16 Thread Alaric Haag
r to both discover, much less get the added bonus of face-to-face time with the developer! That said, I thank the organizers, and welcome the new friendships made at this event, and hope like hell I can come next year!! Alaric -- http://mail.python.org/mailman/listinfo/python-list

Re: Information on PyGMT?

2008-01-04 Thread Alaric Haag
In article <[EMAIL PROTECTED]>, Jeroen Ruigrok van der Werven <[EMAIL PROTECTED]> wrote: > -On [20080104 04:11], Alaric ([EMAIL PROTECTED]) wrote: > >Unfortunately, the only site (forge.nesc.ac.uk) that seems to offer the code > >(written by Magnus Hagdorn) is not

Information on PyGMT?

2008-01-03 Thread Alaric
t of commission. Google isn't revealing much recent discussion either which is sad, as I would imagine this to be a valuable tool! Can anyone shed any light?? Better yet, does anyone have the latest tarball, and an FTP site they can offer it on? :) Many thanks! Alaric -- http://mai

Re: Cheat sheet

2007-12-28 Thread Alaric
Riccardo T. wrote: > > > I wrote a little cheat sheet for this wonderful language, but because of > my still little experience with it, I would like to have a feedback > Could you have a look at it and tell me what do you think about, please? > > http://greyfox.imente.org/index.php?id=73 > > -- > G