Re: [Zope-dev] Re: fdrake's fix for brian's fix for bug 1203 needs to be applied in other branches

2004-01-27 Thread Fred L. Drake, Jr.
) branches makes for true pain in managing patches. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! *

Re: [Zope-dev] Re: fdrake's fix for brian's fix for bug 1203 needs to be applied in other branches

2004-01-27 Thread Fred L. Drake, Jr.
Tres Seaver writes: > The 2.7 branch and the head are the only two other "active" branches; I > just checked in a fix which removes the "pre-2.3 compatibility" code. And I've simplified it. ;-) Thanks for following up on this. -Fred -- Fred L.

Re: [Zope-dev] tcp port not 8080

2004-01-20 Thread Fred L. Drake, Jr.
nd anything about where to change this, > except for references that it can be done. I also googled some terms to > no avail. It can indeed be changed. The recommended way to do so depends on the version of Zope you're using. Which version is it? -Fred -- Fred L. Drake, Jr. Py

Re: [Zope-dev] CVS Head: "Error Value: iterable argument required" when adding objects

2004-01-19 Thread Fred L. Drake, Jr.
Jeremy Hylton writes: > Where is that documentation? I'm not able to find it. There used to be a couple of .txt files for this, but I don't remember where. ;-( -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope

Re: [Zope-dev] [ZConfig] wishlist

2004-01-01 Thread Fred L. Drake, Jr.
orced to deal with them as components in the implementation. I expect this will lead to better understood implementations, as each piece is more easily understood in isolation, and more readily maintained. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation

Re: [Zope-dev] [ZConfig] wishlist

2004-01-01 Thread Fred L. Drake, Jr.
onfig" :-) Glad to hear it! There are probably changes we'll want to make to the shape of the actual Zope configuration (like moving the session management configuration to a section with an abstract type); input like yours is very valuable in t

Re: [Zope-dev] [ZConfig] wishlist

2003-12-30 Thread Fred L. Drake, Jr.
27;t done for the main Zope schema due to various forces; perhaps that was a mistake. > I think, a general "include" function for schemas (including not > only types but complete schemas) and configuration files > could provide this kind of modularity. Have you looked at the

[Zope-dev] Re: [Zope3-dev] ZConfig: a wish list

2003-12-30 Thread Fred L. Drake, Jr.
e been writing > make all that extra stuff kind of redundant. I actually depend on the > type and attribute names being the same because of the way I dig values > out when I post-process stuff in Python. This sounds very strange to me. Perha

[Zope-dev] Re: [Zope3-dev] ZConfig: Keytype and section type extension

2003-12-29 Thread Fred L. Drake, Jr.
s can be > Unicode. ZConfig sets attributes using unicode because ZConfig > schemas are XML, and therefore Unicode.) Annoying, isn't it? Not sure it's worth fixing in Python. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation _

[Zope-dev] Re: [Zope3-dev] ZConfig: a wish list

2003-12-29 Thread Fred L. Drake, Jr.
rovide a section name, it would > be nice if the attribute was defaulted to the section type. E.g. in > this example: > > > > IWBNI I didn't have to duplicate the "databases" string. -0 This seems like a reall

[Zope-dev] Re: [Zope3-dev] ZConfig: Keytype and section type extension

2003-12-29 Thread Fred L. Drake, Jr.
x27;/foo/bar/baz'. The _name attribute is an implementation detail; use the getSectionName() method instead. I'm likely to change the _name detail just to be facetious. ;-) -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation __

[Zope-dev] Re: [Zope3-dev] ZConfig: Keytype and section type extension

2003-12-29 Thread Fred L. Drake, Jr.
y" of section type was just such a mapping section as described above. If both of the proposals are considered acceptable, I'd be able to provide a basic type that could be specialized to use email addresses as keys very simply: No need to monkey aroun

[Zope-dev] ZConfig: Keytype and section type extension

2003-12-28 Thread Fred L. Drake, Jr.
overrides would not affect any existing schema, since such schema are currently rejected. One unit test would need to change; the test currently checks that specifying a keytype for a derived section type raises a SchemaError exception. -Fred -- Fred L. Drake, Jr. PythonLabs

[Zope-dev] ZConfig: Section type datatype inheritance

2003-12-28 Thread Fred L. Drake, Jr.
t case, the datatype of the base will be used instead of the "null" datatype. If the "null" datatype is needed, section types that expect it to be used can add the attribute datatype="null" to achieve the current effect (in fact, that works now). No existing u

[Zope-dev] apply()'s PendingDeprecationWarning

2003-12-05 Thread Fred L. Drake, Jr.
be removed from Python, so I've removed them for the upcoming Python 2.3.3 release as well as for the future Python 2.4. Just thought everyone would be thrilled to know. ;-) -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation _

Re: [Zope-dev] typo fix

2003-11-26 Thread Fred L. Drake, Jr.
'product installation' > > # If this directive is turned on, Zope performs 'product installation' Thanks! I've fixed this for 2.7 and the development trunk. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation

Re: [Zope-dev] Rendering xml content in ZPT

2003-11-13 Thread Fred L. Drake, Jr.
k the existing report in the issue tracker and make sure it's complete (including the complete error message and any traceback information), and assign it to me to look into a work-around, I'd appreciate it. -Fred -- Fred L. Drake, Jr. Python

Re: [Zope-dev] Rendering xml content in ZPT

2003-11-13 Thread Fred L. Drake, Jr.
Python (2.3 and newer). -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.o

RE: [Zope-dev] Zope doesn't know enough mime types.

2003-11-04 Thread Fred L. Drake, Jr.
arningfilter.xml, import it using in the main schema. Any datatype or handler functions can then be in a separate module within Zope.Startup as well, keeping it nicely compartmentalized. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation

RE: [Zope-dev] Zope doesn't know enough mime types.

2003-11-04 Thread Fred L. Drake, Jr.
Chris McDonough writes: > Thats where I defined the sectiontype. I don't think it belongs there; it really has nothing to do with the logging. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist -

RE: [Zope-dev] Zope doesn't know enough mime types.

2003-11-04 Thread Fred L. Drake, Jr.
s well. What was affected in zLOG? I'm glad to port these features to Zope 2.7 if you've got the tests ready and Brian thinks that makes sense. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAI

RE: [Zope-dev] Zope doesn't know enough mime types.

2003-10-31 Thread Fred L. Drake, Jr.
check in unit tests of the lower-level functionality that supports the feature shortly. The feature is documented in the configuration schema, and I'll add something to the example configuration about it as well. -Fred -- Fred L. Drake, Jr.

Re: [Zope-dev] Zope doesn't know enough mime types.

2003-10-30 Thread Fred L. Drake, Jr.
robert writes: > would be nice if we had it in 2.7 That's up to Brian Lloyd. I think it's a low-risk change, but we really want to stabilize and finish 2.7. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope

Re: [Zope-dev] Zope doesn't know enough mime types.

2003-10-30 Thread Fred L. Drake, Jr.
in the file may be blank, a comment starting with "#", or a type association: foo/bar ext foo/bat foo/baz ext1 ext2 ext3 -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.z

Re: [Zope-dev] Failure on make instance

2003-10-27 Thread Fred L. Drake, Jr.
Sidnei da Silva writes: > Maybe because the phrase 'file missing' triggered something :) Something like that, perhaps! Jeremy's comment wasn't so different, but didn't clue me in the same way. I'm glad to have fixed it for you! -Fred -- Fred L

Re: [Zope-dev] Failure on make instance

2003-10-27 Thread Fred L. Drake, Jr.
applied the patch from the trunk, I'd applied, tested, and committed; what I didn't do was "cvs add" the new files on the 2.7 branch! Sorry for the resulting autotest spewage. The files have now been added on the branch, so the testers should be happier. And it shoul

Re: [Zope-dev] Zope doesn't know enough mime types.

2003-10-24 Thread Fred L. Drake, Jr.
pe), but isn't guaranteed to find these external lists (they not be installed, or may be installed in atypical locations). Adding some configuration to Zope to identify additional mime.types files to load may be a good idea, and should not be too difficult. -Fred -- Fred L. Drake, Jr.

Re: [Zope-dev] Re: [Zope] Using 2.3.2 for Zope 2.7

2003-10-06 Thread Fred L. Drake, Jr.
__name__ in the globals dictionary in which the code is executed. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encod

[Zope-dev] ZConfig changes

2003-10-03 Thread Fred L. Drake, Jr.
ifferent things. Phillip's changes allow one schema to be derived from one or more other schema. My changes allow configuration files to load additional schema components. Please try these changes and see how they work for you. -Fred -- Fred L. Drake, Jr. PythonLabs

RE: [Zope-dev] Re: [Zope] Using 2.3.2 for Zope 2.7

2003-10-03 Thread Fred L. Drake, Jr.
greater benefits for Zope 3, where we have several modules and packages laying around that would no longer be needed (logging, csv, gettext). I also don't know that we should consider 2.3.1 "acceptable" for any version of Zope. -Fred --

Re: [Zope] Re: [Zope-dev] Using 2.3.2 for Zope 2.7

2003-10-03 Thread Fred L. Drake, Jr.
n for use with zope, so I don't know how big a deal that is. If someone can set up Zope, they can install Python in their sleep. I don't think this is an issue at all. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-De

Re: [Zope-dev] PythonLibraries Product

2003-09-11 Thread Fred L. Drake, Jr.
area (tedious to work with, but could be an otherwise normal .py file). - Change the filesystem serialization so that multiple files can be generated to represent a single object. I think this would require a substantial amount of work. -Fred -- Fred L. Drake, Jr. PythonLabs at Zo

Re: [Zope-dev] Re: tal i18n and ZopeStarter test failures

2003-08-29 Thread Fred L. Drake, Jr.
Chris Withers writes: > Can I take a peak at the config.xml you're using for autotester.py? I'm running "make ftest test" from the command line. > What versions of python are you using for Python 2.1 and Python 2.2 > resepctively? Python 2.2.3 for everything.

Re: [Zope-dev] Re: tal i18n and ZopeStarter test failures

2003-08-28 Thread Fred L. Drake, Jr.
Chris Withers writes: > I see these tests fail on both Windows and Linux. > > What gives? Who checked in this code without running the tests?! As I've indicated previously, I don't see these tests failing on Linux at all. -Fred -- Fred L. Drake, Jr. PythonLabs

Re: [Zope-dev] A First Look at Zope3

2003-07-31 Thread Fred L. Drake, Jr.
vailable that specifically deals with Zope 3; sending your comments and observations there will reach more of the active Zope 3 developers. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] h

Re: [Zope-dev] Re: TALES idea: tuple unpacking

2003-07-29 Thread Fred L. Drake, Jr.
in a comment, you have to encode your content differently. For the double hyphen, encode at least one of them like so: In general, I'd recommend using a syntax-highlighting editor to help detect this one early, or even a "proper" XML

Re: [Zope-dev] Re: TALES idea: tuple unpacking

2003-07-29 Thread Fred L. Drake, Jr.
but if it doesn't still work, there's a bug in the implementation. I'll be glad to donate some of my time to fix any such bugs. Othan than this, I agree with you on this topic. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation _

Re: [Zope-dev] breaking apart INSTANCE_HOME.

2003-07-25 Thread Fred L. Drake, Jr.
t. ;-) That's fine with me. At least it won't be accessing *your* imports directory. ;-) -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-

Re: [Zope-dev] breaking apart INSTANCE_HOME.

2003-07-25 Thread Fred L. Drake, Jr.
propose that the stock Zope instance home install continue to > follow the old pattern (where everything is installed into a single > instance home directory), but we provide the advanced config file > options for roll-your-own packagers and advanced users. This sounds l

Re: [Zope-dev] Re: TALES idea: tuple unpacking

2003-07-23 Thread Fred L. Drake, Jr.
because it's yet another syntax for a web developer to learn. I'm not necessarily one of them, but I am sympathetic with that reasoning. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTE

Re: [Zope-dev] Re: TALES idea: tuple unpacking

2003-07-23 Thread Fred L. Drake, Jr.
adapter simply represents a namespace in which all names look like integers. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross post

Re: [Zope-dev] TALES idea: tuple unpacking

2003-07-23 Thread Fred L. Drake, Jr.
make changes if there's concensus that your proposal should be accepted. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross p

Re: [Zope-dev] TALES idea: tuple unpacking

2003-07-23 Thread Fred L. Drake, Jr.
s quite attractive, and doesn't affect the basic syntax or implementation of TAL, but only of the TALES expression engine. This is very attractive because it pushes the support for this feature somewhere the application controls in as much detail as it wants. -Fred -- Fr

Re: [Zope-dev] current zope2 head warnings with cur-cvs python

2003-07-11 Thread Fred L. Drake, Jr.
S.Application Duplicate Product name > After loading Product 'README.txt' from '/tmp/z27/Products', > I skipped the one in '/home/anthony/src/zope/ZopeHead/Products'. Hmm. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation

Re: [Zope-dev] setup.py bug

2003-07-03 Thread Fred L. Drake, Jr.
added this to the current Zope 2.7 CVS. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope-dev] ./configure on Zope27HEAD with Python 2.2.2

2003-06-19 Thread Fred L. Drake, Jr.
ten unless you're developing Zope itself (and even then, not all *that* often). I suspect using expr is more portable to the whole family of sh-derived shells than any of the more new-fangled ways. Sheesh, who ever imagined I'd be the curmudgeon? -Fred -- Fred L. Drake, Jr. Pyt

[Zope-dev] ZConfig 1.0 release

2003-03-25 Thread Fred L. Drake, Jr.
se, version 2.0. See the file LICENSE.txt in the distribution for the full license text. Information on the latest released version of the ZConfig package is available at http://www.zope.org/Members/fdrake/zconfig/ Reference documentation is available in the ZConfig/doc/ directory of the distr

Re: [Zope-dev] New installer branch

2003-03-20 Thread Fred L. Drake, Jr.
Christian Theune writes: > I'm reconfiguring my dev setup for the freshly merged new installer. My > zope instances refuse to load the products from the Products directory > but don't complain. Here my configured Pathes: Fred L. Drake, Jr. writes: > I think I see the pr

Re: [Zope-dev] New installer branch

2003-03-20 Thread Fred L. Drake, Jr.
n do about this one. Thanks! -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://ma

Re: [Zope-dev] ch-ch-ch-changes (post-merge fallout)

2003-03-20 Thread Fred L. Drake, Jr.
raint should no longer hold. I agree that import order dependencies are a significant source of obfuscation. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailma

Re: [Zope-dev] Proposed installation changes for review

2003-03-18 Thread Fred L. Drake, Jr.
Adrian van den Dries writes: > On March 19, Fred L. Drake, Jr. wrote: > > How important is it to support out-of-place builds? > > http://dev.zope.org/Wikis/DevSite/Proposals/InstallationAndConfiguration Ok, I'm too tired to read that now; I'll look at it

Re: [Zope-dev] Proposed installation changes for review

2003-03-18 Thread Fred L. Drake, Jr.
upport both in-place and out-of-place builds; I may be able to look into it tomorrow. How important is it to support out-of-place builds? -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] ht

Re: [Zope-dev] Re: [Zope-Coders] Merging the new-install-branch

2003-03-18 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. writes: > I'm starting the mechanics of the merge into the trunk now; I'll send > another email when the merge is complete. I'm done. The new-install-branch is now dead. -Fred -- Fred L. Drake, Jr. PythonLab

[Zope-dev] Re: [Zope-Coders] Merging the new-install-branch

2003-03-18 Thread Fred L. Drake, Jr.
to determine what impact this will have on the test process: http://mail.zope.org/pipermail/zope-coders/2003-March/003450.html -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.o

Re: [Zope-dev] Merging the new-install-branch

2003-03-18 Thread Fred L. Drake, Jr.
myself until tonight. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

[Zope-dev] Merging the new-install-branch

2003-03-17 Thread Fred L. Drake, Jr.
t instructions are included in the message referenced above. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encodin

Re: [Zope] Re: [Zope-dev] Proposed installation changes for review

2003-03-10 Thread Fred L. Drake, Jr.
that provided by the zdctl.py/zdrun.py scripts in the zdaemon package. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML e

Re: [Zope-dev] Proposed installation changes for review

2003-03-10 Thread Fred L. Drake, Jr.
ers its configuration paramaters > to ZConfig. I'm hoping to roll out some large production Zopes with > partitioned, distributed storages. I'm not sure what you mean; it sounds like you're looking for either DBTab-style mounts or something different. Please describe the con

Re: [Zope-dev] Re: [Zope-CMF] i18n for CMF And Plone,backporting i18n to Zope 2.x

2002-07-01 Thread Fred L. Drake, Jr.
might be time to investigate Pyrex: http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/ -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts

Re: [Zope-dev] Re: [Zope3-dev] Are there Graphic Designers?

2002-04-05 Thread Fred L. Drake, Jr.
s, I presume that version doesn't do that.) -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Relate

Re: [Zope-dev] Re: [Zope3-dev] Are there Graphic Designers?

2002-04-04 Thread Fred L. Drake, Jr.
f due to security and privacy concerns. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope-dev] Re: [Zope3-dev] Are there Graphic Designers?

2002-04-04 Thread Fred L. Drake, Jr.
x27;t go in because the older browsers just don't come close! -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML enc