Re: [Python-Dev] Proposed unittest changes

2008-04-24 Thread Nick Coghlan
Neal Norwitz wrote: All the expect methods duplicate the assert methods. Asserts can the test to fail immediately, expects don't fail immediately allowing the test to continue. All the expect failures are collected and printed at the end of the method run. I was a little skeptical about assert

Re: [Python-Dev] Proposed unittest changes

2008-04-24 Thread Neal Norwitz
[Michael working on cleaning up the unittest module] it seems like most of the good ideas have been captured already. I'll through two more (low priority) ideas out there. 1) Randomized test runner/option that runs tests in a random order (like regrtest.py -r, but for methods) 2) decorator to

Re: [Python-Dev] BSDDB3

2008-04-24 Thread Greg Ewing
Martin v. Löwis wrote: Ok. Jesus, can you please send me your SSH key? Nice to see that Heaven is security conscious and accepting encrypted prayer nowadays. :-) -- Greg ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailma

Re: [Python-Dev] BSDDB3

2008-04-24 Thread Trent Nelson
> Next week I will (if nothing goes wrong) publish pybsddb > 4.6.4. This release supports distributed transactions and > replication, testsuite is way faster, and rewritten to be > able to launch tests from multiple threads/processes if you > wish, setuptools/pypi support, etc. Great! Once you'v

Re: [Python-Dev] BSDDB3

2008-04-24 Thread Martin v. Löwis
> After that, merging his changes into trunk will be relatively easy and I > think we should give jcea commit access and let him do it and henceforth > use python svn as the official repository for the pybsddb code and > documentation. Ok. Jesus, can you please send me your SSH key? > I do not se

Re: [Python-Dev] annoying dictionary problem, non-existing keys

2008-04-24 Thread bvidinli
I posted to so many lists because, this issue is related to all lists, this is an idea for python, this is related to development of python... why are you so much defensive ? i think ideas all important for development of python, software i am sory anyway hope will be helpful. 2008/4/24

Re: [Python-Dev] annoying dictionary problem, non-existing keys

2008-04-24 Thread Martin v. Löwis
> this is very annoying. Posting to so many lists is even more annoying. You might not get a single helpful answer just because people are so frustrated by this behavior. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.pyth

Re: [Python-Dev] annoying dictionary problem, non-existing keys

2008-04-24 Thread Terry Reedy
Python-dev is for discussion of development of future Python. Use python-list / comp.lang.python / gmane.comp.python.general for usage questions. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev U

[Python-Dev] annoying dictionary problem, non-existing keys

2008-04-24 Thread bvidinli
i use dictionaries to hold some config data, such as: conf={'key1':'value1','key2':'value2'} and so on... when i try to process conf, i have to code every time like: if conf.has_key('key1'): if conf['key1']<>'': other commands this is very annoying. in php, i was able to code