Re: Cycles between package imports

2006-06-30 Thread Martin Blais
On 6/22/06, Lawrence D'Oliveiro <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, > "Martin Blais" <[EMAIL PROTECTED]> wrote: > > >On 18 Jun 2006 05:25:14 -0700, John Roth <[EMAIL PROTECTED]> wrote: > > > >> The ge

Re: Cycles between package imports

2006-06-20 Thread Martin Blais
On 18 Jun 2006 05:25:14 -0700, John Roth <[EMAIL PROTECTED]> wrote: > Martin Blais wrote: > > Hi > > > > I'm a tad confused over a problem involving cycles between > > packages. > > [lengthy example snipped] > > > > > > > I don

[Announce] haddoc and haddoc.el

2006-06-20 Thread Martin Blais
Description === Haddoc is a simple tool that allows an emacs user to search the Python HTML documentation indexes and to bring a web browser to an index term page. Motivation -- Even though I have the Python TexInfo documentation installed from my Emacs, somehow I always end up b

Cycles between package imports

2006-06-17 Thread Martin Blais
Hi I'm a tad confused over a problem involving cycles between packages. Assume the following sets of files:: driver.py a/__init__.py a/alice.py b/__init__.py b/bob.py Basically, two packages a and b. Driver simply imports one of the two. This is the file that gets run:: , (driv

Re: i18n hell

2006-04-24 Thread Martin Blais
On 24 Apr 2006 00:38:42 -0700, Serge Orlov <[EMAIL PROTECTED]> wrote: > fyleow wrote: > > I just spent hours trying to figure out why even after I set my SQL > > table attributes to UTF-8 only garbage kept adding into the database. > > Apparently you need to execute "SET NAMES 'utf8'" before insert

Re: The whitespaceless frontend

2006-04-15 Thread Martin Blais
On 4/15/06, Stelios Xanthakis <[EMAIL PROTECTED]> wrote: > It had to happen :) Did it? > http://pyvm32.infogami.com/EPL > > Seriously, this is not so much about the whitespace as for the > new features, which might interest people who are thinking about > new features. More specifically,

Furius on-site Python training course

2006-04-14 Thread Martin Blais
glish and french. * I'm currently based in Canada, but I can fly anywhere for the course. Any further questions (or for a quote), please let me know at <[EMAIL PROTECTED]>. Best regards, -- Martin Blais <[EMAIL PROTECTED]> -- http://mail.python.org/mailman/listinfo/python-list

Re: Remove Whitespace

2006-04-13 Thread Martin Blais
On 13 Apr 2006 12:32:56 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > re.sub() doesn't do the substitution in place: it returns the resulting > string. Try this: In-place substitution is impossible in Python, strings are immutable. -- http://mail.python.org/mailman/listinfo/python-list