[python-uk] Londoners - interested by a pyramid meetup?

2013-04-03 Thread Rachid Belaid
Hi folks, In the last year, I have been doing more and more pyramidproject and adding this framework to my Flask, Django toolbelt. I have no idea if there is any others pyramid fan or people doing some pyramid in London or even people

Re: [python-uk] Londoners - interested by a pyramid meetup?

2013-04-03 Thread Álex González
I am not doing it. I've just tried it a long time ago. But I would really like to join you to learn something more about it... there is always space to learn something new. Cheers, Álex González On Wed, Apr 3, 2013 at 11:23 AM, Rachid Belaid wrote: > Hi folks, > > In the last year, I have been

Re: [python-uk] Londoners - interested by a pyramid meetup?

2013-04-03 Thread Ben Fields
Pyramid is my primary web framework these days and I'm London-based, so I'd certainly be interested in a meetup. /Ben On Apr 3, 2013, at 11:32 AM, Álex González wrote: > I am not doing it. I've just tried it a long time ago. But I would really > like to join you to learn something more about i

Re: [python-uk] Londoners - interested by a pyramid meetup?

2013-04-03 Thread Alex Anderson
I've done a bunch of Pylons in the past and recently started doing a little bit of Pyramid, so I'd be interested Alex From: m...@benfields.net Date: Wed, 3 Apr 2013 11:42:49 +0100 To: python-uk@python.org Subject: Re: [python-uk] Londoners - interested by a pyramid meetup? Pyramid is my primary

Re: [python-uk] Londoners - interested by a pyramid meetup?

2013-04-03 Thread a . cavallo
Hi, feel free to join the london python meetup: I think it is a natural home for such presentation. Kris and me we've been running it for a while and we can provide help in organising it. www.meetup.com/The-London-Python-Group-TLPG Feel free to get in touch. Another group active in Lond

[python-uk] Advice on decorator grammar

2013-04-03 Thread Simon Yarde
Hi All I've not posted to this list before. Hello! I have a question about decorators and have failed to devise a search that has thrown up any history of discussion on this particular matter. Does the following seem like something that 'should' work? Or is anyone aware of a source of document

Re: [python-uk] Advice on decorator grammar

2013-04-03 Thread Stestagg
This seems redundant to me, the MyDecorator instance would not be bound to anything, so you'll 'loose' the reference to it, except through the call to decorator_method(). You could do this by making decorator_method a classmethod: class MyDecorator(object): @classmethod def decorate_this

Re: [python-uk] Advice on decorator grammar

2013-04-03 Thread a . cavallo
My first tought would be the mydecorator = MyDecorator() will hold the object instance reference and the ref count won't go to zero.. So.. Decorator grammar is this: decorator: '@' dotted_name [ '(' [arglist] ')' ] NEWLINE The grammar prevents this: class MyDecorator: ... def dec

Re: [python-uk] Londoners - interested by a pyramid meetup?

2013-04-03 Thread Matt Hamilton
We use Pyramid at Netsight when we need anything framework-like. I'm based in Bristol, but depending on when it is might travel up to the Big Smoke for it. -Matt On 3 Apr 2013, at 12:46 PM, Alex Anderson wrote: > I've done a bunch of Pylons in the past and recently started doing a little >

Re: [python-uk] Advice on decorator grammar

2013-04-03 Thread Stestagg
Technically, you don't have to worry about refcounts here. evaluating 'AClass().method' results in a 'bound' method. The method binding contains a reference to the instance, so internally, a reference is always held. It does mean however that the AClass instance is anonymous, there is no simple

Re: [python-uk] Londoners - interested by a pyramid meetup?

2013-04-03 Thread Jonathan Hartley
I've always had an interest, since noticing at PyCon the last few years that a lot of the smartest guys in the room* were using/writing Pyramid. * measured using proxy indicators such as neckbeards, outlandish late-night storytelling ability, Pyramid T-shirts, piercing gaze, etc. On 03/04/20

Re: [python-uk] Londoners - interested by a pyramid meetup?

2013-04-03 Thread Rachid Belaid
Great to see that we have already some people interested. Personally, I ll really like to see appear a pyramid community in London. Except at Pycon, I rarely met any other pyramid developer, having a community is important to get started, tips, contracts.. Now the web industry is not afraid by us

Re: [python-uk] Londoners - interested by a pyramid meetup?

2013-04-03 Thread Jon Ribbens
On Wed, Apr 03, 2013 at 11:23:17AM +0100, Rachid Belaid wrote: >In the last year, I have been doing more and more [1]pyramid project and >adding this framework to my Flask, Django toolbelt. >I have no idea if there is any others pyramid fan or people doing some >[2]pyramid in London

Re: [python-uk] Londoners - interested by a pyramid meetup?

2013-04-03 Thread Simon Yarde
The Pylons team were responsible for Pylons (the older web framework) which is still maintained and active, whilst many people have now moved over to Pyramid, the newer web framework also developed by the Pylons team. This is what you need: http://docs.pylonsproject.org/en/latest/docs/pyramid.h

Re: [python-uk] Londoners - interested by a pyramid meetup?

2013-04-03 Thread Rachid Belaid
For extra info, pyramid was previously called repoze.bfg but they decided with guys of pylons to merge their effort into a new branded version called pyramid... It s not a battery included framework as Django but for me that's the benefit of it when you try to build so typ

Re: [python-uk] Londoners - interested by a pyramid meetup?

2013-04-03 Thread Harry Percival
Probably the easiest way to remember it is: they're the ones with the cool t-shirts: http://pylonsproject.storenvy.com/products/1228337-pyramid-dashboard-t-shirt On 3 April 2013 19:21, Rachid Belaid wrote: > For extra info, pyramid was previously called repoze.bfg > bu

Re: [python-uk] Advice on decorator grammar

2013-04-03 Thread Simon Yarde
This may well be moot, so thank you for chipping in. All your suggestions are completely valid and practical. And thank you Stestagg and a.cavallo for commenting on references; I've tried to show in the examples below how the instance might be used to store config that is accessed by instance-