PyDO suggestions/comments
Jonathan Ellis <[email protected]> Tue, 17 May 2005 10:42:12 -0600
| Newsgroups | gmane.comp.web.skunkweb |
|---|---|
| Message-ID | <[email protected]> |
First, the trivial: PyDO2 is awkward to type and involves both shift keys. It
would be a simple improvement to make the module name pydo2 and leave class
names the same.
Section 8 of the manual should probably come earlier.
initAlias description should include where logging goes if verbose=True, and
that you'll need to call log.setLogLevel(logging.DEBUG) and add a handler to
see anything. (Isn't that second Log redundant? log.setLevel is plenty
clear.) (Would adding logger.addHandler(logging.StreamHandler(sys.stderr)) as
a default handler make sense?)
It would be nice to have the first introduction to PyDO be a complete working
example, complete with initAlias call and import statements, and without
talking about overriding default behavior. IOW, a "quickstart" section so
someone can get into PyDO right away and worry about nondefault behavior if
and when he needs to get to it. Section 9 may be a bit long for this, or it
might not. But I don't think I'm unusual in wanting to see the example first,
so I can skip to the manual sections that I think I need to know more about.
Could getUnique be renamed simply get for convenience?
Manual should describe commit()/autocommit.
Transaction-safety is iffy: with this table
create table bar(
i serial primary key,
j int
);
if I write Bar.new(), then exit w/o committing, then write b = Bar.new();
b.commit(), my new row has i=2 since apparently the sequence query wasn't
really in the uncomitted transaction.
cvs -d:pserver:[email protected]:/cvsroot/skunkweb login
doesn't work as near as I can tell. I enter a blank password and wait... and
wait... and wait. Never does login. I notice berlios.de hosts your
downloads; don't they provide svn? Certainly python-hosting.com does... CVS
is like going back to the Dark Ages, even when it works. :)
I like PyDO. Hopefully this will be construed as constructive. :)
-Jonathan
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click