[tg-trunk] Re: Ok, 2.0 is out, what about turbogears 2.1?

2009-06-22 Thread Gustavo Narea
Hello, Jorge et al. Jorge said: Maybe because it's one of the basic things you first learn in Python? Try this simple experiment if you don't believe me: Create a module which has the contents below: class MockObject(object): def __init__(self): print Initialized

[tg-trunk] TurboGears2 and tg.devtools on pypi

2009-06-22 Thread Florent Aide
Hi all, could you please try in a clean env to install TurboGears using pypi? ie: easy_install tg.devtools I created stub projects on the pypi to point to our files in order to cleanup the install hell that we experience ATM. On my test machines it works great but I would like to make sure all

[tg-trunk] Re: TurboGears2 and tg.devtools on pypi

2009-06-22 Thread Christophe de VIENNE
Works well on a ubuntu 9.10 64bits with python 2.6. 2009/6/22 Florent Aide florent.a...@gmail.com Hi all, could you please try in a clean env to install TurboGears using pypi? ie: easy_install tg.devtools I created stub projects on the pypi to point to our files in order to cleanup the

[tg-trunk] Re: TurboGears2 and tg.devtools on pypi

2009-06-22 Thread Florent Aide
Yeah! don't forget that if you find some C dependencies that need compilation (x64?) we would like to receive them so that they can be uploaded to our package index. Florent. On Mon, Jun 22, 2009 at 5:33 PM, Christophe de VIENNEcdevie...@gmail.com wrote: Works well on a ubuntu 9.10 64bits

[tg-trunk] Re: TurboGears2 and tg.devtools on pypi

2009-06-22 Thread Diez B. Roggisch
On Monday 22 June 2009 17:28:52 Florent Aide wrote: easy_install tg.devtools works like a charm on ubuntu 8.10 (intrepid ibex) with python2.5 Diez --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears Trunk

[tg-trunk] TG2 trunk testing

2009-06-22 Thread Christoph Zwerschke
I see some problems with the current test suite for TG2 (trunk): * The output is cluttered with deprecation warnings: pylons\templating.py:328: DeprecationWarning: pylons.h is deprecated: beaker\cache.py:129: DeprecationWarning: Specifying a 'type' and other namespace configuration

[tg-trunk] Proposal: Predicate overloader

2009-06-22 Thread Gustavo Narea
Hi everyone. I've always agreed that it's absolutely handy to have predicate checkers act as booleans, but at the same time, I've been opposed to all the alternatives proposed to work around this because I consider them to have serious side- effects, even the one I implemented by popular

[tg-trunk] Re: The future of TurboGears

2009-06-22 Thread Derick Eisenhardt
On Jun 21, 6:31 pm, Jorge Vargas jorge.var...@gmail.com wrote: To be honest. I don't like that. Every tool that has taken that approach ends ups being bad. Sure we need to make it as much friendly as possible but I don't want this to become the average idiot tool (no offense really) but I

[tg-trunk] Re: Proposal: Predicate overloader

2009-06-22 Thread Gustavo Narea
Gustavo said: def __getattr__(self, name): original_class = self.get_predicate_checker(name) class BooleanPredicate(original_class): def __nonzero__(self,): return self.is_met() return BooleanPredicate Sorry, forgot to explain how get_predicate_checker()

[tg-trunk] Re: The future of TurboGears

2009-06-22 Thread Florent Aide
On Mon, Jun 22, 2009 at 7:13 PM, Derick Eisenhardtderick.eisenha...@gmail.com wrote: This is really how we should be treating documentation and bugs. If a bug is found in Turbogears that is a result of one of your upstream components, let's say SQLA for example. You shouldn't mark the bug as

[tg-trunk] Re: Proposal: Predicate overloader

2009-06-22 Thread Florent Aide
On Mon, Jun 22, 2009 at 7:18 PM, Gustavo Naream...@gustavonarea.net wrote: Gustavo said: def __getattr__(self, name):     original_class = self.get_predicate_checker(name)     class BooleanPredicate(original_class):         def __nonzero__(self,):             return self.is_met()    

[tg-trunk] Re: Proposal: Predicate overloader

2009-06-22 Thread Gustavo Narea
Bonjour, Florent. Florent said: We would need some nice name for the overloader Sure, although I don't have anything better in mind right now. Suggestions are welcome. :) I think it could settle all those discussions flaring on the mailing list at the moment. I hope so. Cheers, --

[tg-trunk] Re: Proposal: Predicate overloader

2009-06-22 Thread Florent Aide
On Mon, Jun 22, 2009 at 7:55 PM, Gustavo Naream...@gustavonarea.net wrote: Bonjour, Florent. Florent said: We would need some nice name for the overloader Sure, although I don't have anything better in mind right now. Suggestions are welcome. :) cred ?

[tg-trunk] Re: Proposal: Predicate overloader

2009-06-22 Thread Florent Aide
On Mon, Jun 22, 2009 at 8:00 PM, Florent Aideflorent.a...@gmail.com wrote: On Mon, Jun 22, 2009 at 7:55 PM, Gustavo Naream...@gustavonarea.net wrote: Bonjour, Florent. Florent said: We would need some nice name for the overloader Sure, although I don't have anything better in mind right

[tg-trunk] Re: Proposal: Predicate autoloader

2009-06-22 Thread Gustavo Narea
Florent said: no this is too authentication geared... gate or authgate then? Whoops, sorry, now I that read this again, I actually meant predicate autoloader (instead of predicate overloader). Doesn't autoloader sound good to you either? By the way, we'd need two names here: one for this

[tg-trunk] Re: Proposal: Predicate autoloader

2009-06-22 Thread Florent Aide
On Mon, Jun 22, 2009 at 8:14 PM, Gustavo Naream...@gustavonarea.net wrote: Florent said: no this is too authentication geared... gate or authgate then? Whoops, sorry, now I that read this again, I actually meant predicate autoloader (instead of predicate overloader). Doesn't autoloader

[tg-trunk] Re: Proposal: Predicate autoloader

2009-06-22 Thread Gustavo Narea
Florent said: I don't really know. Those where names that bubbled in my head... at least in TG the term tg.authgate would imply that you need to go through it to do something useful. Hmm, ok, I got the idea. Yes, it sounds good. Unless someone comes up with a better name, I think we can go

[tg-trunk] Re: TurboGears2 and tg.devtools on pypi

2009-06-22 Thread Diez B. Roggisch
Florent Aide schrieb: Hi all, could you please try in a clean env to install TurboGears using pypi? ie: easy_install tg.devtools I created stub projects on the pypi to point to our files in order to cleanup the install hell that we experience ATM. On my test machines it works great

[tg-trunk] Re: TurboGears2 and tg.devtools on pypi

2009-06-22 Thread Sanjiv Singh
Works on Ubuntu 9.04 too with python2.6 Sanjiv On Mon, Jun 22, 2009 at 8:58 PM, Florent Aideflorent.a...@gmail.com wrote: Hi all, could you please try in a clean env to install TurboGears using pypi? ie: easy_install tg.devtools I created stub projects on the pypi to point to our files

[tg-trunk] Re: Proposal: Predicate autoloader

2009-06-22 Thread Florent Aide
On Mon, Jun 22, 2009 at 8:30 PM, Gustavo Naream...@gustavonarea.net wrote: Florent said: I don't really know. Those where names that bubbled in my head... at least in TG the term tg.authgate would imply that you need to go through it to do something useful. Hmm, ok, I got the idea. Yes, it

[tg-trunk] Re: TurboGears2 and tg.devtools on pypi

2009-06-22 Thread Sanjiv Singh
On Tue, Jun 23, 2009 at 1:03 AM, Florent Aideflorent.a...@gmail.com wrote: On Mon, Jun 22, 2009 at 9:28 PM, Sanjiv Singhsinghsanj...@gmail.com wrote: Works on Ubuntu 9.04 too with python2.6 did you spot any package that needed compilation during install? I would be glad to add them to our

[tg-trunk] Re: The future of TurboGears

2009-06-22 Thread Derick Eisenhardt
On Jun 22, 12:47 pm, Florent Aide florent.a...@gmail.com wrote: On Mon, Jun 22, 2009 at 7:13 PM, Derick Eisenhardtderick.eisenha...@gmail.com wrote: This is really how we should be treating documentation and bugs. If a bug is found in Turbogears that is a result of one of your upstream