ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
exceptions
by A Schmolck other posts by this author
Jun 3 2004 12:40AM messages near this date
exceptions | exceptions
hungjunglu@[...].com (Hung Jung Lu) writes:

>  Alexander Schmolck <a.schmolck@[...].net> wrote:
> > [1] Here are a few of the hacks I'm using, in case anyone might 
> >     find them useful -- or even better tell me about better 
> >     alternatives (If someone has cooked something reasoable 
> >     for reloading modules, I'd love to hear about it).
> 
>  I have already answered to you on one previous occasion, 

Sorry, maybe I missed it (at the time I had no access to a reliable
newsserver, so many articles didn't show up).

>  and told you another time in this present thread. 

Yep, I've guessed correctly that your mention of weakrefs alluded to a
technique along those lines -- I haven't finished my reply to your article yet
as I sunk quite a bit of time on debugging IPython yesterday.

>  I've used this kind of trick in wxPython. It's good for interactively
>  developing widgets, without re-starting your program.
> 
>  Now here is a third try. :)

Thanks for your trying again, I've only had time for a glance but this looks
quite neat -- I notice that it has evolved a bit since your original posting
:)

So far I have shied away from a metaclass based solution, as I got by with the
simple hack I posted and this hack doesn't require modifications to source
code. Another reason was that metaclasses don't combine well, but since I
haven't ended up using metaclasses much so far that might not be a problem. So
thanks for posting this, it looks quite useful.

'as
Thread:
A Schmolck
hungjunglu
Michele Simionato
hungjunglu
peter
A Schmolck
Jacek Generowicz
Michele Simionato
Michele Simionato
hungjunglu
hungjunglu
A Schmolck
A Schmolck
hungjunglu
A Schmolck
mwh
hungjunglu
lbates
jjl
peter

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved