Re: [Python-Dev] Implement Aspect-oriented programming

2011-06-13 Thread Vinay Sajip
Jiawei Li gmail.com> writes: > For example, the logging module is not very useful right now, as it requires sprinkling small one-liners all over my code - not exactly ideal. > Why not take a page from aspect-oriented programming and allow for injection of code with point cuts? If you're only int

Re: [Python-Dev] Implement Aspect-oriented programming

2011-06-12 Thread Oleg Broytman
Hi! This mailing list is to work on developing Python (discussing bugs and patches). There is python-ideas mailing list to discuss possible future improvements. Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB w

Re: [Python-Dev] Implement Aspect-oriented programming

2011-06-12 Thread Lennart Regebro
On Sat, Jun 11, 2011 at 10:29, Jiawei Li wrote: > For example, the logging module is not very useful right now, as it requires > sprinkling small one-liners all over my code - not exactly ideal. > Why not take a page from aspect-oriented programming and allow for injection > of code with point cut

[Python-Dev] Implement Aspect-oriented programming

2011-06-12 Thread Jiawei Li
For example, the logging module is not very useful right now, as it requires sprinkling small one-liners all over my code - not exactly ideal. Why not take a page from aspect-oriented programming and allow for injection of code with point cuts? ___ Python