[Repoze-dev] repoze.configuration - YAML with LibYAML

2010-02-18 Thread Joan Miller
It's possible that PyYAML has been built to support the LibYAML bindings so it should be used: try: from yaml import CLoader as Loader from yaml import CDumper as Dumper except ImportError: from yaml import Loader, Dumper

[Repoze-dev] [issue87] auth_tkt: Cookies will always expire when the user agent is closed

2010-02-18 Thread Luca Barbato
Luca Barbato lu_z...@gentoo.org added the comment: Looks like feature had been implemented independently -- status: unread - chatting __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue87 __

[Repoze-dev] [issue87] auth_tkt: Cookies will always expire when the user agent is closed

2010-02-18 Thread Luca Barbato
Luca Barbato lu_z...@gentoo.org added the comment: Looks like feature had been implemented independently in remember now you get max_age = identity.get('max_age', None) and _get_cookies correctly sets it __ Repoze Bugs b...@bugs.repoze.org

[Repoze-dev] [issue87] auth_tkt: Cookies will always expire when the user agent is closed

2010-02-18 Thread admin
System message: __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue87 __ ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev

Re: [Repoze-dev] repoze.configuration - YAML with LibYAML

2010-02-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joan Miller wrote: It's possible that PyYAML has been built to support the LibYAML bindings so it should be used: try: from yaml import CLoader as Loader from yaml import CDumper as Dumper except ImportError: from

Re: [Repoze-dev] repoze.bfg not installing on Windows

2010-02-18 Thread Chris McDonough
I have placed WebOb-0.9.8.tar.gz into the http://dist.repoze.org/bfg/current/simple index, so it should be picked up now. On 2/18/10 9:30 AM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shailesh Kumar wrote: I am new to repoze. I was trying to install repoze.bfg on a

Re: [Repoze-dev] repoze.bfg not installing on Windows

2010-02-18 Thread Shailesh Kumar
Thanx a lot. I was able to run the hello world / good bye example on the Windows. Will now be able to try out other things. With regards, - Shailesh On Thu, Feb 18, 2010 at 8:46 PM, Chris McDonough chr...@plope.com wrote: I have placed WebOb-0.9.8.tar.gz into the

[Repoze-dev] repoze.configuration - looks like INI

2010-02-18 Thread Joan Miller
What advantages there is over INI files? Since that it only can check types when the declaration’s structure is a mapping type, it looks to me to INI files ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org

[Repoze-dev] repoze.configuration - converting from a yaml block sequence

2010-02-18 Thread Joan Miller
Could use repoze.configuration to have a similar structure to the next one? note that any keys could be optional as i.e. 'flag' -- 1: #number: 1 label: foo size: 512 flag: boot 2: #number: 2 label: bar size: 10 fs_type: ext4 -- For each item, I

[Repoze-dev] Need advise on using session with repoze.bfg

2010-02-18 Thread georgehu
I'm trying to implement a simple session management like the Amazon site, you can throw your order item into your shopping cart even without a login, and Amazon can remember your ordered items for many days. I'm using mysql and sqlalchemy, according to the document, the Beaker is suggested in

Re: [Repoze-dev] Need advise on using session with repoze.bfg

2010-02-18 Thread Fernando Correa Neto
Hey there, Using beaker is no biggie. In your .ini you need something like: [filter:beaker] use = egg:Beaker#beaker_session beaker.session.key = yourapp.session beaker.session.secret = supersecret [pipeline:main] pipeline = egg:repoze.zodbconn#closer egg:repoze.tm2#tm

Re: [Repoze-dev] Need advise on using session with repoze.bfg

2010-02-18 Thread Tim Hoffman
Hi Yeah I am using beaker on app engine as well with bfg, real easy to setup and it works well. I am using memcache on app engine as the store at the moment as I don't mind if sessions disappear if not used for a little while, but it would be easy to make writes to the session persist in the

Re: [Repoze-dev] Need advise on using session with repoze.bfg

2010-02-18 Thread Chris McDonough
It's also possible to use repoze.session, based on ZODB: http://docs.repoze.org/bfg/1.2/tutorials/zodbsessions/index.html - C On 2/18/10 7:56 PM, Tim Hoffman wrote: Hi Yeah I am using beaker on app engine as well with bfg, real easy to setup and it works well. I am using memcache on app