On Sat, Nov 29, 2008 at 2:18 PM, Benji York [EMAIL PROTECTED] wrote:
I'm working on a new package (maybe named zope.functionaltesting) that
will provide only what's needed for functional testing of Zope 3 apps
using testbrowser without all the baggage of zope.app.testing (see
http
just to remove a dependency
on zope.testing -- which only depends on zope.interface -- is not
compelling.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
in testbrowser. There's no need to impose a newer version on
people who don't need it. Anyone who does need the bug fix can specify
the newer version in their project.
The revision also disabled nailed versions which is required to keep the
buildout reproducible.
I've fixed all this in r93784.
--
Benji York
On Mon, Dec 8, 2008 at 9:18 AM, Gary Poster [EMAIL PROTECTED] wrote:
On Dec 8, 2008, at 9:02 AM, Benji York wrote:
On Sat, Dec 6, 2008 at 10:28 AM, Christian Zagrodnick [EMAIL PROTECTED]
wrote:
Log message for revision 93722:
- Switched to Zope 3.4 KGS.
- New lines are no longer stripped
+4,5 @@
[test]
recipe = zc.recipe.testrunner
+defaults = [--auto-color]
eggs = zc.sourcefactory [test]
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope
On Mon, Dec 8, 2008 at 12:37 PM, Zvezdan Petkovic [EMAIL PROTECTED] wrote:
On Dec 8, 2008, at 10:56 AM, Benji York wrote:
On Mon, Dec 8, 2008 at 2:22 AM, Michael Howitz [EMAIL PROTECTED] wrote:
Log message for revision 93766:
color by default
This setting apparently causes problems
is that if the tests
are run with Python's -O or -OO switches, the asserts will be optimized
away.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
On Mon, Dec 8, 2008 at 3:05 PM, Fred Drake [EMAIL PROTECTED] wrote:
On Mon, Dec 8, 2008 at 10:56 AM, Benji York [EMAIL PROTECTED] wrote:
This setting apparently causes problems for people who use Emacs, so
for zope. and zc. packages at least, we don't use --auto-color.
I've been using
versions requires even less work than forking.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists
On Tue, Dec 9, 2008 at 9:01 AM, Gary Poster [EMAIL PROTECTED] wrote:
On Dec 9, 2008, at 8:43 AM, Benji York wrote:
On Mon, Dec 8, 2008 at 12:23 PM, Tres Seaver [EMAIL PROTECTED]
wrote:
Stripping all versions from the dependencies in setup.py only works if
users are willing to run their own
more about Tres' scenario.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org
'))
return DocFileSuite(*paths, optionflags=REPORT_NDIFF|ELLIPSIS)
(You might want to use os.path.pardir instead of '..')
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman
On Wed, Jan 7, 2009 at 7:29 AM, Christian Zagrodnick c...@gocept.com wrote:
there is zc.selenium on svn.zope.org which is not on pypi. Could this
be released?
Yes.
Also it speaks of the ZVLS in some files which doesn't
seem to be correct.
It's not correct. They should all be ZPL.
--
Benji
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope
On Wed, Jan 7, 2009 at 8:36 AM, Christian Zagrodnick c...@gocept.com wrote:
On 07.01.2009, at 14:34, Benji York wrote:
On Wed, Jan 7, 2009 at 7:27 AM, Christian Zagrodnick c...@gocept.com
wrote:
Log message for revision 94571:
re-added comment action (which was lost by the selenium upgrade
On Tue, Jan 13, 2009 at 1:27 PM, Gary Poster gary.pos...@gmail.com wrote:
I, or other folks, will hopefully get a chance to send out other
announcements of this sort in the future!
Very cool.
--
Benji York
Senior Software Engineer
Zope Corporation
, and compliments
zope.interface well. However, it seems to me that zope.interface stands on its
own without it and the two should remain separate.
Luckily in today's setuptools-enabled world, adding in a new dependency is
easy, so I don't see much reason to merge these two packages.
--
Benji York
past mistakes. Let's not repeat them.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http
a code snippet that does it:
http://wiki.zope.org/zope3/FAQProgramming#how-do-i-get-irequest-object-in-event-handler
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo
.
+# Copyright (c) 2008 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http
in dependencies like crazies, creating more dependency cycles.
I think a new package might be in order.
How about a namespace package zope.zcml?
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http
On Fri, Jan 30, 2009 at 4:44 PM, Martijn Faassen faas...@startifact.com wrote:
Benji York wrote:
On Fri, Jan 30, 2009 at 12:01 PM, Martijn Faassen
faas...@startifact.com wrote:
No, not there either, as zope.configuration doesn't define *any*
directives except the basic ones like 'include
On Sat, Jan 31, 2009 at 2:33 AM, Stephan Richter
srich...@cosmos.phy.tufts.edu wrote:
Zope 3.4 requires Python 2.4 or 3.5 to run.
/me goes to download Python 3.5.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope
? Was the removal of the old
file intentional?
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http
that they know roughly how to
move in our community.
A hearty +1 from me. I have very little time to spend, but I'm sure
I'll at least read what you produce in hopes of helping how I can.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope
On Mon, Feb 2, 2009 at 10:10 AM, Stephan Richter
srich...@cosmos.phy.tufts.edu wrote:
On Monday 02 February 2009, Benji York wrote:
On Sat, Jan 31, 2009 at 2:33 AM, Stephan Richter
srich...@cosmos.phy.tufts.edu wrote:
- Zope 3.4 Versions:
http://download.zope.org/zope3.4/3.4.0
/19)
+~~
ISO dates (-MM-DD) are more clearly to read. When using slashes it
is not always clear what is the month and what is the day.
+1
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev
,branches}
Using the `z` trick, that would be:
svn mkdir `z`/new-project{,trunk,tags,branches}
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
like the above.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman
can remove the
slug files.
My initial reaction to Dan's removal
was that the checkin message (remove zpkg stuff) had nothing to do
with that particular change: 'zpkg' was entirely separate from slugs.
Same here.
--
Benji York
Senior Software Engineer
Zope Corporation
On Thu, Mar 5, 2009 at 1:43 PM, Martijn Faassen faas...@startifact.com wrote:
[snip proposal to stop using extras]
Opinions?
+1
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org
On Fri, Mar 6, 2009 at 9:52 AM, Martijn Faassen faas...@startifact.com wrote:
Since nobody spoke up in favor of ZCML slugs, I'm going to record an
official policy they can be removed.
+1
--
Benji York
Senior Software Engineer
Zope Corporation
On Mon, Mar 9, 2009 at 6:01 PM, Gary Poster gary.pos...@gmail.com wrote:
If we do make changes for this purpose, I'd like to no longer use the
__*__ pattern.
+1 -- new or changed attributes should follow some other pattern
--
Benji York
Senior Software Engineer
Zope Corporation
will do.
Indeed.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman
. It's
also quite useful for tests.
bikeshed
Maybe we can use the description or long_description field
in the setup.py for the package mission statement
/bikeshed
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist
in its
buildout using the KGS against which it works (plus any exceptions).
People could then refer to that to know what versions it actually works
with and they can verify that it works by running the tests.
--
Benji York
Senior Software Engineer
Zope Corporation
',
'zope.interface',
'zope.location',
'zope.proxy',
],
extras_require=dict(
test=[
'ZODB3',
'zope.testing',
],
),
+1
--
Benji York
Senior Software Engineer
Zope Corporation
code ?
From the above documentations, I can see that it works for doctest.
And we have used it in many places. Also in PyPI
(long_description), it looks better.
Please see http://mail.zope.org/pipermail/zope-dev/2008-August/033010.html
(adding zope-dev and removing checkins)
--
Benji York
Senior
On Mon, Apr 6, 2009 at 2:19 PM, Baiju M mba...@zeomega.net wrote:
On Mon, Apr 6, 2009 at 11:56 AM, Benji York be...@zope.com wrote:
[snip]
Please see http://mail.zope.org/pipermail/zope-dev/2008-August/033010.html
So we should not use either single colon (:) or indent doctest ?
Single colons
management
structure, not something outsiders would be interested in.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding
by Zope 2, Plone, Grok, Repoze.bfg, and by many other different
applications and frameworks.
+lots
I don't think trying to guess which parts or packages will die is a
particularly useful exercise.
Indeed.
--
Benji York
Senior Software Engineer
Zope Corporation
correctly.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo
that
will mitigate this?
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org
On Wed, Apr 22, 2009 at 10:55 AM, Wichert Akkerman wich...@wiggy.net wrote:
Previously Benji York wrote:
On Wed, Apr 22, 2009 at 10:06 AM, Wichert Akkerman wich...@wiggy.net wrote:
I want to suggest two changes to the standard release process:
1. use sdist --formats=zip. This works around
can
confirm the fix.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman
versions Python
Most people seem to be moving to 2.5 or 2.6 and we (the community) don't
have a good infrastructure to support 2.4, 2.5, and 2.6 on each of the
platforms we want.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev
of ++noop++, but would also like to see it in a z3c (or
similar) package.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding
to the zope namespace. Or
not, there's no reason all widely used packages have to be in zope.*.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross
On Mon, Jun 22, 2009 at 1:16 PM, Adam GROSZERagros...@gmail.com wrote:
Hello,
Maybe it's time for an svn commit police squad?
/me readies the tear gas.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev
and what benefits it has).
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org
*
want to keep a file on-disk but still include part or all of it in a
document.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML
at the moment. I'll look and see if there's a good way to do so.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding
On Wed, Jun 24, 2009 at 6:07 PM, Chris Withersch...@simplistix.co.uk wrote:
Benji York wrote:
--- begin quote ---
Contents of myfile.zcml::
configure xmlns=http://namespaces.zope.org/zope;
blah blah blah
/configure
.. - config
import tmpfile
f = tmpfile.mkstemp
Version 1.2.0 of zope.html has just been released. It includes the
security fix release of FCKEditor (2.6.4.1) which addresses
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2009-2265.
--
Benji York
Senior Software Engineer
Zope Corporation
On Mon, Jul 13, 2009 at 5:55 AM, Marius Gedminasmar...@gedmin.as wrote:
Personally I would much prefer for the unit test layer to be sorted
first. It is already treated specially by zope.testing; I see no harm
in hardcoding its sort order.
+1
--
Benji York
Senior Software Engineer
Zope
the test discovery protocol recently
added to the Python standard library and backported as the discover
module (http://pypi.python.org/pypi/discover).
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
needs to record the svn revision # tested.
By buildbot output do you mean simply the fact that all tests passed
on all platforms?
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org
to.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope
. A good policy might be that development is done on
branches (as much development is done now) and a branch shouldn't be
merged to the trunk unless all the tests pass (on all platforms).
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev
only apply to
packages in the ZTK.
That's what I was thinking.
I think I'd rather decouple management of individual projects from
management of the KGS. I wonder what other people think.
That's a reasonable stance.
--
Benji York
Senior Software Engineer
Zope Corporation
to merge a feature branch back to the
trunk once was also quite irritating.
Plus the merge info properties constantly polluted svn diff and svn
stat output as well as our commit email (the latter is fixable of
course).
After trying for a few months we abandoned it. YMMV.
--
Benji York
Senior
dedenting the text before I write it
or use it for comparison. Any ideas?
I would; manuel.capture does.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
it for three reasons:
3) so superfluous version bumps on the trunk
Amongst the reasons I like it are that:
- when using a checkout as a develop egg you don't have to worry about finding
out the exact version used on the trunk, you can always just use 0.
--
Benji York
Senior Software Engineer
Zope
On Thu, Sep 10, 2009 at 5:20 PM, Wichert Akkerman wich...@wiggy.net wrote:
On 2009-9-10 22:23, Benji York wrote:
2) if you accidentally make a trunk release no one will accedentally use
it
because it will be the oldest release on PyPI instead of the newest,
Doesn't it break all versioned
with this policy
because it will have version 0 and can no longer satisfy the = 2.1
requirement.
Gotcha. Yep that's a down side of the zero approach. For me the scale
still tips to using zero as the trunk version.
--
Benji York
Senior Software Engineer
Zope Corporation
On Fri, Sep 11, 2009 at 9:07 AM, Marius Gedminas mar...@gedmin.as wrote:
On Thu, Sep 10, 2009 at 04:23:31PM -0400, Benji York wrote:
3) [no] superfluous version bumps on the trunk
I don't understand this one. Could you elaborate?
The current practice is that after doing a release you have
, if you are going to release to pypi, there are tools like
zest.releaser which make doing a release in the official way a snap
(version-bump and all).
That's good to know.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist
be a small loss for most people
working on ZTK projects.
For the way I develop non-ZTK software the zeros are a small win.
Luckily most of the software I develop isn't in the ZTK, so I'm fine
with the status quo.
--
Benji York
Senior Software Engineer
Zope Corporation
On Fri, Sep 11, 2009 at 10:41 AM, Martijn Faassen
faas...@startifact.com wrote:
Benji York wrote:
On Fri, Sep 11, 2009 at 8:53 AM, Martijn Faassen faas...@startifact.com
wrote:
Well, the official policy of the ZTK is still to use the 'dev' approach.
We can't just suddenly start to use
.
The proposed change would make this tool simpler. More importantly,
it makes things simpler for people who don't use the tool.
+1 -- reducing the number of tools necessary to (easily) accomplish a
particular task is valuable.
--
Benji York
Senior Software Engineer
Zope Corporation
and review.
Well said.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman
examples of using Manuel:
Rendered as HTML at http://packages.python.org/manuel/
Source at http://svn.zope.org/*checkout*/manuel/trunk/src/index.txt
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
https
the ZTK.
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope
in
option parsing, but I didn't find anything...
I'd try the same approach as default options in Python functions. Make
the default None (which isn't a valid seed) and then you can tell the
difference.
--
Benji York
Senior Software Engineer
Zope Corporation
).
As far as I can tell you don't want any of the ZCA functionality (named
utilities, overriding, etc.), so divorcing this from the ZCA seems
appropriate. I still don't quite see why a module global dictionary
doesn't meet your needs.
--
Benji York
https://bugs.launchpad.net/zope3/+bug/181833.
--
Benji York
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope
backport the fix and do a
3.4.x bug-fix release.
--
Benji York
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo
: scroll; max-height:
15em; width: 15em; overflow-x: hidden}');
--
Benji York
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman
this for Christmas. :)
/me pens a letter to Zanta Claus.
--
Benji York
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman
On Wed, Nov 25, 2009 at 11:17 AM, Matthew Wilkes
matt...@matthewwilkes.co.uk wrote:
On 2009-11-25, at 1601, Benji York wrote:
I'm not sure I like the following suggestion better than the above, but
throwing it out there anyway:
Multiadapter:
IFoo((x,y))
I know it's probably a spurious
be suggesting that the recent fix be reverted and they instead
use the CSS I posted earlier.
--
Benji York
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https
can pinpoint the reason
and confirm the bug for zope.security-3.4.1?
As a first step, I suggest putting 3.4.3 in production and seeing if the
segfaults stop.
--
Benji York
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo
On Thu, Nov 26, 2009 at 9:04 AM, Leonardo Rochael Almeida
leoroch...@gmail.com wrote:
On Thu, Nov 26, 2009 at 14:34, Benji York be...@zope.com wrote:
On Wed, Nov 25, 2009 at 11:17 AM, Matthew Wilkes
I know it's probably a spurious use case, but what if I want to adapt a
tuple?
There could
effect as editing the code without actually having to do so.
--
Benji York
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman
On Wed, Dec 2, 2009 at 5:06 PM, Marius Gedminas mar...@gedmin.as wrote:
On Wed, Dec 02, 2009 at 01:36:37PM -0500, Benji York wrote:
Here's another idea: a testrunner option that takes a file name and line
number and inserts a breakpoint at that position. That way you can get
the same effect
. Feel free to +1 the issue if you feel so
moved:
https://sourceforge.net/tracker/?func=detailaid=2906878group_id=66150atid=513503
--
Benji York
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross
IFoocontext for single adapters and
IFooa, b, c for multiapdapters.
I suppose we could do: IFoocontext and IFooa, b, c instead.
Somehow I suspect that'll provoke a gag reflex in the most Pythonic
among us as well as annoy those that want something googlable for the
uninformed code reader.
--
Benji York
. One day.
--
Benji York
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org
be interested
in seeing a doctest that has problems.
Do you:
...
- something else I'm not aware of :-)
Maybe NORMALIZE_WHITESPACE would help.
--
Benji York
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
to the project trunk.
We've inherited a communal process from the pre-explosion days that
worked well there, but there are just too many projects for the
community to keep track of and to care for.
--
Benji York
___
Zope-Dev maillist - Zope-Dev@zope.org
https
take. There's probably no need
to reflect this in the documentation, so non-documentation flavored
tests are appropriate.
--
Benji York
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML
.
Thanks.
--
Benji York
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org
to using universal new
line mode, but since I haven't seen an example of a filing test I can't
be sure if it'll help or not.
--
Benji York
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML
the code.
.. code-block:: python
a = Foo()
b = a.bar()
.. make sure the above worked correctly
b.baz
42
--
Benji York
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML
')
--
Benji York
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo
On Sun, Jan 3, 2010 at 4:48 PM, Lennart Regebro rege...@gmail.com wrote:
On Sun, Jan 3, 2010 at 22:08, Benji York be...@zope.com wrote:
Occasionally you want to show some code but hide the assertions about
the effects of the code. You can do that by putting the tests in a reST
comment after
exclusively. The only
place zope.testing.doctest is used is to be compatible with
zope.testing's expectations.
I just took a stab at removing all references to zope.testing.doctest
from Manuel and got it to work using the zope.testing trunk (Manuel
needs DocTestFailureException).
--
Benji York
.. code-block-setup:: and .. code-block-teardown::
with .. invisible-code-block:: python you can do that with Manuel now
(http://packages.python.org/manuel/#invisible-code-blocks).
--
Benji York
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org
Manuel 1.0.3 -- available on PyPI -- opens files in universal newline
mode. I hope that fixes your newline problem
--
Benji York
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML
On Fri, Dec 25, 2009 at 9:37 PM, Chris McDonough chr...@plope.com wrote:
I added a branch of manuel to the Zope SVN that fixes the codeblock plugin
when
you use codeblock roles such as:
I've released Manuel 1.0.3 which includes this fix.
--
Benji York
101 - 200 of 224 matches
Mail list logo