Hello,
Is the use of __repr__ below a "really bad idea"?
class Dimension():
def __init__(self, setp, name):
ptr = setp.contents.dim
while ptr.contents.name != name:
ptr = ptr.contents.next
self.name = ptr.contents.name
self.size = ptr.contents.size
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
>
Hello,
I just noticed that I've been successfully importing a module I wrote
which contains a class definition that begins with (docstring removed):
class TDF():
def __init__(self, name='', mode=tscan. GP_NOCLOBBER):
Note the "space" which shouldn't be here---^
I'm running Python 2.5.2.
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
Hi all,
I'm undertaking a pretty significant wrapping project (a linux
shared-object lib) early in my Python experience, and thought it might
be useful for many more that just myself if this thread were to produce
a sort of roadmap for approaching wrapping with ctypes.
I've been doing some rea
In article
<[EMAIL PROTECTED]>,
Bruce Eckel <[EMAIL PROTECTED]> wrote:
> If the following seems unnecessarily harsh, it was even more harsh for
.
As a relative noob to the Python world, (and lurker to the list :) ) I
can't speak to differences from previous years. However, my impressions
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 responding. I don't know if that