[Zope-dev] Re: [Zope3-dev] Zope and zope

2004-04-14 Thread Marius Gedminas
-1 for purely aesthetic reasons (IOW, I'm used to zope.something). Marius Gedminas P.S. I used to think ZOPE was a recursive acronym for the ZOPE Object Publishing Environment. wink -- Favorite MS-DOS error message: Drive C: not ready, close door. signature.asc Description: Digital signature

[Zope-dev] Re: [Zope3-dev] Re: Proposal: Rename zope package

2004-04-20 Thread Marius Gedminas
On Tue, Apr 20, 2004 at 12:08:03PM -0400, Jim Fulton wrote: What do people think about alternative 4? +1 Marius Gedminas -- Q: How many IBM CPU's does it take to execute a job? A: Four; three to hold it down, and one to rip its head off. signature.asc Description: Digital signature

[Zope-dev] Re: [Zope3-dev] Re: Re: RFC: TALES adapters and TAL/Tales variable namespaces

2004-05-27 Thread Marius Gedminas
to be related in my mind. Marius Gedminas -- Never be afraid to tell the world who you are. -- Anonymous signature.asc Description: Digital signature ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] new FAQ entry: please review before I add it

2007-12-14 Thread Marius Gedminas
. if 'mycontainer' not in root: root['mycontainer'] = MyContainer() transaction.commit() conn.close() Then register this subscriber in your configure.zcml: subscriber handler=myapp.CreateMyContainer / Marius Gedminas -- niemeyer I'm wondering why we have defineChecker() defined

Re: [Zope-dev] Missing zope.sendmail changelogs

2007-12-20 Thread Marius Gedminas
recently would update the changelog. Note that it's in README.txt, which was ok by the old rules. Nowadays a separate CHANGES.txt file seems to be preferred. Will do. Done. Marius Gedminas -- The rest of the world will have to be educated by Microsoft's paperclip or the DancingGnu (a still

Re: [Zope-dev] Re: Mail events in zope.sendmail

2007-12-20 Thread Marius Gedminas
, this is mentioned in the README: * The IMailSentEvent and IMailErrorEvent events aren't used and can't be used (you don't want to send emails during the commit phase). I'll submit a launchpad entry to rip this out. +1 Marius Gedminas -- To err is human, but to really foul things up requires a computer

Re: [Zope-dev] Retry Fixes for zope.sendmail

2008-01-22 Thread Marius Gedminas
would be appreciated. Marius Gedminas -- Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it ;) (Linus Torvalds, about his failing hard drive on linux.cs.helsinki.fi) signature.asc Description: Digital signature

Re: [Zope-dev] Re: AW: zope.viewlet 3.4.1 release broken

2008-01-24 Thread Marius Gedminas
/setuptools: http://mail.python.org/pipermail/distutils-sig/2007-September/008296.html Note that the latest setuptools release (setuptools 0.6c7) does NOT contain the fix. Marius Gedminas -- For vi emulation of emacs, just type :sh emacs (without the quotes). signature.asc Description: Digital

Re: [Zope-dev] Zope 3.4.0 candidate 1 Released

2008-02-01 Thread Marius Gedminas
On Fri, Feb 01, 2008 at 11:06:48AM -0500, Chris McDonough wrote: I typed four more paragraphs full of markety stuff here but deleted them. *cheers* Marius Gedminas -- The clothes have no emperor. -- C.A.R. Hoare, commenting on ADA. signature.asc Description: Digital

Re: [Zope-dev] Zope 3.4.0 candidate 1 Released

2008-02-03 Thread Marius Gedminas
On Fri, Feb 01, 2008 at 05:26:14PM -0500, Chris McDonough wrote: Marius Gedminas wrote: On Fri, Feb 01, 2008 at 11:06:48AM -0500, Chris McDonough wrote: I typed four more paragraphs full of markety stuff here but deleted them. *cheers* I'll take that as STFU ;-) It wasn't intended

Re: [Zope-dev] Re: [Checkins] SVN: zope.server/trunk/s fix of 599 error on conflict error in request

2008-02-05 Thread Marius Gedminas
the complete history. It is somewhat easier if your editor properly supports 'svn annotate'. On the other hand, names in comments, unlike svn's knowledge, survive when you move packages around. Therefore, the who may be helpful in case of questions about the code. Marius Gedminas -- Prediction

Re: [Zope-dev] Sessions, ConflictError and emails

2008-02-18 Thread Marius Gedminas
be quite hard to use zope.sendmail without the deferred email bit. It was designed from the very start to defer email sending to successful transaction commits (but due to a bug didn't actually do so for a couple of years -- oops). Marius Gedminas -- An algorithm must be seen to be believed

Re: [Zope-dev] buildout 'versions' and 'develop' conflict

2008-02-23 Thread Marius Gedminas
-egg won't be used. Why stdout and not stderr? If you have two explicit requirement that cannot be both satisfied at the same time, wouldn't it make more sense show a clear error message and abort? In case of ambiguity, refuse the temptation to guess. --- Zen of Python Marius Gedminas

Re: [Zope-dev] buildout-based buildbot back

2008-03-04 Thread Marius Gedminas
to the actual test runner output. Also, I think that lack of a bin/test for any package can be rightly considered to be a bug. Marius Gedminas -- (Pdb) operationerr.w_value.w_value.w_value.w_value.w_value.w_value pypy.interpreter.executioncontext.OperationError instance at 0x5eee30

Re: [Zope-dev] Re: buildout-based buildbot back

2008-03-05 Thread Marius Gedminas
On Tue, Mar 04, 2008 at 05:03:13PM -0500, Tres Seaver wrote: Marius Gedminas wrote: Also, I think that lack of a bin/test for any package can be rightly considered to be a bug. 'bin/test' doesn't make much sense to me as a way to run the tests belonging to the packge-being-tested

Re: [Zope-dev] buildout-based buildbot back

2008-03-05 Thread Marius Gedminas
On Tue, Mar 04, 2008 at 07:22:49PM +0200, Marius Gedminas wrote: On Tue, Mar 04, 2008 at 10:15:49AM +0100, Christian Theune wrote: Gnah. zopebuildbot.whq.gocept.com Yummy. Your email prompted me to fix some of the red test failures: z3checkins (that no one cares about) and zope.component

Re: [Zope-dev] Re: buildout-based buildbot back

2008-03-06 Thread Marius Gedminas
On Wed, Mar 05, 2008 at 05:01:53PM -0500, Tres Seaver wrote: Marius Gedminas wrote: On Tue, Mar 04, 2008 at 05:03:13PM -0500, Tres Seaver wrote: I would think that getting 'python setup.py test' to work for each package-being-tested, which a) makes sure that the package works even for non

Re: [Zope-dev] Character enconding problems in zope.formlib

2008-03-13 Thread Marius Gedminas
to try title = _(uNosso n\u00FAmero) temporarily. FWIW the usual way is to use English titles in the source code and provide a .po file with translations. I'm not sure how to hook that up through Five. Marius Gedminas -- As an aside, UPnP's implementation (which features SOAP, HTTP over multicast

Re: [Zope-dev] Re: zope.sendmail Retry fixes and new state machine.

2008-03-19 Thread Marius Gedminas
a different topic. Marius Gedminas -- I code in vi because I don't want to learn another OS. :) -- Robert Love signature.asc Description: Digital signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope-dev] Re: zope.sendmail Retry fixes and new state machine.

2008-03-19 Thread Marius Gedminas
way when you initially write the test. But when some time later your test starts failing, they're a nightmare to debug. Marius Gedminas -- Any sufficiently advanced technology is indistinguishable from a rigged demo. - Andy Finkel, computer guy signature.asc Description: Digital signature

Re: [Zope-dev] zope.sendmail Retry fixes and new state machine.

2008-03-19 Thread Marius Gedminas
feel the obligation to. Sadly, the feeling of obligation usually leads me to procrastinate and do something completely different... Marius Gedminas -- The BeOS takes the best features from the major operating systems. It's got the power and flexibility of Unix, the interface and ease of use

[Zope-dev] zope.sendmail grantma-retryfixes branch review

2008-03-19 Thread Marius Gedminas
made after retry_interval seconds. Thank you very much for diving into the murky depths and improving zope.sendmail! Marius Gedminas -- If it weren't for the last minute, nothing would get done. signature.asc Description: Digital signature ___ Zope-Dev

Nitpicking about coding standards (was Re: [Zope-dev] zope.sendmail grantma-retryfixes branch review)

2008-03-21 Thread Marius Gedminas
On Thu, Mar 20, 2008 at 10:33:10PM +, Chris Withers wrote: Marius Gedminas wrote: +Process results of an SMTP error + returns True to indicate break needed The standard docstring convention is to do this: Process results of an SMTP error. There was a blank

Re: [Zope-dev] Packaging Zope for Fedora

2008-03-21 Thread Marius Gedminas
and patience. Marius Gedminas -- Despite all appearances, your boss is a thinking, feeling, human being. signature.asc Description: Digital signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] Re: zope.interface compatibility question

2008-03-22 Thread Marius Gedminas
. There's no substitute for actual testing. The safe way is to use a sandbox full of Zope 3 packages known to work together. There are multiple ways of getting one: svn checkout, tarball install, virtualenv, zc.buildout. Marius Gedminas -- Nobody will ever need more than 640k RAM

Re: [Zope-dev] Packaging Zope for Fedora

2008-03-27 Thread Marius Gedminas
case, the src/docutils in the Zope 3.2 tree either doesn't have the fix, or it doesn't work. I tested it and ended up closing that hole in an application myself. Marius Gedminas -- Alan Turing thought about criteria to settle the question of whether machines can think, a question of which we now

[Zope-dev] Re: Have you checked on the latest commits?

2008-04-10 Thread Marius Gedminas
On Tue, Apr 08, 2008 at 09:20:23AM +1200, Matthew Grant wrote: On Mon, 2008-04-07 at 20:02 +0300, Marius Gedminas wrote: I want to get teh branch to the point where it gets merged. Don't feel that my review is somehow necessary for it being merged. I tend to procrastinate

Re: [Zope-dev] [zope.testing.doctest] a nasty surprise

2008-04-10 Thread Marius Gedminas
with doctest's monkey-patch. Is the zdpb module available on the web somewhere? I can understand that my set_trace would not have worked (as probably sys.stdout/err points somewhere else then usual), but I have difficulties to understand why doctest's set_trace does not work (at all). Marius

Re: [Zope-dev] ZConfig 2.5.1 test failures

2008-04-23 Thread Marius Gedminas
be to write a unit test to reproduce this in zope.testing's test suite. Marius Gedminas -- How much net work could a network work, if a network could net work? signature.asc Description: Digital signature ___ Zope-Dev maillist - Zope-Dev@zope.org http

[Zope-dev] Why I dislike narrative doctests

2008-04-23 Thread Marius Gedminas
* the only way to solve this conflict is to explicitly separate unit tests (test_*.py) from doctest-enhanced API documentation (*.txt). Marius Gedminas -- UNIX is user friendly. It's just selective about who its friends are. signature.asc Description: Digital signature

Re: [Zope-dev] new zope.org, sphinx, and documentation management

2008-04-23 Thread Marius Gedminas
by real introductions, or easy-to-read howtos. +1 for strict separation of API docs from tests. On zope.org, instead of individual egg docs, we need high level docs or integration docs that cover several packages at once. In which eggs do you want to put them? Marius Gedminas -- * philiKON

Re: [Zope-dev] Why I dislike narrative doctests

2008-04-23 Thread Marius Gedminas
in what they expected to be documentation * programmers complain about narratives being too hard to modify Marius Gedminas -- You can't spell evil without vi. signature.asc Description: Digital signature ___ Zope-Dev maillist - Zope-Dev@zope.org

Re: [Zope-dev] ZConfig 2.5.1 test failures

2008-04-25 Thread Marius Gedminas
On Thu, Apr 24, 2008 at 02:03:53PM -0700, Timothy Selivanow wrote: On Wed, 2008-04-23 at 22:38 +0300, Marius Gedminas wrote: By the way, the usual way to run tests in the Zope-3-land is to use bin/test rather than setup.py test. It uses a slightly different test runner that uses

Re: [Zope-dev] OrderedMultiSelectWidget in Zope2: context weirdness?

2008-05-09 Thread Marius Gedminas
://bugs.launcpad.net/zope3 could help a bit. Marius Gedminas -- Never be afraid to tell the world who you are. -- Anonymous signature.asc Description: Digital signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope-dev] Re: zope.sqlalchemy, integration ideas

2008-06-02 Thread Marius Gedminas
-- but it often makes custom IAbsoluteURL adapters pointless. LocationProxy helps then. Marius Gedminas -- Photons have energy, and trying to cram too many into too small of a space can cause a black hole to form, which is, needless to say, not a desirable trait for an optical computer

Re: [Zope-dev] buildbot failure in Zope on z3c.traverser

2008-06-09 Thread Marius Gedminas
mentioned: '/div\n/div' suddenly became '/div/div'. /body /html Ran 5 tests with 1 failures and 0 errors in 0.674 seconds. Tear down z3c.traverser.viewlet.ftests.TestLayer ... not supported Total: 65 tests, 1 failures, 0 errors in 22.573 seconds. Marius Gedminas -- Why do geeks

Re: [Zope-dev] buildbot news: sending notifications and current broken builds

2008-06-09 Thread Marius Gedminas
do not obscure errors in the log) * increase the buildbot timeout (pass timeout=60*60 to the step that runs the tests) If even buildbot, who has the patience of a computer, is not running tests that take a long time, will anyone else ever run them? Marius Gedminas -- Many people enjoy

Re: [Zope-dev] buildbot news: sending notifications and current broken builds

2008-06-09 Thread Marius Gedminas
, send another message, announcing the end of the failure, with an In-Reply-To header containing the previous message ID, for proper threading. That would be lovely. For everyone else: please have a look at the list of broken builds: http://zopebuildbot.whq.gocept.com/cruise Nice. Marius

[Zope-dev] Re: [Zope3-Users] NOTICE: zope.org server move

2008-06-11 Thread Marius Gedminas
that well in advance of the physical move (say, couple of days before), then new DNS information should propagate quickly. Regards, Marius Gedminas -- Microsoft is not the answer. Microsoft is the question. No is the answer. signature.asc Description: Digital signature

Re: [Zope-dev] buildbot failure in Zope on z3c.schemadiff

2008-06-11 Thread Marius Gedminas
', u'Prosciutto'))} Nasty test relies on dictionary order. A pprint should fix this. Marius Gedminas -- Mosher's Law of Software Engineering: Don't worry if it doesn't work right. If everything did, you'd be out of a job. signature.asc Description: Digital signature

Re: [Zope-dev] buildbot failure in Zope on zc.comment

2008-06-11 Thread Marius Gedminas
with zc.comment enough to attempt to fix this one. Marius Gedminas -- Any sufficiently advanced Operating System is indistinguishable from Linux. -- Jim Dennis signature.asc Description: Digital signature ___ Zope-Dev maillist - Zope-Dev

Re: [Zope-dev] buildbot failure in Zope on z3c.schemadiff

2008-06-12 Thread Marius Gedminas
On Thu, Jun 12, 2008 at 08:15:28AM +0200, Christian Theune wrote: On Wed, Jun 11, 2008 at 10:23:04PM +0300, Marius Gedminas wrote: On Wed, Jun 11, 2008 at 07:00:14PM +0200, [EMAIL PROTECTED] wrote: The Buildbot has detected a new failure of z3c.schemadiff on Zope. Full details

Re: [Zope-dev] buildout failures

2008-06-13 Thread Marius Gedminas
complaints bother other people, how about creating a separate list for them? Marius Gedminas -- One could envision a different approach to persistence (hands wave and magical stardust appears overhead to percussive indian string music) where objects in the database were proxied rather than deriving

Re: [Zope-dev] new BTreeContainer implementation, please review

2008-06-13 Thread Marius Gedminas
want to use a double underscored name?) Marius Gedminas -- Of course I use Microsoft. Setting up a stable unix network is no challenge ;p signature.asc Description: Digital signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org

Re: [Zope-dev] Re: buildout failures

2008-06-14 Thread Marius Gedminas
Python script to do that. Marius Gedminas -- Westheimer's Discovery: A couple of months in the laboratory can frequently save a couple of hours in the library. signature.asc Description: Digital signature ___ Zope-Dev maillist - Zope-Dev

Re: [Zope-dev] Test runner: layers, subprocesses, and tear down

2008-07-03 Thread Marius Gedminas
both CPUs if I manually run two instances of the test runner in two xterms in parallel. Regards, Marius Gedminas -- Wipe Info uses hexadecimal values to wipe files. This provides more security than wiping with decimal values. -- Norton SystemWorks 2002 Manual signature.asc Description

[Zope-dev] TALES iterator odd/even reversal

2008-07-03 Thread Marius Gedminas
/oddoddspan span tal:condition=repeat/var/evenevenspan /p produces different results on Zope 3.4 than it did on 3.2. Does anyone know why this is? Is this a bug? Should it be fixed? Marius Gedminas -- Perl is hard for most people to write. They write PERL or Pearl. -- Abigail

Re: [Zope-dev] Itemtraverser and Unauthorized vs Views

2008-07-03 Thread Marius Gedminas
Unauthorized into NotFound. If I can access a location (say, http://localhost/container/item) when I'm logged in, then if I try that as an anonymous user, I should get an authentication dialog rather than a 404 Not Found page. Marius Gedminas -- If nothing else helps, read the documentation

Re: [Zope-dev] TALES iterator odd/even reversal

2008-07-04 Thread Marius Gedminas
On Fri, Jul 04, 2008 at 06:05:05PM +0200, Andreas Jung wrote: --On 4. Juli 2008 02:05:30 +0300 Marius Gedminas [EMAIL PROTECTED] wrote: Recently I migrated a large-ish app built on Zope 3.2 to Zope 3.4. (About time I hear someone mumbling in the audience.) One strange difference

Re: [Zope-dev] Re: Test runner: layers, subprocesses, and tear down

2008-07-04 Thread Marius Gedminas
layers (unit and functional). Especially given the quirk that the first test layer is run on one CPU while the other idles. Marius Gedminas P.S. Zope 3 is such a sweet little thing! All the tests finish in 3 minutes! Heaven. -- The planning fallacy is that people think they can plan, ha ha

Re: [Zope-dev] Re: Test runner: layers, subprocesses, and tear down

2008-07-04 Thread Marius Gedminas
On Fri, Jul 04, 2008 at 05:44:12PM -0400, Benji York wrote: On Fri, Jul 4, 2008 at 4:49 PM, Marius Gedminas [EMAIL PROTECTED] wrote: I tried this in a Zope 3.4 checkout I had handy on a Core 2 Duo machine (1.8 GHz, running 64-bit Ubuntu Hardy). One test module could not be loaded, which

[Zope-dev] Running the 3.4 KGS tests: 9 fail, 6 errors

2008-07-27 Thread Marius Gedminas
, IMHO. I think I'll run the test suite again on a 64-bit Linux machine, for extra fun. And maybe do that for Python 2.4 as well. Marius Gedminas -- Always proofread carefully to seon e if you any words out. signature.asc Description: Digital signature

[Zope-dev] Killing deprecation warnings in Zope 3.4

2008-07-29 Thread Marius Gedminas
else will take a look at the diff and update a few of the affected packages: zope.app.applicationcontrol zope.app.cache zope.app.pagetemplate zope.app.pythonpage zope.app.wsgi zope.traversing Marius Gedminas -- main(k){float i,j,r,x,y=-16;while(puts(),y++15

Re: [Zope-dev] Running the 3.4 KGS tests: 9 fail, 6 errors

2008-07-29 Thread Marius Gedminas
On Sun, Jul 27, 2008 at 02:18:23PM +0300, Marius Gedminas wrote: I finally discovered zope.release (and by discovered I mean Stephan Richter told me about it on IRC, again, but this time I had the time to take a look). It has a script that generates a buildout of all the KGS packages so you

Re: [Zope-dev] Zope 3.4 release policy

2008-08-01 Thread Marius Gedminas
) - having *automated* regression notifications for changes to the KGS that break one or more tests - having the tests pass cleanly with no extra output By care about I mean am willing to do work to achieve/maintain this. Marius Gedminas -- Some people have told me they don't think a fat penguin

Re: [Zope-dev] Why several versions in controlled-packages.cfg?

2008-08-05 Thread Marius Gedminas
, rather than looking in download.zope.org? Marius Gedminas -- PCMCIA - People Can't Memorize Computer Industry Acronyms signature.asc Description: Digital signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope

[Zope-dev] zope.app.authentication and zope.app.container broken doctests

2008-08-05 Thread Marius Gedminas
whitespace: '\r' Module: zope.app.container.tests.test_constraints ValueError: line 11 of the docstring for constraints.txt has inconsistent leading whitespace: '\r' Ideas? Eggs built on Windows? Missing svn:eol-style=native properties? Mixed \n and \r\n line endings? Marius

[Zope-dev] KGS buildbot news

2008-08-08 Thread Marius Gedminas
Linux, plus - z3c.form expects a certain behaviour from Exception.__repr__, which changed in Python 2.5 * Python 2.5, 64-bit Linux - a horrifying amount of errors (80 total), I'll retry after cleaning up the buildbot slave dir. Marius Gedminas -- C is a language that combines

Re: [Zope-dev] KGS buildbot news

2008-08-08 Thread Marius Gedminas
On Fri, Aug 08, 2008 at 07:26:08PM +0300, Marius Gedminas wrote: Latest test results Now updated after * nuking buildbot slave directories that had some contamination from previous contacts with system python * disabling z3c.rml tests because of missing PIL and Reportlab eggs

Re: [Zope-dev] KGS buildbot news

2008-08-08 Thread Marius Gedminas
On Sat, Aug 09, 2008 at 12:57:48AM +0300, Marius Gedminas wrote: - zope.server tests fail horribly with invalid file descriptor errors. I cannot reproduce this error in isolation (bin/test -m zope.server), but I can reproduce it when I run all the tests together

Re: [Zope-dev] KGS buildbot news (zope.server failure almost explained)

2008-08-08 Thread Marius Gedminas
On Sat, Aug 09, 2008 at 01:50:33AM +0300, Marius Gedminas wrote: On Sat, Aug 09, 2008 at 12:57:48AM +0300, Marius Gedminas wrote: - zope.server tests fail horribly with invalid file descriptor errors. I cannot reproduce this error in isolation (bin/test -m zope.server

Re: [Zope-dev] KGS buildbot news

2008-08-08 Thread Marius Gedminas
On Sat, Aug 09, 2008 at 01:59:49AM +0200, Sebastien Douche wrote: On Fri, Aug 8, 2008 at 18:26, Marius Gedminas [EMAIL PROTECTED] wrote: News about the KGS buildbot at http://zope3.pov.lt/buildbot/: Impressive, can you show your buildbot configuration ? I want running the same here. http

Re: [Zope-dev] zope.app.authentication 3.4.3 + download.zope.org/simple == broken

2008-08-15 Thread Marius Gedminas
or download.zope.org/simple is reasonable. Removing eggs isn't. :-) Well, now I know. Previously I thought only removing whole released versions from PyPI was bad. Marius Gedminas -- It is easier to optimize correct code than to correct optimized code. -- Bill Harlan

Re: [Zope-dev] zope.testrunner test failures on windows

2008-08-15 Thread Marius Gedminas
. It should be simple to fix the test. Ran 183 tests with 2 failures and 0 errors in 43.094 seconds. Tearing down left over layers: Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds. Marius Gedminas -- An NT server can be run by an idiot, and usually is. signature.asc

Re: [Zope-dev] zope.component: calling an Interface and calling queryAdapter give differing results

2008-08-20 Thread Marius Gedminas
= SomethingElse() ISomething(obj) will return obj.something. getAdapter(obj, ISomething) will raise a ComponentLookupError. Marius Gedminas -- Corsac yeah, i'm reading the answers, currently Corsac but what I see is that there is no real procedure to rebuild initfs Corsac the common way seems

Re: [Zope-dev] z3c.formwidget.query - incorrect interface implementation?

2008-08-24 Thread Marius Gedminas
be to use getTerm, not getTermByToken. I wouldn't mind seeing getTerm renamed to getTermByValue, but that's probably difficult to do without breaking backwards-compatibility. Marius Gedminas -- I used to think I was indecisive, but now I'm not so sure. signature.asc Description: Digital

Re: [Zope-dev] z3c.form - extraction from sequence widget

2008-08-27 Thread Marius Gedminas
. A required Bool field can have two values: True or False. One is represented by a checked checkbox, the other by an unchecked checkbox. An unchecked checkbox is not missing input and should not trigger required missing errors. Marius Gedminas -- As easy as 3.14159265358979323846264338327950288419716

Re: [Zope-dev] z3c.form - extraction from sequence widget

2008-08-28 Thread Marius Gedminas
of Choices. It's not the default widget (the default is a multi-selection list box), and while it is registered as being valid for sets, it always tries to store a list in the content object. I'm writing from memory, so I may have gotten some details wrong. Marius Gedminas -- The typewriter

Re: [Zope-dev] ZPT and strict namespace mapping

2008-08-29 Thread Marius Gedminas
? Marius Gedminas -- Some people around here wouldn't recognize subtlety if it hit them on the head. signature.asc Description: Digital signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] SVN: zope.dublincore/trunk/ Move test-dependencies to 'extras'.

2008-08-29 Thread Marius Gedminas
is no longer acceptable. So either let's make zope.app.testing not depend on the whole world, or let's extract the core of zope.app.testing and put it somewhere else (zope.testing?). Marius Gedminas -- Some performers on television appear to be horrible people, but when you finally get to know them

Re: [Zope-dev] Make simple ISource usable

2008-08-31 Thread Marius Gedminas
* you do, but that doesn't belong to zope.schema either. Are you arguing that zope.schema.Field should not have a title attribute? Marius Gedminas -- As far as we know, our computer has never had an undetected error. -- Weisert signature.asc Description: Digital signature

Re: [Zope-dev] Dependencies and future of zope 3

2008-09-03 Thread Marius Gedminas
is an interactive .dot viewer (PyGtk + Cairo) http://pypi.python.org/pypi/gtkeggdeps builds on top of tl.eggdeps and expresses the graph as a tree Unfortunately even these tools didn't help much in untangling the big core dependency cycle, during the Foliage sprint last year. Marius Gedminas

Re: [Zope-dev] Dependencies and future of zope 3

2008-09-03 Thread Marius Gedminas
definitely say Yes to that answer. This is a big issue? Yes. I don't think so. Disks are cheap and usually you don't get in touch with the dependent modules under the hood - except for debugging :-) It is not a disk space issue, it's a conceptual issue. Marius Gedminas -- Voodoo

Re: [Zope-dev] lxml and z3c.form strategy?

2008-09-16 Thread Marius Gedminas
PageTempalte? Without lxml, it'll use ``xml.etree`` to parse the template and there a few differences, most of which have been addressed at this point. Is that ElementTree that was only included from Python 2.5? In other words, z3c.pt + python2.4 - lxml = fail? Marius Gedminas -- Q: How many IBM

Re: [Zope-dev] RFC: adding support for testing from bare setuptools

2008-09-17 Thread Marius Gedminas
: ... The second attachment is a diff showing the changes to a typical Zope2 product's setup.py to support this proposal. I'm +0.5 for the idea, although the amount of ritual dancing in the setup.py seems a bit excessive. Marius Gedminas -- 99 little bugs in the code, 99 bugs in the code, fix one bug

Re: [Zope-dev] RFC: adding support for testing from bare setuptools

2008-09-18 Thread Marius Gedminas
On Thu, Sep 18, 2008 at 12:42:33AM +0200, Philipp von Weitershausen wrote: Marius Gedminas wrote: On Wed, Sep 17, 2008 at 12:52:49PM -0400, Tres Seaver wrote: $ ../bin/python setup.py test # [2] # Runs egg_info, installs regular and testing dependencies, and # runs all unit (non

Re: [Zope-dev] Relative Imports: PEP-328

2008-10-07 Thread Marius Gedminas
, since DT_Util is capitalized). Marius Gedminas -- My mail reader can beat up your mail reader. signature.asc Description: Digital signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts

Re: [Zope-dev] Python 2.6: 'with' in Interfaces

2008-10-07 Thread Marius Gedminas
a consideration, you could rename this attribute to with_, as that seems to be the current convention for names that are also keywords (e.g. ZCML directives that have a 'class' attribute name it 'class_' in the corresponding interface). Marius Gedminas -- H.323 has much in common with other ITU-T

Re: [Zope-dev] traversal: different with and without a request

2008-10-15 Thread Marius Gedminas
been considered a mistake but was never fixed. I'm not sure my explanation are helpful ;). Did I mention it was a mess? Marius Gedminas -- Please do not even think about automatically normalizing file names anywhere. There is absolutely no need for introducing such nonsense, and deviating from

Re: [Zope-dev] zope.interface: verifyObject vs properties

2008-10-23 Thread Marius Gedminas
just implement Jim's suggestion. I'll do so as soon as possible. Thank you. Marius Gedminas -- Shift happens. -- Doppler signature.asc Description: Digital signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org

Re: [Zope-dev] SVN: Zope/trunk/lib/python/zope/ - Revert to an older zope.testing. New one is way too new

2008-10-27 Thread Marius Gedminas
After: testing svn://svn.zope.org/repos/main/zope.testing/tags/3.5.6/src/zope/testing Unless I'm seeing things, this is a bump to a newer version. The new one is so new it's counting version numbers in reverse? Marius Gedminas -- I used to (somewhat) sneer at people who

Re: [Zope-dev] Increase logging for zope.app.generations

2008-11-10 Thread Marius Gedminas
On Mon, Nov 10, 2008 at 09:31:44AM +0100, Christian Theune wrote: I'd like to increase the logging for zope.app.generations to output an INFO message when performing a generation. +1 Marius Gedminas -- Computo, ergo sum. -- Curt Suplee signature.asc Description: Digital

Re: [Zope-dev] [ZODB-Dev] svn.zope.org up again?

2008-11-11 Thread Marius Gedminas
with older revisions seem to work. I've a full svn mirror up to rev 92837 if it turns out to be needed. Marius Gedminas -- IBM motto: If you can't read our assembly language, you must be borderline dyslexic, and we don't want you to mess with it anyway -- Linus Torvalds

Re: [Zope-dev] Bug in zope.app.generations fixed and logging increased. Release?

2008-11-24 Thread Marius Gedminas
; if not, it would be good to report it and then mention the bug number in the changelog before the release. Summary: +1 for releasing 3.4.2. Marius Gedminas -- Wipe Info uses hexadecimal values to wipe files. This provides more security than wiping with decimal values. -- Norton

Re: [Zope-dev] zope.index

2008-12-02 Thread Marius Gedminas
zope.testing import doctest except ImportError: import doctest instead. If no, can someone make a release on PyPI of this package? Marius Gedminas -- ... there is always a well-known solution to every human problem -- neat, plausible, and wrong. -- H. L. Mencken

Re: [Zope-dev] zope.index

2008-12-03 Thread Marius Gedminas
On Tue, Dec 02, 2008 at 10:03:01PM +0100, Wichert Akkerman wrote: Previously Marius Gedminas wrote: On Tue, Dec 02, 2008 at 02:04:39AM +0300, Dan Korostelev wrote: I just removed zope.testing from the zope.index dependency and replaced zope.testing.doctest imports with plain python

Re: [Zope-dev] [Checkins] SVN: zc.sourcefactory/trunk/buildout.cfg color by default

2008-12-09 Thread Marius Gedminas
or not; enabling them by default is not a good decision, having a global config file in $HOME for that setting would be a good choice. https://bugs.launchpad.net/zope.testing/+bug/306478 Marius Gedminas -- Attempts to stick to simple on-or-off options lead to monsters like gcc, which now has so many

Re: [Zope-dev] C-extension in zope.i18nmessageid

2008-12-12 Thread Marius Gedminas
will merge this into trunk shortly. Could you please measure the impact on RAM usage and rendering speed of this removal for an app that uses Zope's i18n mechanism for rendering templates? Marius Gedminas -- The reason computer chips are so small is that computers don't eat much. signature.asc

Re: [Zope-dev] C-extension in zope.i18nmessageid

2008-12-12 Thread Marius Gedminas
On Fri, Dec 12, 2008 at 12:45:27PM +, Malthe Borch wrote: Martijn Pieters wrote: The C extension is required to make messageids immutable. Because they are immutable, the security machinery can treat them as rocks, e.g. safe to pass around. Removing the C-extension undoes this, as you

Re: [Zope-dev] z3c.form bug with radio widget label

2008-12-12 Thread Marius Gedminas
On Fri, Dec 12, 2008 at 02:33:53PM +, Johannes Raggam wrote: hey, i guess i found a bug in z3c.form.browser.radio. in z3c.form.browser.radio, line 49 (class RadioWidget, def update), the line should read label = term.value You can't assume ``value`` will be a string. People

Re: [Zope-dev] adapting to None

2008-12-13 Thread Marius Gedminas
On Sat, Dec 13, 2008 at 10:42:09AM +, Chris Withers wrote: Dieter Maurer wrote: Then, use something different from adaptation (as adaptation does not fit your wishes). This is what I'm trying to do with subclassing, and my question was why that subclassing wasn't working...

Re: [Zope-dev] Deprecate ITerms in zope.app.form? [Re: zope.browser?]

2008-12-17 Thread Marius Gedminas
On Tue, Dec 16, 2008 at 03:45:01PM -0500, Tres Seaver wrote: Martijn Faassen wrote: Christian Zagrodnick wrote: [snip] Nope. http://mail.zope.org/pipermail/zope3-dev/2007-August/023223.html Weird. At first glance I do not understand the context of that decision. There was a

Re: [Zope-dev] bug in zope.testing 3.7.1?

2008-12-22 Thread Marius Gedminas
')) return DocFileSuite(*paths, optionflags=REPORT_NDIFF|ELLIPSIS) (You might want to use os.path.pardir instead of '..') glob() will search relative to os.getcwd(), while DocFileSuite will search relative to os.path.dirname(__file__). The two may be different. Marius Gedminas -- http

Re: [Zope-dev] zope.globalrequest?

2009-01-19 Thread Marius Gedminas
we want) over library-ish behaviour (we supply utilities, you call them when you want), and could be called an abstract principle behind both DIP and DI -- http://en.wikipedia.org/wiki/Inversion_of_control Oh dear, now I'm confused. ;-) Marius Gedminas -- http://pov.lt/ -- Zope 3

Re: [Zope-dev] Attention Zope 3 KGS consumers: zope.kgs changes

2009-01-28 Thread Marius Gedminas
zope3.4 KGS releases. Can you add Apache rewrite rules to redirect the old URLs to the new locations, just on general principles (cool URLs don't change)? Marius Gedminas -- http://pov.lt/ -- Zope 3 consulting and development signature.asc Description: Digital signature

Re: [Zope-dev] zope.security changes

2009-01-28 Thread Marius Gedminas
. Sounds good! What about the other use case of class, i.e. declaring implemented interfaces, as in class class=.foreignmodule.SomeClass implements interface=.interfaces.ISomeInterface / /class ? Marius Gedminas -- http://pov.lt/ -- Zope 3 consulting and development signature.asc

Re: [Zope-dev] Zope 3.4.0 Released!

2009-02-02 Thread Marius Gedminas
I put into this release as it is. And we're immensely grateful. Marius Gedminas -- http://pov.lt/ -- Zope 3 consulting and development signature.asc Description: Digital signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org

Re: [Zope-dev] snakebite

2009-02-02 Thread Marius Gedminas
://zope3.pov.lt ) In case somebody needs to know how that one's set up, you can find the buildmaster config file at http://zope3.pov.lt/master.cfg Marius Gedminas -- http://pov.lt/ -- Zope 3 consulting and development signature.asc Description: Digital signature

Re: [Zope-dev] Zope 3.5dev KGS

2009-02-02 Thread Marius Gedminas
to figure out how to baby-sit it. Marius Gedminas -- http://pov.lt/ -- Zope 3 consulting and development signature.asc Description: Digital signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts

Re: [Zope-dev] zope.testing tests failing on trunk (using Python 2.4.6 and 2.5.4)

2009-02-16 Thread Marius Gedminas
the failures are (Hint, hint.) Marius Gedminas -- http://pov.lt/ -- Zope 3 consulting and development signature.asc Description: Digital signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts

  1   2   3   4   5   >