Re: WebHelpers conflict #63 and #59

2011-03-22 Thread Mike Orr
Update: I found a way to check for the exact exception reported, which was common to the Sprox failure and other unsliceable failures ("TypeError: unhashable type"). So I can at least raise the incompatible message so users will know what's going on. On Tue, Mar 22, 2011 at 10:21 PM, Mike Orr wro

Re: WebHelpers conflict #63 and #59

2011-03-22 Thread Mike Orr
I changed the .__slice__ to .__getitem__. This passes the tests in the SQLAlchemy and sliceable cases. I think it will let some non-sliceable cases through which would cause the original Sprox error, but i don't think there's anything we can do about that because we can't check whether .__getitem__

Re: Terminology Change - Template to Skeleton

2011-03-22 Thread Mike Orr
On Tue, Mar 22, 2011 at 6:46 PM, Ben Bangert wrote: > On Mar 22, 2011, at 6:30 PM, Michael Merickel wrote: > >> I'd imagine we can update Paste to support an alias for templates? >> >> paster create --list-scaffolding >> paster create --scaffold pyramid_starter >> paster create -s pyramid_routesal

Re: Terminology Change - Template to Skeleton

2011-03-22 Thread Ben Bangert
On Mar 22, 2011, at 6:30 PM, Michael Merickel wrote: > I'd imagine we can update Paste to support an alias for templates? > > paster create --list-scaffolding > paster create --scaffold pyramid_starter > paster create -s pyramid_routesalchemy > > Maybe the actual "templates" commands could even

Re: Terminology Change - Template to Skeleton

2011-03-22 Thread Michael Merickel
I'd imagine we can update Paste to support an alias for templates? paster create --list-scaffolding paster create --scaffold pyramid_starter paster create -s pyramid_routesalchemy Maybe the actual "templates" commands could even be hidden from the help and simply supported if ran with a deprecati

Re: Terminology Change - Template to Skeleton

2011-03-22 Thread Mike Orr
On Tue, Mar 22, 2011 at 10:07 AM, Eric Lemoine wrote: > $ paster create --list-templates > Available templates: >  basic_package:          A basic setuptools-enabled package >  paste_deploy:           A web application deployed through paste.deploy >  pylons:                 Pylons application tem

Re: Terminology Change - Template to Skeleton

2011-03-22 Thread Eric Lemoine
On Mon, Mar 21, 2011 at 4:12 AM, Joe Dallago wrote: > This issue has been previously discussed, I just wanted to make sure > that everyone agrees.  At the moment the docs refer to "paster > templates" and renderered templates(mako, chameleon, jinja) using the > same name.  I propose that we change

Re: Terminology Change - Template to Skeleton

2011-03-22 Thread Chris Withers
On 22/03/2011 02:58, Chris McDonough wrote: I just wanted to make sure that there was some distinction between the two entities in the docs, b/c I remember this being an issue as a beginner. It became even more of a problem, when I went to IRC to ask questions, and confusion arrose over which

Re: Terminology Change - Template to Skeleton

2011-03-22 Thread Christoph Zwerschke
Am 22.03.2011 03:58 schrieb Chris McDonough: http://en.wikipedia.org/wiki/Parkinson's_Law_of_Triviality I would not dismiss this as pure bikeshedding though. Developers finally start to understand that choosing adequate, understandable names *is* important when writing code. For a counterexam