Re: Installing A-A-P

Bram Moolenaar <[email protected]>
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
Wichert Akkerman wrote:

> Previously Bram Moolenaar wrote:
> > This should work: Copy the "pre.py" file from your Python installation
> > into the Aap directory, and modify it there.  Then run Aap.
> 
> You could also let aap detect the error and just replace the bad
> function from python's pre module at runtime. That way people won't
> have to patch their python install.

Is this possible?  Currently the pre module is imported to test for the
bug.  Once the pre module has been imported, how to replace the wrong
code?  Overwrite the reference to the function definition somehow?

-- 
Imagine a world without hypothetical situations.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.