on 19.10.2005 21:15 Tim Peters said the following:
[Stephan Richter]
I am pretty sure that it is strongly discouraged to change the default
encoding in site.py. Can anyone confirm this? I think based on this
discouragement we always assume that noone changes their site.pp.
If you're running a
Jim Fulton wrote:
> > This is, for example, useful for setting the precondition on __setitem__
> > method defintions for containers::
> >
> > class IRecipeContainer(IContainer):
> > def __setitem__(name, object):
> > """Add a recipe"""
> > __setitem__.precondition = ItemType
For anyone who is interested in connecting zope3 to oracle
I checked in an Oracle DB Adapter to the zope repository which is
using the cx_oracle library http://www.computronix.com/
utilities.shtml#Oracle
it is tested against 3.0 and 3.1 versions of zope
see: http://svn.zope.org/cxoracleda/
[Stephan Richter]
> I am pretty sure that it is strongly discouraged to change the default
> encoding in site.py. Can anyone confirm this? I think based on this
> discouragement we always assume that noone changes their site.pp.
If you're running a personal Python, and are willing to deal with all
Philipp von Weitershausen wrote:
Grégoire Weber wrote:
while modeling the external API of an application I'd like to use the
tagged value feature of the interface implementation.
It seems to me that handling tagged values is implemented inconsequently.
It would be nice if tagging attributes a
Stephan Richter wrote:
On Wednesday 19 October 2005 05:51, Grégoire Weber wrote:
Hi everybody,
while modeling the external API of an application I'd like to use the
tagged value feature of the interface implementation.
It seems to me that handling tagged values is implemented inconsequently.
Grégoire Weber wrote:
> while modeling the external API of an application I'd like to use the
> tagged value feature of the interface implementation.
>
> It seems to me that handling tagged values is implemented inconsequently.
>
> It would be nice if tagging attributes and interfaces would look
Stephan Richter <[EMAIL PROTECTED]> writes:
> On Wednesday 19 October 2005 03:25, Stefan Rank wrote:
>> I recently ran the zope3 test suite on a fresh checkout.
>> and I have a non-ascii default encoding set up in my python's
>> site.py file. To be exact, on Windows it is::
>
> I am pretty sure th
On Tuesday 18 October 2005 10:46, Tres Seaver wrote:
> I was in the midst of writing a 'tools.txt' doctest which would have
> provided the basis for such a test when I wrote my "keening" post. In
> case you missed the attacment, here it is again.
I was looking at the file actually before, but I w
On Wednesday 19 October 2005 03:25, Stefan Rank wrote:
> - would it make sense to put::
>
> reload(sys)
> sys.setdefaultencoding('ascii')
>
> there instead?
> To allow the tests to run also on non-default systems.
Using reload is a big no-no.
> - does a non-ascii defaultencoding p
On Wednesday 19 October 2005 03:25, Stefan Rank wrote:
> I recently ran the zope3 test suite on a fresh checkout.
> and I have a non-ascii default encoding set up in my python's
> site.py file. To be exact, on Windows it is::
I am pretty sure that it is strongly discouraged to change the default
On Wednesday 19 October 2005 05:51, Grégoire Weber wrote:
> Hi everybody,
>
> while modeling the external API of an application I'd like to use the
> tagged value feature of the interface implementation.
>
> It seems to me that handling tagged values is implemented inconsequently.
>
> It would be n
Hi everybody,
while modeling the external API of an application I'd like to use the
tagged value feature of the interface implementation.
It seems to me that handling tagged values is implemented inconsequently.
It would be nice if tagging attributes and interfaces would look the
same as tagging
Hi list
I recently ran the zope3 test suite on a fresh checkout.
and I have a non-ascii default encoding set up in my python's
site.py file. To be exact, on Windows it is::
In [1]: import sys
In [2]: sys.getdefaultencoding()
Out[2]: 'cp1252'
(on the Linux box it's 'utf-8')
I get several
14 matches
Mail list logo