Re: Circular dependency mess

Neil Santos <[email protected]> Fri, 8 Apr 2011 19:44:00 +0800
Newsgroups gmane.comp.web.pyblosxom.devel
Organization Disgruntled Paradigms, Inc.
Message-ID <20110408114400.GA4468@aislinn>
On 05 Apr 13:38, will kahn-greene wrote:
> This is an easy fix--you just move the import for plugin_utils until
> where it's needed.

Done.  Good thing that, at the moment anyway, it was needed by just one
function.

> Generally, tools should be a leaf module--it shouldn't be importing
> anything else in PyBlosxom.  However the run_callbacks situation breaks
> that.
> 
> At some point, I want to relocate the callback stuff, but that's outside
> the scope of 1.5.

Understood.

> Are you seeing other circular dependency issues other than this one?

Not at the moment; though, if I do come across any more, I'll be sure to
fix them.  And if ever I should run into potential circular deps that
can't be fixed by just moving the import line, I'll be sure to let you know.
-- 
Neil Santos
Disgruntled Paradigms :: Code Monkey  //  Doing software The Right Way(TM)

[HTTP] neil.diosa.ph :: [XMPP] [email protected] :: [Y!M] neil_santos18

"Throwing a book of rules at a terrible programmer just creates a terrible
 programmer with a bruise on their head where the book bounced off."
                                                              -- Jeff Atwood

v4sw7LMYRhw5ln7pr5Fck4ma3u7OSLw2Gm3l7OArchi6e0t5Tb8/en7g6aI!sr9p-2/-4 hackerkey.com

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev

_______________________________________________
Pyblosxom-devel mailing list
Pyblosxom-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/pyblosxom-devel
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk2e9QAACgkQ3xH5jAED7ZOjAACfSn6A1ayRET7QwHKrJ2ktNw7F
TScAn2V7uF0fCJuaGPwHGw2YMC2skbw8
=+AYc
-----END PGP SIGNATURE-----