Re: [pylons-devel] Pylons 1.x maintenance

2015-07-21 Thread Ben Bangert
lease access to dependencies such as Routes, WebError, Paste, and such? I finally just released a new WebError, Routes, and Pylons, and have obviously not had the time to properly devote to legacy maintenance so I'd be thrilled with some active ppl coming on to continue. Cheers, Ben On Mon, Ju

ANN: Pylons 1.0.1 released

2012-08-13 Thread Ben Bangert
lons 1.0, there should be no backwards compatibility issues (short of any changes to WebOb that might affect you). Cheers, Ben -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googleg

ANN: Beaker 1.6.4 released with important security update

2012-08-13 Thread Ben Bangert
tabase-backed sessions. Patch by Vladimir Tananko. * Fix issue with long key names in memcached backend. Patch by Guillaume Taglang. Cheers, Ben -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email

Re: Can't return JSON using 1.3b1

2012-02-28 Thread Ben Sizer
ylonsproject.org/projects/pyramid/en/latest/narr/renderers.html because none of them have routes defined in the view_config decorator. Is there a way to add a route to a view_config-decorated view when the view doesn't have a route name? -- Ben Sizer -- You received this message because

Can't return JSON using 1.3b1

2012-02-28 Thread Ben Sizer
n viewresult_to_response raise ValueError(msg % (view_description(view), result)) ValueError: Could not convert return value of the view callable function __main__.hello_world into a response object. The value returned was {'content': 'Hello!'}. You may have forgotten to def

Re: ATTN: Please keep general discussion on pylons-discuss

2011-04-04 Thread Ben Bangert
elp to StackOverflow to see if their problem has a solution there, and if not have it solved there instead of on the mail list? Then we could just nuke pylons-dev, and have a single pylons-discuss where all Pylons Project related topics are discussed, and refer people with more 'support&#x

Re: ATTN: Please keep general discussion on pylons-discuss

2011-03-31 Thread Ben Bangert
rested in looking at development related things, being able to see just that at once is very useful. Of course, it'd also be useful if Mail Lists supported tags/categorization so its easier to filter but ah well. Cheers, Ben -- You received this message because you are subscribed t

Async form submitting and Authentication

2011-03-23 Thread Ben
I have a question about putting async form submitting and pyramid default authentication together. My sign up and sign in form is doing async form submitting, in the back end, if there is something wrong, I return a json message with all error messages, but when the form data is correct, I tried t

Re: Terminology Change - Template to Skeleton

2011-03-22 Thread Ben Bangert
can! In fact, several of us have the commit rights needed. :) Deprecating the old one is definitely an option. Cheers, Ben -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com.

Re: Terminology Change - Template to Skeleton

2011-03-21 Thread Ben Bangert
; given its already a well known name that people already associate with this exact thing? I mean, I can see how 'blueprint' can technically be a more accurate term, but existing re-use of the name and lack of anyone already associating it with this seems like a point against it. Cheers,

Re: Terminology Change - Template to Skeleton

2011-03-21 Thread Ben Bangert
or template languages? Is that a real problem? I'm just not sure I've been doing Pylons for a long time, and we generally do say 'paster templates' and no one thus far has ever gotten confused afaik. But hey, its a fun bike-shed, eh? :) Cheers, Ben -- You received this mes

Re: Terminology Change - Template to Skeleton

2011-03-21 Thread Ben Bangert
framework. I know quite a few people coming to Python from the Rails world immediately search around looking for where the equivilant 'scaffolding' is for their projects. Cheers, Ben -- You received this message because you are subscribed to the Google Groups "pylons-devel&

Re: Pyramid 2 ideas

2011-03-15 Thread Ben Bangert
ose to CherryPy's, which is great considering it does a bit more to avoid memory leaks, stuck threads, etc. - Ben -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.co

Re: Pyramid 2 ideas

2011-03-15 Thread Ben Bangert
crease and less latency (generally starts to match CherryPy's server then): http://groups.google.com/group/paste-users/browse_thread/thread/b2afc88a86caade1 http://stackoverflow.com/questions/1781766/paste-httpserver-and-slowdown-with-http-1-1-keep-alive-tested-with-httperf-and-a Cheers, Ben -

ATTN: Please keep general discussion on pylons-discuss

2011-03-15 Thread Ben Bangert
and don't continue it on pylons-devel. Odd's are there's more people that will benefit as the pylons-discuss list is substantially larger in membership then the devel one. Again, sorry about the confusion and delay in updating the Pylons Project pages to indicate the appropriate

Re: CSRF protection and session factories

2011-03-09 Thread Ben Bangert
r could use the stolen cookie to do a GET/POST with a new CSRF token as the other user. Thus any additional rotation of the CSRF token seems a bit overkill and more prone to cause situations where a user might hit the back button and try to re-submit a form causing them to see a CSRF error and think

Re: How do I combine paster templates?

2011-03-07 Thread Ben Bangert
ing that out! We're fixing that asap. :) Cheers, Ben -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubs

Re: Newbie Question about app configuration

2011-03-07 Thread Ben
Yah, I was asking about Pyramid. Thanks a lot! -Ben On Mar 7, 9:51 am, Michael Merickel wrote: > Assuming you're asking about Pyramid, the settings are accessible through > the request object. > >     settings = request.registry.settings >     secret = settings['

Newbie Question about app configuration

2011-03-06 Thread Ben
__init__.py file. Thanks! -Ben -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com

Re: How do I combine paster templates?

2011-03-06 Thread Ben Bangert
the Pyramid framework, and infrastructure development. You'll generally recieve more input on issues on the pylons-discuss list as its much larger. Cheers, Ben -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group,

Re: mod_wsgi mako - unable to find template

2011-03-04 Thread Ben
Hi, I am trying to do the similar thing. It works if I use config.add_route() but if I use @view_config, it does not work me and keeps complaining that it cannot find renderer what is the problem? Thanks On Mar 4, 4:27 pm, Mengu wrote: > for development, i recommend you using paster. you can

Re: Some thoughts about Pyramid

2011-03-03 Thread Ben Bangert
as well. :) Cheers, Ben -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.co

Re: paginator/batcher for use with Pyramid

2011-02-24 Thread Ben Bangert
;s the most efficient way I can do that with currently available software? > > What version of webhelpers should I use? Are there any changes to the query I > should make to make it more efficient? The current Paginate in webhelpers can do that just fine. Cheers, Ben -- You received

Re: paginator/batcher for use with Pyramid

2011-02-24 Thread Ben Bangert
bOb request would be sufficient to get the current location *and* generate the appropriate link to the next page. As for handling offset vs using a last key, it might make more sense to make a better API for the object passed in then the sequence slice operation I had imagined earlier. Cheers, Ben

Re: paginator/batcher for use with Pyramid

2011-02-24 Thread Ben Bangert
next iteration. Also, to require the object being paginated to support the Python sequence API, so that the hacky code that tries to deal with various SQLA things isn't needed. Ie, there'd be some sequence wrappers for SQLA query objects vs. a bunch of if/else code toggling it inside the pagina

Re: Raw MySQL with SQLAlchemy using Pyramid framework

2011-02-20 Thread Ben Bangert
cases = cases.filter(cls.id.in_(judge_case_ids(judge))) It's quite easy to dynamically build up the filter conditions, dynamically include additional table joins as needed, etc. Cheers, Ben -- You received this message because you are subscribed to the Google Groups "pylon

Re: help on webob

2010-12-30 Thread Ben Bangert
On Dec 30, 2010, at 11:29 AM, Gael Pasgrimaud wrote: > I've already tried to contribute but my changes was never merged. > > Maybe you can use this changeset: > https://bitbucket.org/gawel/webob/changeset/ed29414cd65b Thanks Gael! I've pulled and merged your test a

Re: @view_config and URL dispatch

2010-12-13 Thread Ben Bangert
ulated so making a view registration that requires 'name' will cause it to not be found during view lookup. Cheers, Ben -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-de...@goog

Re: Pyramid project templates

2010-11-28 Thread Ben Bangert
On Nov 24, 2010, at 3:13 PM, Mike Orr wrote: > Why a list of sessions? That doesn't seem to give much control over > which session you get. It wasn't intended to. That was just so I wouldn't need to do 'global db_session' inside the configure function. - Ben

Re: Pyramid project templates

2010-11-28 Thread Ben Bangert
ble to get to the session, or to ensure the engine is configured and bound first. The main advantage to having the package is that since one doesn't need to import anything from their own models during config, reflective tables are easier. As you mention, you don't use table reflectio

Re: Pyramid project templates

2010-11-24 Thread Ben Bangert
x27;write_master', prefix='sqlalchemy.write.', immediate_bind=False) Then its up to the user during runtime to use get_dbengine and re-bind the session during the request if they want to change to the write master, etc. Cheers, Ben -- You received this message because you a

Re: Pyramid project templates

2010-11-24 Thread Ben Bangert
more SQLAlchemy knowledge, and pyramid_sqla would only be making it easy to register engines/sessions and get to them from anywhere else. > 3) There are really several ways to structure large apps with multiple > databases, such as multiple session objects as Ben last described. I > do

Re: Pyramid project templates

2010-11-24 Thread Ben Bangert
how its acquired could then be updated later instead of having a 'DBSession' object hardcoded at module scope in pyramid_sqla. Cheers, Ben -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to

Re: Pyramid project templates

2010-11-24 Thread Ben Bangert
emy that will let people make more assumptions about some basic SQLA things. For example, maybe the setup_dbsession command in the future might trigger an event "DBInitialized" that other event listeners might be waiting for to do something, etc. > Likewise, I can make a 'pyra

Re: Pyramid project templates

2010-11-24 Thread Ben Bangert
sufficient. Sounds good. > I don't think this is useful. A single file app would never live in a > package. There's no purpose in providing a template to generate a > single-file app. Indeed, strike that. :) Cheers, Ben -- You received this message because you are subsc

Re: Pyramid project templates

2010-11-23 Thread Ben Bangert
ion how to set it up, or the people using zodb with pyramid_zodb can have a template in that package that comes with it setup. Cheers, Ben -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email

Pyramid project templates

2010-11-23 Thread Ben Bangert
ther packages that provide other templates will then be responsible for documenting it. pyramid_sqla also means there's a point to build additional sets of functionality that assist with SQLAlchemy usage in Pyramid that would help for those who want to make bits that assume you're usin

Re: permissions with handlers

2010-11-20 Thread Ben Bangert
ator, it won't work in the add_handler call because all additional keyword args to add_handler go to add_route (and permission is something you want for the add_view which @action will use). Cheers, Ben -- You received this message because you are subscribed to the Google Groups "p

Re: Routing in Pyramid

2010-11-19 Thread Ben Bangert
o be able to specify a regex for its part so you didn't have to manually type it over and over again. I don't want to be typing it over and over again, and its nice to have the converter specify some basic minimum set of requirements that can be taken care of in the regex match *bef

Re: Routing in Pyramid

2010-11-19 Thread Ben Bangert
ich it supposedly has a clue what would be a valid conversion... - Ben -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send email to pyl

Re: Routing in Pyramid

2010-11-19 Thread Ben Bangert
hives/{month:month_conv}'...) Which I guess is fine, and as you mention it does avoid the ambiguity by making it explicit that something else is happening with the marker. I do anticipate ppl using the routehelper as a 'partial', which is why many like the context manager aspect, li

Routing in Pyramid

2010-11-19 Thread Ben Bangert
) In my experience, lots of people end up repeating themselves a ton as their marker names frequently require the same regular expression and type coercion. It'd be nice to have that all taken care of without clouding up the view code. Any thoughts on converters or being able to register d

Re: Status of Pyramid (angling for a beta)

2010-11-18 Thread Ben Bangert
on * pyramid_feeds - Template renderer that provides feed output support, ie 'atom', or 'rss2' and will handle taking a dict like current renderers, but spit out a feed * pyramid_paginate - Flexible pagination helper for sequences like the current paginate The most impor

Re: Status of Pyramid (angling for a beta)

2010-11-18 Thread Ben Bangert
On Nov 18, 2010, at 8:11 AM, Mike Orr wrote: >> That said, I didn't personally consider the case where the desired >> return value of the pattern "/:x_html" might be {'x':'foo'} instead of >> {'x_html':'foo_html'} when th

Re: webhelpers.paginate fails on explicit mapper

2010-11-06 Thread Ben Bangert
ert/webhelpers/issues?status=new&status=open Cheers, Ben -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+

Pylons & repoze.bfg Merger - or - Where'd Pylons 2.0 go?

2010-11-05 Thread Ben Bangert
ast few months, I've been collaborating pretty meaningfully with Ben Bangert, the lead developer of the Pylons (http://pylonshq.com) web framework. This collaboration started because Ben and I have "competing" web frameworks, both written in Python. Our repoze.bfg and Ben's Pylo

Re: Pylons 2 users guide, first draft

2010-09-30 Thread Ben Bangert
response.content_type = 'application/vnd.mozilla.xul+xml' return response > There is also a render_template_to_response() function somewhere, > maybe in pylons.templating. It fills a template and creates a response > and returns it. Yup. Cheers, Ben -

Re: Pylons 2 users guide, first draft

2010-09-25 Thread Ben Bangert
#x27;t transitioning all that quickly. There is no book for the new Pylons paradigms yet, so you'll see a much higher level of 'support' in the way of blog postings, and documentation for 1.0 for some time to come I believe. Cheers, Ben -- You received this message because you

Re: Pylons 2 users guide, first draft

2010-09-20 Thread Ben Bangert
On Sep 20, 2010, at 10:17 PM, Mike Orr wrote: > How many full-time staff do you have available for two months? Just > converting the hundreds of references to plain text would take hours, > plus rewording the hundred-some pages of BFG docs and hundred-some > other docs and a few more for SQLAlchem

Re: Pylons 2 users guide, first draft

2010-09-20 Thread Ben Bangert
foreign cross-references. Can that be done as a Sphinx > plugin? That sounds like it might be more effort than just copy/pasting the bits we need in, and ensuring their docs flow well with the rest of the Pylons docs. - Ben -- You received this message because you are subscribed to the Google

Re: Pylons 2 users guide, first draft

2010-09-19 Thread Ben Bangert
disconnect when someone add's things to tmpl_context in one case, but then it gets dropped in as a template global under the 'renderer=' scenario. Having everything a person wants to pass in, always go in under tmpl_context seems more consistent. - Ben -- You received this message because

Re: Pylons 2 users guide, first draft

2010-09-19 Thread Ben Bangert
On Sep 19, 2010, at 6:36 PM, Ben Bangert wrote: BTW, for anyone else that just saw this message appear apparently out of the blue, Google Groups does have the full thread but failed to e-mail it out. To catch up, just go to: http://groups.google.com/group/pylons-devel/browse_thread/thread

Re: Pylons 2 users guide, first draft

2010-09-19 Thread Ben Bangert
ake. > Do you mean just changing the message to "ImportError: please install > the 'formencode' package", or something more elaborate? Well, no, I just mean that it'll only define the legacy things if formencode is present. So that its not actually required to inst

Re: Pylons 2 users guide, first draft

2010-09-15 Thread Ben Bangert
on in the API docs, and that lists all the functions/classes/modules you should need to know about for everything that is 'session' related. I get the distinct impression this would help people find the right module/class/function, since right now ppl end up asking these questions on the

Re: Pylons 2 users guide, first draft

2010-09-15 Thread Ben Bangert
27;re using new things. > But if the try/excepts have to be in the application, we're kind of > screwed, because we can't go auto-modifying people's applications and > breaking them. No, I meant in the places where Pylons is importing WebHelpers and FormEncode,

Re: Pylons 2 users guide, first draft

2010-09-15 Thread Ben Bangert
On Sep 12, 2010, at 3:39 PM, Chris McDonough wrote: > Most of this is already handled via "paster points", e.g. do > "env/bin/paster points paste.filter_app_factory" in a virtualenv that > has Pylons installed. What that doesn't do is give you the "egg name", > although you don't really need the

Re: Pylons 2 users guide, first draft

2010-09-15 Thread Ben Bangert
ile is where settings and the application wrappers are configured, which can differ between production, staging, testing, and deployment, while the make_app is where the application itself is configured. - Ben -- You received this message because you are subscribed to the Google Groups &q

Re: Pylons 2 users guide, first draft

2010-09-15 Thread Ben Bangert
n't gone through the Pylons code or BFG code or BFG manual > yet; I just went with "it must be so in order for the application code > to work", based on an earlier email exchange with Ben about the > application structure. The emails are also included for reference on a >

Help get Pylons 1.0 out the door!

2010-05-18 Thread Ben Bangert
e planned for Pylons post-1.0, so I'll be writing up a blog post in the next few days outlining a rough future roadmap for where Pylons is going, and what new features are planned. Cheers, Ben Bangert -- You received this message because you are subscribed to the Google Groups "pylons

Re: Pylons 0.10 and 1.0 Beta 1 Released

2010-02-06 Thread Ben Bangert
be added to the "How to upgrade" page. Yep, thanks! I've updated the upgrading page to include this. Cheers, Ben -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-de...@googleg

Pylons 0.10 and 1.0 Beta 1 Released

2010-02-05 Thread Ben Bangert
s and its various components what they are today. - Ben -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+

Re: [Pylons] #405: [Patch] Split up @validate

2009-11-19 Thread Ben Bangert
nge @validate before 1.0 or if we should just release 1.0 now with the legacy removal stuff and the few bugfixes that have come up since 0.9.7. Changing @validate now would break a ton of code for 1.0. Maybe rather than fix @validate, we should consider deprecating it entirely post-1.0 and move

Re: pylons future plans?

2009-06-25 Thread Ben Bangert
h' to traversal (repoze.bfg/zope style, though for backwards compat with TG2, could use a CherryPy style traverser) Anyways, that's about where we are now, and we're now working on some code to play with these thoughts and see how they pan out. Cheers, Ben --~--~-~--~--

Re: pylons future plans?

2009-06-25 Thread Ben Bangert
. Once Sphinx can generate it, I can go ahead and replace the routes.groovie.org site with it. Anyone up for these tasks, or interested in updating the pylons/docs based on the comments, or fixing any website bugs? Cheers, Ben --~--~-~--~~~---~--~~ You received this m

Re: pylons future plans?

2009-06-22 Thread Ben Bangert
On Jun 21, 2009, at 12:40 PM, Iain Duncan wrote: >> I don't know what Ben has up his sleeve but I think the core is >> essentially done with 0.9.7. The main incremental changes are on the >> periphery: improve @validate, replace @beaker_cache, improve the >> depen

Re: create_slug helper

2009-06-18 Thread Ben Bangert
se it when available? Cheers, Ben --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com To unsubscribe from this group, send e

Re: Comment on TW's changeset #371

2009-05-28 Thread Ben Bangert
llers/ > core.py Is this because functions are being dynamically added/removed from the controller, and the cached inspect is holding onto them? Any elaboration on what exactly is occurring? Cheers, Ben --~--~-~--~~~---~--~~ You received this message becau

Re: A Letter to the Authors of Web Authentication Libraries

2009-05-09 Thread Ben Bangert
used with a Pylons decorator, that drops in a unique token into a form to prevent CSRF attacks. I can see a similar Pylons decorator, with a WebHelper generator that would make it easy to drop in optional use of your system for anyone making a login form. Cheers, Ben smime.p7s Description: S/MIME cryptographic signature

Re: A Letter to the Authors of Web Authentication Libraries

2009-05-04 Thread Ben Bangert
rds in the clear over non-SSL as Paul suggests. Cheers, Ben smime.p7s Description: S/MIME cryptographic signature

Re: What happen with Pylons 0.9.8

2009-04-12 Thread Ben Bangert
year 2009. I got tired of dragging on the 0.9 series, when it might as well be 0.10 instead. So it'll be 0.10 and 1.0 at once instead of 0.9.8 and 1.0. Just a difference in the version for the non-1.0 series. Cheers, Ben smime.p7s Description: S/MIME cryptographic signature

Re: 0.9.7 docs

2008-11-23 Thread Ben Bangert
install Sphinx Then cd into the pylons/docs/en/ dir and: make html Which will build the HTML copy in a _build directory that you can take a look at. Cheers, Ben smime.p7s Description: S/MIME cryptographic signature

Beaker 1.1 Release

2008-11-16 Thread Ben Bangert
operation). * replaced homegrown ThreadLocal implementation with threading.local, falls back to a 2.3 compat one for python<2.4 Cheers, Ben smime.p7s Description: S/MIME cryptographic signature

Re: Prototype works under Konqueror - jQuery ie - not

2008-09-02 Thread Ben Bangert
not the actual libraries. The WebHelper functions were ported from Rails, and haven't been updated in quite awhile, thus are out of date and will not be maintained. Cheers, Ben smime.p7s Description: S/MIME cryptographic signature

Re: problems with go-pylons.py on Windows

2008-07-17 Thread Ben Bangert
s-dev was used, not go-pylons. Cheers, Ben smime.p7s Description: S/MIME cryptographic signature

Re: 0.9.6.2 mis-packaged?

2008-06-24 Thread Ben Bangert
o remove them from the package. Cheers, Ben smime.p7s Description: S/MIME cryptographic signature

Re: Pylons Security Advisory - Pylons 0.9.6.2 released

2008-05-28 Thread Ben Bangert
On May 28, 2008, at 1:31 PM, Ben Bangert wrote: Pylons Security Advisory Topic:Path traversal bug in default error controller Module: controllers/error.py Announced:2008-05-15 Credits: Webwise Security Yes, I know I have the wrong date in the

Pylons Security Advisory - Pylons 0.9.6.2 released

2008-05-28 Thread Ben Bangert
Pylons Security Advisory Topic:Path traversal bug in default error controller Module: controllers/error.py Announced:2008-05-15 Credits: Webwise Security Affects: All Pylons releases with Routes < 1.7.3 Corrected:Routes 1.7.3 or greater

Last Announcement: Upcoming Pylons/TG2/WSGI Sprint!

2008-05-23 Thread Ben Bangert
g a WSGI intro and overview in the morning to help bring people up to speed as well. Those unable to make it, are welcome to join us online to sprint. Cheers, Ben Bangert smime.p7s Description: S/MIME cryptographic signature

Re: pylons 0.9.7

2008-05-18 Thread Ben Bangert
On May 18, 2008, at 6:25 AM, blaf wrote: Thanks Ben to finally commit your thoughts about proposed logos and general vision about the soul of the project. I think we should be careful about the logo because it's a critical aspect of communicating a first impression to the right audience. A

Re: pylons 0.9.7

2008-05-17 Thread Ben Bangert
On May 17, 2008, at 11:13 AM, Graham Higgins wrote: Ben recommended folks to get familiar with Sphinx. Which I have been doing. I've been amusing myself with http://bel-epa.com/pylonsdocs/index.html U, WOW. Are there pylons-dev patches coming with some of these changes? :) I re

Re: Docs docs docs!

2008-05-01 Thread Ben Bangert
On May 1, 2008, at 5:33 AM, Graham Higgins wrote: gettingstarted configuration controllers templates helpers models testing debugging deployment I've been playing with a candidate structure which attempt to integrate some of the pre-existing documentation. (Ben, it&

Re: Docs docs docs!

2008-04-30 Thread Ben Bangert
On Apr 30, 2008, at 12:25 PM, Ben Bangert wrote: To run the Sphinx build locally, first install Sphinx: ./superdevenv/ bin/easy_install -U Sphinx. Then go to superdevenv/pylons/pylons/ docs and type: make html The easy_install step shouldn't be required now, I've added Sphinx to

Re: Docs docs docs!

2008-04-30 Thread Ben Bangert
y stated that, just setup a dev env like I mention here, find a section of the docs you'd like to work on, and announce it here so we avoid working on the same doc. :)Or we could just setup a page on the wiki to track who's working on which sections. Cheers, Ben smime.p7s Description: S/MIME cryptographic signature

Re: Docs docs docs!

2008-04-30 Thread Ben Bangert
ibution of copyright in the LICENSE file I believe. - Ben smime.p7s Description: S/MIME cryptographic signature

Pylons / TG2 / WSGI Sprint May 31st-June 1st in Sebastopol, CA

2008-04-23 Thread Ben Bangert
are welcome to join us online to sprint. Cheers, Ben Bangert smime.p7s Description: S/MIME cryptographic signature

Re: Docs docs docs!

2008-04-19 Thread Ben Bangert
as a rather nice form put together here: http://repoze.org/contributing.html I'll modify as needed for those wishing to contribute to the Pylons core docs. That work for everyone? Cheers, Ben smime.p7s Description: S/MIME cryptographic signature

Re: Feedback on 9.7.1beta1

2008-03-31 Thread Ben Bangert
ns.templating import render_mako as render Cheers, Ben smime.p7s Description: S/MIME cryptographic signature

Re: pylons's nose plugin configuration file versus hardcoded test.ini

2008-03-28 Thread Ben Bangert
wn to nose. --with-pylons=TEST.INI, or whatever one you want to use. The only change I can think of that might make it easier in Pylons is if the test/__init__.py was able to figure out what option you had specified to --with-pylons, though I'm unsure how to get that info at the moment

Docs docs docs!

2008-03-23 Thread Ben Bangert
al review Please let me know. I'll be putting together a rough outline and posting it shortly. Cheers, Ben smime.p7s Description: S/MIME cryptographic signature

Re: A Buffet replacement

2008-03-05 Thread Ben Bangert
eir template loader mechanism mostly the same over revisions (which so far, they have). At least with the render_ functions, if one of them breaks, and a project *needs* to use the latest template system before a new Pylons release can be issued, they can easily write their own render function.

Re: A Buffet replacement

2008-03-05 Thread Ben Bangert
27;c' for variables, the included render_ functions are provided by Pylons. No need to write them yourself. MakoRenderer is 'ad hoc' as much as render_mako. Can you clarify what makes one of them less ad hoc purely because its a class rather than a function? Cheers, Ben smime.p7s Description: S/MIME cryptographic signature

Re: A Buffet replacement

2008-03-05 Thread Ben Bangert
ough simplicity and elegance, so far Buffet and its abstraction ilk has been the exact opposite. After seeing how simple and short it is to just write a little render function that does *exactly* what you want, its hard to see the advantage in accepting template language limitations and abstr

Re: A Buffet replacement

2008-03-04 Thread Ben Bangert
ange options to the Mako templateloader, it'd be really obvious how to do that... or change it to a different engine's template loader as appropriate. What purpose does the MakoRenderer object have? Mike, I believe I've updated this as you suggested, such that Mako u

Re: A Buffet replacement

2008-03-03 Thread Ben Bangert
is down to about 4-6 lines of code. I don't think it will hurt people to write one that works as they want. Cheers, Ben smime.p7s Description: S/MIME cryptographic signature

A Buffet replacement

2008-03-03 Thread Ben Bangert
including a future deprecation warning for Buffet, with more blatent deprecation warnings in 0.9.8 as 1.0 will drop Buffet entirely. Any other thoughts? Cheers, Ben smime.p7s Description: S/MIME cryptographic signature

Re: Beaker: extra args in 'creatfunc' question

2008-02-21 Thread Ben Bangert
alues per key's createfunc. Can you elaborate on what you'd want to store for use with the creatfunc? I could see perhaps supplying a createargs dict that would include variables to call it by keyword style when used. Is that what you're referring to? Cheers, Ben smime.p7s Des

Re: Beaker: 'expiretime' and memcached backend

2008-02-21 Thread Ben Bangert
s the stored time in addition to the value. Then upon retrieval of the value (and its stored time), it does a check against the expiration to see if the value has expired, and recreates it if it has. Until Beaker next accesses and invalidates the value, it will not be removed from the backend. Ch

Re: beaker cache lookup error

2008-02-15 Thread Ben Bangert
his bug. Thanks for the catch! Cheers, Ben smime.p7s Description: S/MIME cryptographic signature

Re: beaker cache lookup error

2008-02-15 Thread Ben Bangert
ed for keys you've asked get_cache for with createfunc in the past. So key3 should fail in addition to key1, since the createfunc was only specified for key2. Is that the behavior you were expecting as well? Cheers, Ben smime.p7s Description: S/MIME cryptographic signature

Re: beaker cache lookup error

2008-02-15 Thread Ben Bangert
On Feb 15, 2008, at 12:53 PM, Andrew Stromnov wrote: Latest from HG repository. OS - Ubuntu 7.10. Python 2.5.1 Do you know when this began? All the Beaker unit tests, which do this, still work. - Ben smime.p7s Description: S/MIME cryptographic signature

  1   2   >