On 05 Nov 2014, at 15:57, Tres Seaver tsea...@palladion.com wrote:
Unicode literals are a no-no for 3.2-compatibility:
How important is 3.2 compatibility?
Wichert.
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
On 05 Nov 2014, at 17:55, Tres Seaver tsea...@palladion.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11/05/2014 10:44 AM, Wichert Akkerman wrote:
On 05 Nov 2014, at 15:57, Tres Seaver tsea...@palladion.com
wrote: Unicode literals are a no-no for 3.2-compatibility
I am using repoze.depinj in a small project to help replace a backend
database with a dummy version. I was puzzled for quite some time by my
code sometimes getting my test dummy and sometimes getting the real
database. I finally tracked this down to something unexpected in
repoze.depinj: every
/collective.recipe.modwsgi does that for you.
If you are not using buildout you will need to add the necessary code to
your own wsgi wrapper script.
Wichert.
--
Wichert Akkerman wich...@wiggy.net It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple
On 3/22/11 14:01 , Tres Seaver wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02/22/2011 09:54 AM, Wichert Akkerman wrote:
On 2/22/11 15:40 , Tres Seaver wrote:
We have chosen to leave dormant projects in SVN for the indefinite
future.. Please let us know if there is an existing
On 3/7/11 12:06 , Malthe Borch wrote:
On 7 March 2011 11:59, Wichert Akkermanwich...@wiggy.net wrote:
Is there a mode to make it impossible to accept or generate invalid markup?
For some of us that is very important.
That's what this changeset does. It allows you to use invalid markup
to the
On 3/7/11 12:09 , Malthe Borch wrote:
On 7 March 2011 12:07, Wichert Akkermanwich...@wiggy.net wrote:
That is the opposite of what I want: I would like invalid markup to be
rejected, and I want it to be completely impossible to generate invalid
markup.
I see. Perhaps there could be a
On 3/1/11 12:00 , Chris Withers wrote:
Hi All,
I hope this is the right list, if not, what's the right list for
Chameleon questions?
Anyway, the following:
div class=batcher
tal:content=pager/
...doesn't appear to quote the html in the pager variable.
This is different from normal zpt, why
On 2/22/11 15:40 , Tres Seaver wrote:
We have chosen to leave dormant projects in SVN for the indefinite
future.. Please let us know if there is an existing 'repoze.*' project
which you think needs to be migrated:
repoze.filesafe is still actively maintained and used, so it should
probably
This may already be different in the trunk of repoze.catalog, but I just
stumbled over this: when you do a catalog search and ask it to order by
an empty index you get an empty result set. I was expecting the result
to be an unordered result for that situation. Is this expected behaviour?
On 1/14/11 15:04 , Chris Rossi wrote:
On Fri, Jan 14, 2011 at 5:20 AM, Wichert Akkerman wich...@wiggy.net
mailto:wich...@wiggy.net wrote:
This may already be different in the trunk of repoze.catalog, but I
just stumbled over this: when you do a catalog search and ask it to
order
I recently refactored a package to move all test infrastructure out of
tests/ to testing.py. This has one unfortunate side effect: on installs
without test dependencies my app will now no longer start since the
venusian scan aborts on test imports in testing.py. Is there a way block
venusian
On 2010-12-28 19:16, Chris McDonough wrote:
On Tue, 2010-12-28 at 15:36 +0100, Wichert Akkerman wrote:
I recently refactored a package to move all test infrastructure out of
tests/ to testing.py. This has one unfortunate side effect: on installs
without test dependencies my app will now
On 2010-12-28 20:34, Tres Seaver wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/28/2010 01:39 PM, Wichert Akkerman wrote:
On 2010-12-28 19:16, Chris McDonough wrote:
On Tue, 2010-12-28 at 15:36 +0100, Wichert Akkerman wrote:
I recently refactored a package to move all test
On 2010-11-3 15:56, Wichert Akkerman wrote:
I spent some time today trying to figure out why my views where unable
to find a renderer even though it was registered. It turns out that I
was calling config.scan() before doing config.add_renderer(). The
resulting behaviour is a bit misleading
On 11/14/10 05:32 , Shane Hathaway wrote:
On 11/12/2010 03:17 PM, Iain Duncan wrote:
Reading some of the diaolgue on the pylons/bfg merger has me curious
about the following, wondering if any experts care to share opinions and
war stories:
- what is the best use case for extending through
I have some code (from Chris) which rebuilds a repoze.catalog instance.
It uses a very simple algorithm:
catalog.clear()
for each obj in root:
index object
if object is folderish:
process al its children
unfortunately there is one problem with this code: any stale
Since the issue tracker on bfg.repoze.org is still broken I'm posting
this here.
I ran into a little problem today: I was adding some tests for a
function which uses request.POST.getall(), but it turns out that
repoze.bfg.testing.DummyRequest uses a plain dict for POST instead of a
WebOb
I spent some time today trying to figure out why my views where unable
to find a renderer even though it was registered. It turns out that I
was calling config.scan() before doing config.add_renderer(). The
resulting behaviour is a bit misleading: when rendering a view
I tried to use config.set_default_permission with repoze.bfg 1.3b1, but
it appears to do very little. My code looks like this:
config.set_default_permission(authenticated)
config.scan()
config.add_route(shop+category+article+detail,
/shop/:category/detail/:id,
On 2010-10-7 16:32, Fernando Correa Neto wrote:
I remember seeing pylons or tg2 displaying very nice tracebacks. I'm
not sure it it's actually a middleware but worth looking though.
They use WebError.
Wichert.
--
Wichert Akkerman wich...@wiggy.net It is simple to make things.
http
.
Wichert.
--
Wichert Akkerman wich...@wiggy.net It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev
I am using repoze.zodbconn in a BFG application but I suspect it is not
working as it should be: as soon as multiple requests come in at the
same time I get a lot of locking errors and broken results:
LockError: Couldn't lock
'/Users/wichert/Work/code/buildout/blackbox/var/Data.fs.lock'
The
On 6/25/10 20:03 , Wichert Akkerman wrote:
The way I've setup repoze.zodbconn is
from repoze.zodbconn.finder import PersistentApplicationFinder
from myproject import appmaker
finder = PersistentApplicationFinder(settings[zodb.url], appmaker)
def get_root(request
On 6/25/10 20:18 , Charlie Clark wrote:
Am 25.06.2010, 20:03 Uhr, schrieb Wichert Akkermanwich...@wiggy.net:
I am using repoze.zodbconn in a BFG application but I suspect it is not
working as it should be: as soon as multiple requests come in at the
same time I get a lot of locking errors and
On 6/24/10 09:07 , Ian Bicking wrote:
I believe the changes to 1.7.4 are limited and upgrading will have a low
impact.
Is there a changelog somewhere? The paste website still lists 1.7.3 as
the last release and the pypi page has no changelog information.
If I look at
I noticed something odd in repoze.folder: __setitem__ does not allow you
to replace an existing item. This is a result from __setitem__ being an
alias for add(). Is that a deliberate design decision? If not I'ld like
to change it to allow replacing items.
Wichert.
On 6/17/10 14:53 , Chris McDonough wrote:
On Thu, 2010-06-17 at 11:28 +0200, Wichert Akkerman wrote:
I noticed something odd in repoze.folder: __setitem__ does not allow you
to replace an existing item. This is a result from __setitem__ being an
alias for add(). Is that a deliberate design
On 2010-6-2 20:38, Chris Withers wrote:
What tracker should I put this in?
Please see http://chameleon.repoze.org/docs/latest/ which documents this.
Wichert.
--
Wichert Akkerman wich...@wiggy.net It is simple to make things.
http://www.wiggy.net/ It is hard to make things
would really like that. Or
am I the only one? ;-)
I suspect you are :). I came from Pylons and have not missed that
feature in BFG.
Wichert.
--
Wichert Akkerman wich...@wiggy.net It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple
would have pointed you to
https://bugs.launchpad.net/chameleon-template-engine . I'll fix the link
in svn.
Wichert.
--
Wichert Akkerman wich...@wiggy.net It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple
On 4/15/10 14:57 , Charlie Clark wrote:
Am 15.04.2010, 01:48 Uhr, schrieb Iain Duncaniainduncanli...@gmail.com:
Also curious about the economics of cloud deployment vs renting servers,
input welcome.
That's very much apples and spaceships. Utility services (cloud is such a
deliberately
Thanks for the writeup!
On 2/23/10 14:14 , Chris McDonough wrote:
Documentation
-
- People would like to see a tutorial which hand-held people through
the process of moving from a imperative configuration to a
declarative configuration, and perhaps vice versa.
rates to Europe *are*, but hopefully they're better:
From memory Amazon.com is still expensive with shipping. If the book
lands on something like amazon.co.uk or amazon.de things should improve.
Of course people could also just order it at their local bookstore :)
Wichert.
--
Wichert Akkerman
I'm about (or have done by the time you get this - I'm writing this
offline) to commit a bfg branch which reworks the paster templates a
bit. Most of the changes are inspired by the Pylons templates, and all
of them felt like improvements to me. If you approve of the changes I
can take a look
On 2009-8-19 23:48, Tres Seaver wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Wichert Akkerman wrote:
I did a little work on repoze.sphinx.autoinclude to update it for the
API changes in Sphinx 0.6. There is one noticable change compared to
current trunk: there is a new 'interface
could send
some tests showing the error.
This looks like a bug. Genshi syntax is pretty explicit about this
having to work; it is an integral part of dynamic XIncludes for example.
Wichert.
--
Wichert Akkerman wich...@wiggy.net It is simple to make things.
http://www.wiggy.net
Hi Gustavo,
is there a special reason the repoze.what docs can not be hosted on
docs.repoze.org, next to all the other repoze documentation?
Wichert.
On 6/11/09 6:23 PM, Gustavo Narea wrote:
Hi, everyone.
Jorge's right, my personal server, which hosts code.gustavonarea.net and
up have to use a bare try/except.
Wichert.
--
Wichert Akkerman wich...@wiggy.netIt is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http
Previously Chris McDonough wrote:
On 5/26/09 3:52 AM, Wichert Akkerman wrote:
Previously Chris McDonough wrote:
def remember(self, principal, token):
Return a set of headers suitable for 'remembering' the
principal on subsequent requests
def forget
Previously Chris McDonough wrote:
On 5/26/09 4:07 AM, Chris McDonough wrote:
On 5/26/09 3:52 AM, Wichert Akkerman wrote:
Previously Chris McDonough wrote:
def remember(self, principal, token):
Return a set of headers suitable for 'remembering' the
principal
statement.
Wichert.
--
Wichert Akkerman wich...@wiggy.netIt is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo
.
Wichert.
--
Wichert Akkerman wich...@wiggy.netIt is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev
there should be a 'rememberCredentials' API the app can call.
Wichert.
--
Wichert Akkerman wich...@wiggy.netIt is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
___
Repoze-dev mailing list
Repoze-dev
Previously Martin Aspeli wrote:
Wichert Akkerman wrote:
Previously Martin Aspeli wrote:
If you want to pull in, say, plone.supermodel (a pure Zope 3 package
that should be re-usable and may be useful to BFG if it ever wants to
serialise Zope 3 schema interfaces to/from an XML
is that chameleon.zpt will pull in a few extra
packages, but you yourself have argued that that should not bother
people.
Wichert.
--
Wichert Akkerman wich...@wiggy.netIt is simple to make things.
http://www.wiggy.net/ It is hard to make things simple
46 matches
Mail list logo