Re: [pylons-discuss] How force DBSession to flush and commit SQLAlchemy expression language

2015-05-11 Thread Laurence Rowe
To make zope.sqlalchemy commit unconditionally each transaction you can configure it with initial_state='changed'. zope.sqlalchemy.register(Session, initial_state='changed') Laurence On Monday, 11 May 2015 08:52:50 UTC-7, Jonathan Vanasco wrote: > > `mark_changed()` is what you want, for th

[pylons-discuss] Re: Forms and Validation With Deform ???

2015-05-11 Thread Sascha Gottfried
Thanks to everybody advocating deform. Somehow I could not gather all the information that you emphasized. Your replies gave me much more confidence to use deform than I could create myself just browsing the web. Am Montag, 11. Mai 2015 17:45:45 UTC+2 schrieb Jonathan Vanasco: > > Developers als

Re: [pylons-discuss] Should Pylons Project own Paste?

2015-05-11 Thread Chris Rossi
I think the consensus has been to abandon Paste, pulling anything we still want to use out of it and into something we're willing to maintain. I may not have the most up to date info, though. Chris On Mon, May 11, 2015 at 11:17 AM, Marc Abramowitz wrote: > With Ian Bicking leaving Python for J

Re: [pylons-discuss] How force DBSession to flush and commit SQLAlchemy expression language

2015-05-11 Thread Jonathan Vanasco
`mark_changed()` is what you want, for the reasons that Michael mentioned. if you want the convenience of his second method with a negligible performance hit, you could write a sqlalchemy event listener that calls mark_changed whenever `execute()` is called. personally, I think it's better to

Re: [pylons-discuss] Weird HTTPFound error after update, url full of commas. help?

2015-05-11 Thread Marc Abramowitz
I recently got access to the Bitbucket repo and the PyPI entry, so I just went ahead and released Paste 2.0.2, which has this fix and a few others: https://pypi.python.org/pypi/Paste/2.0.2 -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To u

[pylons-discuss] Re: Forms and Validation With Deform ???

2015-05-11 Thread Jonathan Vanasco
Developers also mark stuff as alpha to denote that, even though it probably works 99.999% of the time, they don't have enough bandwidth to actively maintain it as "stable" software. If there's a bug in "alpha", developers shrug. If there's a bug in "stable", developers yell viciously on mailin

[pylons-discuss] Should Pylons Project own Paste?

2015-05-11 Thread Marc Abramowitz
With Ian Bicking leaving Python for JavaScript years ago, Paste/PasteScript/PasteDeploy has fallen into a state of disrepair. I wonder if it makes sense for the Pylons Project to maintain it, as the people here probably use it more than anyone else...? A lot of it has been worked around in Pyra

Re: [pylons-discuss] trypyramid.com and python 2.x

2015-05-11 Thread Paul Everitt
Yep, that’s my plan. If it wasn’t for dang girls lacrosse coaching, I’d have done it by now. :) —Paul > On May 11, 2015, at 9:53 AM, Chris Rossi wrote: > > Maybe replace the word 'artisan' with Tres's bullet points? > > Chris > > On Mon, May 11, 2015 at 3:35 AM, wilk

[pylons-discuss] Re: trypyramid.com and python 2.x

2015-05-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/11/2015 09:53 AM, Chris Rossi wrote: > Maybe replace the word 'artisan' with Tres's bullet points? "Artisan" does have the happy quality of being gender-neutral (as opposed to "craftsman"). Tres. - -- =

Re: [pylons-discuss] Re: trypyramid.com and python 2.x

2015-05-11 Thread Chris Rossi
Maybe replace the word 'artisan' with Tres's bullet points? Chris On Mon, May 11, 2015 at 3:35 AM, wilk wrote: > On 10-05-2015, Steve Piercy wrote: > > On 5/10/15 at 3:29 PM, ch...@simplistix.co.uk (Chris Withers) > pronounced: > > > >>Slight word of caution: in the UK, at least, artisan has be

[pylons-discuss] Re: Forms and Validation With Deform ???

2015-05-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/11/2015 07:15 AM, Sascha Gottfried wrote: >>> So the bottom line is: deform and colander are actively used and >>> so stable that no changes were required recently. >>> > I am glad to know this. But usually developers mark such libraries as > s

Re: [pylons-discuss] Forms and Validation With Deform ???

2015-05-11 Thread Sascha Gottfried
> > So the bottom line is: deform and colander are actively used and so > stable that no changes were required recently. > I am glad to know this. But usually developers mark such libraries as stable, why this is not happening? Can you think of any reasons? Am Montag, 11. Mai 2015 10:55:11 U

Re: [pylons-discuss] Forms and Validation With Deform ???

2015-05-11 Thread Andreas Kaiser
On 11 May 2015, at 11:02, Laurent DAVERIO wrote: The only thing you want to avoid is the `deform_bootstrap` package, which was never ported to Bootstrap 3: https://pypi.python.org/pypi/deform_bootstrap Right. deform-bootstrap also came from the Kotti ecosystem and was basically nothing more

Re: [pylons-discuss] Forms and Validation With Deform ???

2015-05-11 Thread Laurent DAVERIO
I use the exact same combination, and I fully concur :) The only thing you want to avoid is the `deform_bootstrap` package, which was never ported to Bootstrap 3: https://pypi.python.org/pypi/deform_bootstrap Laurent. Kotti always uses the latest versions of all upstream packages, for that

Re: [pylons-discuss] Forms and Validation With Deform ???

2015-05-11 Thread Andreas Kaiser
On 11 May 2015, at 10:08, Sascha Gottfried wrote: I know that kotti & substance-d use deform extensively. I really like the demo site for deform2.0a2 But deform2 did not change much from alpha since 18 months. Maybe I miss

[pylons-discuss] Forms and Validation With Deform ???

2015-05-11 Thread Sascha Gottfried
I want to add schema-driven, autogenerated forms with validation to my prototyped pyramid application using ZODB for persistence. I already have experience with deform<=1.999, since I worked quite a bit with it while working with ToDoPyramid tutorial

[pylons-discuss] Re: trypyramid.com and python 2.x

2015-05-11 Thread wilk
On 10-05-2015, Steve Piercy wrote: > On 5/10/15 at 3:29 PM, ch...@simplistix.co.uk (Chris Withers) pronounced: > >>Slight word of caution: in the UK, at least, artisan has been >>abused to be applied to many things, particularly bread, just >>to inflate the price and is now commonly understood to