On Dec 12, 2013, at 11:59 PM, Mike Orr sluggos...@gmail.com wrote:
It's certainly worth reviewing how much of Beaker's structure makes
sense in 2013. It's based on the Myghty container API, how important
is that? I've been respecting it because Mike B thought it was good,
but it is odd to
.
2013/6/22 Michael Bayer mike...@zzzcomputing.com
Hey all -
dogpile.cache 0.5.0 is now available.
dogpile.cache is a caching API built around the concept of a dogpile lock,
which allows continued access to an expiring data value while a single thread
generates a new value
I'm not really sure, I don't actually get to use Pyramid very often :)
On Jun 25, 2013, at 2:57 PM, Jonathan Vanasco jvana...@gmail.com wrote:
Mike -
I'm thinking about forking pyramid_beaker into pyramid_dogpile ( so i can
just drop beaker ). Would there be any feature requests if I
OK guess you're talking about DBM backend, you can send rw_lockfile=False and
dogpile_lockfile=False to it as the docs mention and it will not use a file
based lock.There's also ways to get your own lock implementation in there
with a backend subclass, though sending in a custom lock should
Hey all -
dogpile.cache 0.5.0 is now available.
dogpile.cache is a caching API built around the concept of a dogpile lock,
which allows continued access to an expiring data value while a single thread
generates a new value. It is intended as the next generation of caching API to
replace
Hey gang -
Mako 0.8.0 is now released.
The biggest change is that the codebase now runs in place for all Python
versions from 2.4 (yes, 2.4 still) through 3.3 without any 2to3 step. This
feature has actually been sitting in the source repo for many months, but it's
time to put it out
hey lists -
Mako 0.7.3 is now available.
This is a bugfix release which includes the following fixes listed below.
Download Mako 0.7.3 at:
http://www.makotemplates.org/download.html
0.7.3
- [bug] legacy_html_escape function, used when
Markupsafe isn't installed, was using an
On Sep 18, 2012, at 2:25 PM, Jonathan Vanasco wrote:
i'm not sure what i looked at either, but that's the answer i was hoping for.
i think i saw line in region.cache_on_arguments ( key = key_generator(*arg,
**kw) ) and missed the valueerror in util
i also have a much older version of
On Jun 20, 2012, at 9:44 PM, Chris McDonough wrote:
In other words, it's Pyramid's job to figure out whether the current user can
execute the view based on the ACL. If the ACL is computed based on who is
logged in, things get weird pretty fast... it's just a divide by zero error
sort
hey Max -
The Pyramid devs agree that it should accept a tuple argument. I think it's a
good idea too. They're just looking for someone to provide a patch at this
point.
- mike
On Jun 21, 2012, at 10:18 AM, Max Avanov wrote:
What are you talking about? This is not just my stupid
On Jun 7, 2012, at 1:46 PM, Mike Orr wrote:
On Thu, Jun 7, 2012 at 10:11 AM, Jason ja...@deadtreepages.com wrote:
Do you know if Pyramid's default session cache will be changing from beaker
to dogpile in the near future?
Pyramid has no default session backend. 'pyramid_beaker' is an
On Jun 8, 2012, at 5:56 PM, Jonathan Vanasco wrote:
I think you're dealing with either a locking issue or a bug in beaker.
check out the comments here:
https://bitbucket.org/bbangert/beaker/issue/101/naive-dog-pile-effect-implementation.
if there's a race issue with locks: I think you
For caching, I'd use dogpile.cache: https://bitbucket.org/zzzeek/dogpile.cache/
Which is specifically the replacement for Beaker caching. It is much simpler
and more performant.
SQLAlchemy 0.8 will convert the beaker caching examples to use dogpile
instead.Attached is a tutorial script
I've made a 40% effort to figure this one out but at least I've figured many
other things out without bugging the list (the irc channel is another
story ;) )
Here's a route in application.py:
config.add_route('some_admin_thing', '/admin_something', factory=AdminUserACL)
Here's the
Hey lists -
I've just put out Alembic 0.3.2.
This version features initial support for Oracle, and some bug fixes.
There's plenty more to do with Alembic so keep those pull requests coming in !
Thanks all for the help on this project.
Alembic 0.3.2:
http://pypi.python.org/pypi/alembic/
, but it may be
when I switch an application to Pyramid.)
On Sat, Apr 14, 2012 at 2:40 PM, Michael Bayer mike...@zzzcomputing.com
wrote:
it seems like my entire concept of having root and root.subpackage, the
way sqlalchemy and sqlalchemy.orm do, is just entirely wrong from a
namespace
I think I released the dogpile.cache stuff incorrectly, actually installing the
packages it seems like I got the namespace package stuff wrong.I have the
pkg_resources.declare_namespace directive in the dogpile/__init__.py of
dogpile.cache but not of dogpile, and it appears that this needs
tempted to just merge these two things together. But I think I'll just
move dogpile into dogpile.core and just get in line with everyone else.
On Apr 14, 2012, at 4:08 PM, Michael Bayer wrote:
I think I released the dogpile.cache stuff incorrectly, actually installing
the packages it seems like
On Apr 12, 2012, at 9:58 AM, Michael Merickel wrote:
On Thu, Apr 12, 2012 at 7:41 AM, Domen Kožar do...@dev.si wrote:
Having something like djangopackages.com + pypi classifier would achieve the
same goal. Pull requests are also easy to make, I would propose rather to
have a good read about
On Apr 12, 2012, at 3:27 PM, binadam wrote:
On Thursday, April 12, 2012 12:24:42 PM UTC-7, binadam wrote:
Hello all,
I used the following cookbook for an asynchronous setup:
http://michael.merickel.org/2011/6/21/tictactoe-and-long-polling-with-pyramid/
but ran into problems.
First
Hello lists -
As some of you know, I've been promising an update to the Beaker caching system
for some months now, building on a pair of libraries dogpile and dogpile.cache
(see the original blog post at
http://techspot.zzzeek.org/2011/10/01/thoughts-on-beaker/ for background).
Following
On Apr 9, 2012, at 11:49 AM, Wichert Akkerman wrote:
On 2012-4-9 17:28, Michael Bayer wrote:
There's a decent README up now at http://pypi.python.org/pypi/dogpile.cache
and you can read all the docs at http://dogpilecache.readthedocs.org/. I'm
hoping to get some testers and initial
On Apr 9, 2012, at 12:57 PM, Wichert Akkerman wrote:
Would you also be willing to accept a pull request (assuming you use git,
otherwise a patch?) that adds a redis backend to dogpile directly?
sure
It seems like we'd almost be better off taking the stats logic wired into
load and
On Apr 9, 2012, at 3:33 PM, Michael Bayer wrote:
assuming you're talking about beaker's middleware, all it did was stick a
CacheManager object in the wsgi environ. You can certainly do that with
dogpile cache regions too.
After considering some approaches I think you could just
On Jan 7, 2012, at 2:03 PM, Raoul Snyman wrote:
Hi,
I'm running Pyramid 1.0 with the Mako templating engine via flup on a
host that only provides FastCGI. I've installed everything into a
virtual environment. I'm getting the following error when accessing
the site:
URL: redacted
File
On Jan 3, 2012, at 2:32 PM, Mike Orr wrote:
Reflection is more difficult because you can't map classes to tables
until they've been reflected, and I'm not sure how it affects
declarative syntax.
I've recently worked out a way to do this:
On Dec 29, 2011, at 12:20 AM, Ahmed wrote:
Without it
I would expect the library to dynamically define the User class based on a
Base and Session that I supply to it, it would then return me the new User
class using that Base.metadata, and I could track that User class within my
app.
On Dec 28, 2011, at 2:19 AM, Ahmed wrote:
I guess being able to refer to the bases from third party libraries is
important.
user_groups = Table('user_groups', base.metadata,
Column('user_id', Integer,
ForeignKey('User.id')),
On Dec 28, 2011, at 1:36 AM, Mike Orr wrote:
On Tue, Dec 27, 2011 at 8:05 AM, Michael Bayer mike...@zzzcomputing.com
wrote:
What's the use case for a Base being shared to a third party module that
doesn't know about your application? This sounds like a bad idea. A Base
might have any
On Dec 28, 2011, at 3:28 PM, Mike Orr wrote:
I would think if the plugin is designed for Pyramid, it would be based
around ZopeSQLAlchemy, which provides a master transaction for everyone to
integrate towards. Do the third party plugins at least integrate with that ?
Question: if
On Dec 28, 2011, at 5:19 PM, Mike Orr wrote:
On Wed, Dec 28, 2011 at 2:10 PM, Michael Merickel mmeri...@gmail.com wrote:
Question: if multiple scoped sessions are created, each using
ZopeTransactionExtension, would they all automatically fit into the
global commit/rollback?
Can we use the
On Dec 26, 2011, at 11:58 PM, Mike Orr wrote:
The purpose of SQLAHelper is to solve the most common problem, which
is sharing a single Base and Session across multiple modules,
including those written by third parties who don't know about your
application.
What's the use case for a Base
On Dec 27, 2011, at 12:18 PM, Chris Withers wrote:
# alternates to the default:
helper.bases.generic_base = Base()
but this doesn't solve my use case of having a base shared across
multiple packages, only some of which may be installed, and some of which may
be third party.
why
On Dec 17, 2011, at 4:40 AM, Chris Withers wrote:
On 16/12/2011 23:48, Michael Bayer wrote:
I was just looking to express (and top post, its just easier) that right
now the sharing the base patterns arent' nailed down, but that it can
be whatever. We can make it work whatever way people
On Dec 17, 2011, at 8:28 AM, Joshua Partogi wrote:
Hi there,
I am left undecided whether to use mako or chameleon. From what I have
observed, it seems that chameleon is the default template language in
pyramid (CMIIW). Is there any case where chameleon is more preferred
when using
On Dec 13, 2011, at 6:09 AM, Chris McDonough wrote:
On Tue, 2011-12-13 at 01:59 -0800, rihad wrote:
You are presuming that there is a one true form library that does
everything well that is completely satisfactory in all cases. I can
tell you from pretty hard experience that this is not
a validation library but with custom templates. Just wondering as I have
tried both before.
Ben
On 13 December 2011 15:48, Michael Bayer mike...@zzzcomputing.com wrote:
On Dec 13, 2011, at 6:09 AM, Chris McDonough wrote:
On Tue, 2011-12-13 at 01:59 -0800, rihad wrote:
You
On Dec 12, 2011, at 2:40 PM, Chris McDonough wrote:
I've seen two people
add code to the same package that does the same thing because nobody
really knows how it works anymore.
This reads like the argument people make for off-the-shelf/out-of-the-box,
rather than against it. Unless you
On Nov 30, 2011, at 11:49 AM, Jonathan Vanasco wrote:
You may be over-thinking this.
The *easiest* ways i've found to overcome this are :
1. stuff the login/passwords into a file that is not in source
control
2. stuff the login/passwords into environment variables
careful with
It also says pylons 0.9.7 documentation at the top. This is the 1.0
Official Pylons Documentation link straight off of
http://docs.pylonsproject.org/en/latest/docs/pylons.html . Seems like more
than one build is generating to the same place perhaps.
Curious what the rationale for
On Nov 22, 2011, at 11:13 AM, Cem Ikta wrote:
Hi Thomas,
You have not understood what I meant!
If you look in java, ruby on rails or php frameworks, you will find lots of
tutorials with ajax,
crud, database, orm, session management etc.
Why is there very little tutorial (quick
On Nov 22, 2011, at 4:46 PM, Jonathan Vanasco wrote:
I've been trying to figure out the best way to handle mobile browser
detection.
I was hoping to find something in the Pyramid stack, but didn't.
After searching online, I found a handful of various projects - with
the bulk of them
On Nov 21, 2011, at 2:09 PM, Michael Merickel wrote:
The biggest argument I have for transaction management is a product of how
views interact with the Pyramid rendering system. Templates are rendered
*after* you have returned from your view unless you explicitly call render()
or
On Nov 20, 2011, at 10:59 PM, Wyatt Baldwin wrote:
On Sunday, November 20, 2011 3:17:54 PM UTC-8, Iain Duncan wrote:
On Sun, Nov 20, 2011 at 2:48 PM, Iain Duncan iaindun...@gmail.com wrote:
Hey folks, I'm using the pattern of making sqlalchemy sessions in a request
factory, but I've mucked
On Nov 15, 2011, at 7:09 AM, Vlad K. wrote:
Why I didn't think of this earlier? Transaction complains if you use
session.commit() or session.begin_nested() directly, wants you to use
transaction.commit() and transaction.savepoint() instead and it just didn't
occur to me to try
On Nov 14, 2011, at 2:44 PM, Chris McDonough wrote:
Out of curiosity, why are you committing in the middle of view logic?
It's none of my business really, but session.flush() would seem to get
you what you want and would work fully within the one-request-one-commit
policy.
hear, hear !
On Nov 14, 2011, at 10:14 PM, Chris McDonough wrote:
On Mon, 2011-11-14 at 20:30 +0100, Vlad K. wrote:
For worse I'd say because using SQLAlchemy directly works just fine and
as expected, without the need to reload the data after failed session.
By the way, are you sure about this? I've
looking at the source it seems like you could call
_set_cookie_values() and _update_cookie_out() manually to re-send the
cookie.
also I'd advise using CookieSession overall, its way more efficient
and scalable. I'd love to rip the plain Session out of beaker
altogether.
On Apr 19, 12:26 pm, Max
Please see the list of enhancements in SQLAlchemy 0.6 at
http://www.sqlalchemy.org/trac/wiki/06Migration .
Pylons itself does not make use of any deprecated features in SQLAlchemy.
On May 30, 2010, at 12:02 PM, Krishnakant Mane wrote:
Hello,
I am using pylons for my web application
On May 6, 2009, at 6:43 PM, Jeremy Burton wrote:
Pylons works superbly out-of-the-box with SQLAlchemy if your web
application solely responds to HTTP requests.
However, it seems to me that most non-trivial web applications
(including mine) will inevitably need to have additional
eoc wrote:
InterfaceError: (InterfaceError) Error binding parameter 1 - probably
unsupported type. u'SELECT nav.id AS nav_id, nav.name AS nav_name,
nav.path AS nav_path, nav.section AS nav_section, nav.before AS
nav_before, nav.type AS nav_type \nFROM nav \nWHERE nav.path = ? AND
these seem like filesystem failures of some kind.what is special about
the filesystem where the lockfiles are getting created ? special
includes how its mounted, no NFS or similar in use, etc.
Mike Orr wrote:
On Tue, Mar 3, 2009 at 4:52 PM, Philip Jenvey pjen...@underboss.org
wrote:
.
On Thu, Mar 5, 2009 at 9:35 AM, Michael Bayer mike...@zzzcomputing.com
wrote:
these seem like filesystem failures of some kind. what is special
about
the filesystem where the lockfiles are getting created ? special
includes how its mounted, no NFS or similar in use, etc.
Mike Orr wrote
On Jan 31, 2009, at 11:34 PM, Colin Flanagan wrote:
I don't follow this logic. If the enterprise model, software
development or otherwise (and does GWT really fit into that?),
brought on the current economic disaster, what safeguards would the
alternative (I guess in this instance,
On Feb 1, 2009, at 12:19 AM, Tycon wrote:
I'm not talking about facebook/youtube type sites, I'm talking about a
real web application
where users access information, enter information, search and analyze
information, and visualize information.
which one of those is not supplied by
On Jan 31, 2009, at 4:28 PM, Tycon wrote:
I'm planning on using GWT only for client side code and doing all
server calls
using JSON, and not using GWT's RPC mechanism. So I guess that would
avoid the problem you are talking about ?
or you could just use jquery...ive no idea how you'd use
what a strange post. There are no unicode issues in WSGI, and the
usage of WSGI in the generic sense doesn't complicate things to any
degree - the spec is just a single function call.If there are Py3K
issues in Paste, lets first make it clear that *every* application
that deals explicitly
On Jan 21, 2:00 am, Jan Koprowski jan.koprow...@gmail.com wrote:
In MVC *M*odel should be abstract layer of data and hide data
representation and real method access giving: universal, good
described, readable and simple interface to manage this data: add,
remove, get all, get one etc...
On Jan 21, 11:33 am, Jan Koprowski jan.koprow...@gmail.com wrote:
@Paweł Stradomski
University of Technology in Gdańsk
Ok. I understood this. But - i must wrote this methods. Simple CRUD
isn't something bad. SQLAlchemy could support something like this:
class User(SQLAlchemy.CRUD):
On Jan 21, 11:48 am, Paweł Stradomski pstradom...@gmail.com wrote:
What exactly are you trying to achieve?
one of the tenets of activerecord is that constructing an object with
a primary key returns the existing object implicitly.
my example meant to read:
def __new__(cls, *args,
this is in the documentation for Query.delete(). One complexity of
this operation, as opposed to issuing a delete() on the mapped Table
directly, is that Query must keep the state of the parent Session
synchronized with the SQL which is emitted. To accomplish this, the
delete() (and update())
On Dec 31 2008, 5:01 pm, Tycon adie...@gmail.com wrote:
if it's not a system service then why does it have it's own /etc/
init.d file
(the way it's packaged for most major distributions) ?
oh I always just build it from source :) .that theres an /etc/
init.d entry indicates its a
On Dec 31, 3:19 pm, Tycon adie...@gmail.com wrote:
whatever you end up doing NEVER EVER DO a flush_all on memcached.
Memcached is a global system service, it is not your private scratch
pad.
yessir !
though I've never considered a single memcached process as a global
service, like say
On Dec 2, 10:10 am, Damian [EMAIL PROTECTED] wrote:
The above may be used in a multi-page registration where I do not want
users being able to tamper with things in the session. I'm guessing
another option woud be to encrypt the bits of the session I don't want
the user messing with, and
On Dec 2, 4:14 pm, Damian [EMAIL PROTECTED] wrote:
To answer your question Michael, I wanted something to store data
that would not get sent back to the user (and hence could not be
tampered with),
but still be associated with their session, and that would expire
automatically
after some
Ben Bangert wrote:
- Beaker got several important bug fixes, one for leaving file handles
open, and to ensure that the new pickled format is gracefully upgraded
from
Beaker 1.1.2, *this* is the real deal. Don't believe what all those other
Beakers told you. After years of neglect, I've
wow I love the tar thing. It's fine by me !
Philip Jenvey wrote:
On Nov 19, 2008, at 1:47 PM, Michael Bayer wrote:
also your usage is more succinct via:
response = cache.get_value(request, expiretime=x, createfunc=lambda:
func(self, *arg, **kw))
Mike, I've attempted a quick and dirty
also your usage is more succinct via:
response = cache.get_value(request, expiretime=x, createfunc=lambda:
func(self, *arg, **kw))
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to
On Oct 15, 7:40 am, Tomasz Nazar [EMAIL PROTECTED] wrote:
Also code would be a lot simpler:
confs = dbsession().query(Conference).filter(XXX).all()
%for conf in confs:
${conf} ${conf.author} ${conf.author.phone} etc...
It's that simple with cache being used.
Without that...
beaker will cache something forever if you use a persistent system
like file-based caching and don't set any timeout on the cache. It
should remain persistent across server restarts.
as far as per request, I stick things on c to accomplish this.
On Oct 10, 11:40 am, Wichert Akkerman [EMAIL
On Oct 13, 12:14 pm, Tomasz Nazar [EMAIL PROTECTED] wrote:
1) all model classes are defined in 1 file together with database mapping
like everyone is saying, you can roll this however you want and
however is appropriate to the type of app you're building.
2) SQLAlchemy 2nd level cache
On Oct 13, 9:54 pm, Wayne Witzel [EMAIL PROTECTED] wrote:
OK. Back to your code? What is this MemCachedMapper.. google 2 hits
only. Is it your own solution, does it work, can you share?
Not my solution, was a solution presented a while back on the SA
mailing list.
im pretty pessimistic on the generically expose any model through a
GUI idea since its as old as toast, and I've never seen an actual
real world application using it successfully. At best, you'll see it
in some arcane builder types of systems which are designed to be
used by developers in the
On Sep 30, 10:31 am, Wayne Witzel [EMAIL PROTECTED] wrote:
Is connection pooling with SQLAlchemy under Pylons supported when
running under mod_wsgi? Is there some special magic to get it working?
I have the following INI settings.
sqlalchemy.default.pool_size = 1
Makes sense and now i clearly see the pattern of 2 connections per
thread. Thanks for clearing that up.
per process. big difference :).
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To
On Sep 15, 4:21 pm, Mike Orr [EMAIL PROTECTED] wrote:
It sounds like both you and MikeB are recommending this. Is the
SQLAlchemy manual also going to recommend it? We set up the Pylons
0.9.6 / SA 0.4 configuration to the lowest level possible because we'd
had too many problems defaulting
Hi list -
A Beaker issue exists, which seems to be the result of some changes
made at some point due to a request to minimize unnecessary Set-
cookie headers. My proposal would be to restore the old behavior, or
a compatible variant of it, to both file-based and cookie based
sessions in Beaker.
Hi Ben -
Here's my suggestion for a patch on this, such that the variance in
the function's availability is centralized and documented (thus
preventing someone else from removing it like I did !)
diff -r eb6cff7e8a17 beaker/session.py
--- a/beaker/session.py Tue Aug 19 16:42:19 2008 -0700
+++
On Jul 21, 4:56 pm, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
def render(table, _context=None, target_language=None):
global generation
(_out, _write) = generation.initialize_stream()
(_attributes, repeat) = generation.initialize_tal()
(_domain, _negotiate, _translate) =
the desired Container class to mako.cache.clsmap.
On Jul 21, 4:46 pm, Mike Orr [EMAIL PROTECTED] wrote:
On Mon, Jul 21, 2008 at 12:52 PM, Michael Bayer [EMAIL PROTECTED] wrote:
is that test from the spitfire suite ? I haven't looked at it, but
their Mako numbers look a whole lot like Myghty
sorry i suppose i should try to improve the condition of this bug at
some point
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to
also note that Aaron's SQL statement is against the Table object, not
the mapped class. since you just want a count and a single column,
its appropriate that you'd use a SQL expression and not an ORM Query
(assignmapper's behavior with Class.select() is to use a Query).
this issue is resolved in the latest release of SQLAlchemy 0.4
(beta5).
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To
I just released beta4, which unfortunately still has this issue.
However if you checkout rev 3411, its fixed.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email
On Aug 21, 6:58 pm, Tim Riley [EMAIL PROTECTED] wrote:
I was checking out reddit.com's new site and in the comment section
there were some discussions about reddit moving away from web.py. Well
I threw a guess out there about reddit switching to pylons and Chris
Slowe confirmed it[1].
On Aug 17, 7:17 am, Christoph Haas [EMAIL PROTECTED] wrote:
Does that mean I still have to run Session.commit() manually after I did
changes? I'm glad about the autoflush option so I don't need to flush
any more. But instead it appears I need to commit() after every change.
Shouldn't
im -1 on the model. prefix too. proper imports should be used
so that this isn't needed.
also, i dont see any comment about a beta4 in there and beta3 was
only released yesterday. not much has changed since then.
--~--~-~--~~~---~--~~
You received this
On Aug 17, 12:10 pm, Neil Blakey-Milner [EMAIL PROTECTED] wrote:
By the way, the capital Session still irks me. Sure, it's a
(constructed) class, but it's being treated as a (non-class) object,
and I don't see how using Session is any semantically different to how
we use a
On Aug 17, 4:36 pm, Mike Orr [EMAIL PROTECTED] wrote:
However, this classmethod thing has hit a collision with
model.Session.configure(bind=) in the Multiple Engines chapter.
MikeB says the example does not do what it says: it affects only
future sessions, not the current one. We're
On Aug 16, 5:26 am, Christoph Haas [EMAIL PROTECTED] wrote:
Worse is that I can't query for objects through paster shell. I get
this exception:
/home/chaas/projekte/dnsdhcp/dnsdhcp/model/__init__.py in pylons_scope()
16 import thread
17 from pylons import config
--- 18
On Aug 16, 5:34 am, Vegard Svanberg [EMAIL PROTECTED] wrote:
* Christoph Haas [EMAIL PROTECTED] [2007-08-16 11:26]:
Oh, well, the whole project seems to be a increasingly moving target.
First pylons.database is deprecated and replaced by SAContext. Then
SAContext is deprected. Takes
So it had the attribute registry right before the remove() call,
but somewhere deep inside the attribute vanished.
the remove() call is actually not correct in release beta2, so ive
updated the article to reference beta3 and/or the current trunk. also
i changed the configure call above it
ive released beta3 which fixes the remove() issue.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from
+1 on a pylons-sqlalchemy template
since if youre *really* in a hurry, thats the best
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to
first of all, definitely dont use sys.setdefaultencoding, that is a
hack of the most brittle kind.
but secondly, upgrade your MySQLDB (i.e., the mysql-python DBAPI). it
most certainly had a double-encoding bug some time ago, you can find
it in their bug tracker and ours (sqlalchemy's).
i just click around my site and watch the little green Firebug
checkbox in the corner.
/amateur
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to
im going to see if i can put property magic into query so it will be
like myclass.query.filter_by(foo).all() (i.e. you wont need to call it
as a function).
SA 0.4 is going to be decidedly slightly more opinionated in several
areas, and im going to try to have a lot of those opinions expressed
in
On Jun 28, 1:40 am, Uwe C. Schroeder [EMAIL PROTECTED] wrote:
On Wednesday 27 June 2007, Michael Bayer wrote:
this issue can be worked around by using explicit transactions.
actually no, it can't. Maybe I don't get it right, but the only way for me to
get a commit was actually to modify
On Jun 28, 2:09 am, Mike Orr [EMAIL PROTECTED] wrote:
I would probably want this optional URI in a subclass rather than in
SAContext itself. The reason 'uri' is a required argument is to
guarantee that the default engine is initialized at all times. When
we designed SAContext we (Mike
On Jun 27, 5:56 pm, Ian Bicking [EMAIL PROTECTED] wrote:
* Way for a library to get the transaction manager.
* Interface for that transaction manager, maybe copied from Zope.
* Single convention for how to specify a database connection (ideally
string-based).
* Probably a way to get the
1 - 100 of 129 matches
Mail list logo