Re: Altering imported modules

2008-03-07 Thread [EMAIL PROTECTED]
On 6 mar, 21:29, Tro <[EMAIL PROTECTED]> wrote: > On Wednesday 05 March 2008, Bruno Desthuilliers wrote: > > > > > Tro a écrit : (snip) > > > I'd like to know if it's possible to make tlslite load *my* asyncore > > > module without changing any of the tlslite code. > > > Not sure this apply to your

Re: Altering imported modules

2008-03-06 Thread Tro
On Wednesday 05 March 2008, Bruno Desthuilliers wrote: > Tro a écrit : > > Hi, list. > > > > I've got a simple asyncore-based server. However, I've modified the > > asyncore module to allow me to watch functions as well as sockets. The > > modified asyncore module is in a specific location in my pr

Re: Altering imported modules

2008-03-05 Thread Bruno Desthuilliers
Tro a écrit : > Hi, list. > > I've got a simple asyncore-based server. However, I've modified the asyncore > module to allow me to watch functions as well as sockets. The modified > asyncore module is in a specific location in my project and is imported as > usual from my classes. > > Now I'd

Re: Altering imported modules

2008-03-04 Thread Tro
On Tuesday 04 March 2008, Steve Holden wrote: > >> Are you trying to interfere with the default module on only your > >> machine? Just rename it. If something in the std. lib. imports > >> asyncore, they get yours too that way. > > > > No, I'd like it to be a generalized solution and only for thi

Re: Altering imported modules

2008-03-04 Thread Tro
On Tuesday 04 March 2008, Floris Bruynooghe wrote: > On Mar 1, 11:56 pm, Tro <[EMAIL PROTECTED]> wrote: > > I'd like to know if it's possible to make tlslite load *my* asyncore > > module without changing any of the tlslite code. > > the pkgutil module might be helpful, not sure though as I've neve

Re: Altering imported modules

2008-03-04 Thread Floris Bruynooghe
On Mar 1, 11:56 pm, Tro <[EMAIL PROTECTED]> wrote: > I'd like to know if it's possible to make tlslite load *my* asyncore module > without changing any of the tlslite code. the pkgutil module might be helpful, not sure though as I've never used it myself. http://blog.doughellmann.com/2008/02/pymo

Re: Altering imported modules

2008-03-04 Thread Steve Holden
Tro wrote: > On Monday 03 March 2008, [EMAIL PROTECTED] wrote: >> On Mar 3, 5:09 pm, Tro <[EMAIL PROTECTED]> wrote: >>> On Sunday 02 March 2008, Paul McGuire wrote: On Mar 2, 3:48 pm, Tro <[EMAIL PROTECTED]> wrote: > On Sunday 02 March 2008, Terry Reedy wrote: >> "Tro" <[EMAIL PROTECTE

Re: Altering imported modules

2008-03-04 Thread Tro
On Monday 03 March 2008, [EMAIL PROTECTED] wrote: > On Mar 3, 5:09 pm, Tro <[EMAIL PROTECTED]> wrote: > > On Sunday 02 March 2008, Paul McGuire wrote: > > > On Mar 2, 3:48 pm, Tro <[EMAIL PROTECTED]> wrote: > > > > On Sunday 02 March 2008, Terry Reedy wrote: > > > > > "Tro" <[EMAIL PROTECTED]> wrot

Re: Altering imported modules

2008-03-03 Thread castironpi
On Mar 3, 5:09 pm, Tro <[EMAIL PROTECTED]> wrote: > On Sunday 02 March 2008, Paul McGuire wrote: > > > > > > > On Mar 2, 3:48 pm, Tro <[EMAIL PROTECTED]> wrote: > > > On Sunday 02 March 2008, Terry Reedy wrote: > > > > "Tro" <[EMAIL PROTECTED]> wrote in message > > > >news:[EMAIL PROTECTED] > > > >

Re: Altering imported modules

2008-03-03 Thread Tro
On Sunday 02 March 2008, Paul McGuire wrote: > On Mar 2, 3:48 pm, Tro <[EMAIL PROTECTED]> wrote: > > On Sunday 02 March 2008, Terry Reedy wrote: > > > "Tro" <[EMAIL PROTECTED]> wrote in message > > >news:[EMAIL PROTECTED] > > > > > > | Hi, list. > > > | > > > | I've got a simple asyncore-based serv

Re: Altering imported modules

2008-03-02 Thread Paul McGuire
On Mar 2, 3:48 pm, Tro <[EMAIL PROTECTED]> wrote: > On Sunday 02 March 2008, Terry Reedy wrote: > > > > > > > "Tro" <[EMAIL PROTECTED]> wrote in message > >news:[EMAIL PROTECTED] > > > | Hi, list. > > | > > | I've got a simple asyncore-based server. However, I've modified the > > > asyncore > > > |

Re: Altering imported modules

2008-03-02 Thread Tro
On Sunday 02 March 2008, Terry Reedy wrote: > "Tro" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > | Hi, list. > | > | I've got a simple asyncore-based server. However, I've modified the > > asyncore > > | module to allow me to watch functions as well as sockets. The modified > |

Re: Altering imported modules

2008-03-02 Thread Terry Reedy
"Tro" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | Hi, list. | | I've got a simple asyncore-based server. However, I've modified the asyncore | module to allow me to watch functions as well as sockets. The modified | asyncore module is in a specific location in my project and is

Re: Altering imported modules

2008-03-02 Thread Tro
On Saturday 01 March 2008, Tro wrote: > Hi, list. > > I've got a simple asyncore-based server. However, I've modified the > asyncore module to allow me to watch functions as well as sockets. The > modified asyncore module is in a specific location in my project and is > imported as usual from my cl

Altering imported modules

2008-03-01 Thread Tro
Hi, list. I've got a simple asyncore-based server. However, I've modified the asyncore module to allow me to watch functions as well as sockets. The modified asyncore module is in a specific location in my project and is imported as usual from my classes. Now I'd like to use the tlslite librar