On Thu, Dec 09, 2004, Michiel Jan Laurens de Hoon wrote: > > My suggestion is therefore to replace PyOS_InputHook by two functions > PyOS_AddInputHook and PyOS_RemoveInputHook, and let Python keep track of > which hooks are installed. This way, an extension module can add a hook > function without having to worry about other extension modules trying > to use the same hook. > > Any comments? Would I need to submit a PEP for this proposal?
Because this is only for the C API, your best bet is to write a patch and submit it to SF. If people whine or it gets rejected, then write a PEP. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "19. A language that doesn't affect the way you think about programming, is not worth knowing." --Alan Perlis _______________________________________________ Python-Dev mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com