FWIW, I've done that now.
On Wed, Oct 8, 2008 at 9:43 AM, Philipp von Weitershausen
<[EMAIL PROTECTED]> wrote:
>
> El 8 Oct 2008, a las 14:23 , Sidnei da Silva escribió:
>
>> On Wed, Oct 8, 2008 at 8:53 AM, Philipp von Weitershausen
>> <[EMAIL PROTECTED]> wrote:
>>>
>>> Sidnei da Silva wrote:
El 8 Oct 2008, a las 14:23 , Sidnei da Silva escribió:
> On Wed, Oct 8, 2008 at 8:53 AM, Philipp von Weitershausen
> <[EMAIL PROTECTED]> wrote:
>> Sidnei da Silva wrote:
>>>
>>> I'm trying to fix some import errors, which seem to be related to
>>> PEP-328.
>>>
>>> I'm fixing those errors this w
On Wed, Oct 8, 2008 at 8:53 AM, Philipp von Weitershausen
<[EMAIL PROTECTED]> wrote:
> Sidnei da Silva wrote:
>>
>> I'm trying to fix some import errors, which seem to be related to PEP-328.
>>
>> I'm fixing those errors this way, though I don't know if that's the
>> recommended way of fixing it. T
Sidnei da Silva wrote:
> I'm trying to fix some import errors, which seem to be related to PEP-328.
>
> I'm fixing those errors this way, though I don't know if that's the
> recommended way of fixing it. Thoughts?
>
> """
> try:
> from DT_Util import parse_params, name_param
> except ImportEr
On Wed, Oct 8, 2008 at 2:40 AM, Marius Gedminas <[EMAIL PROTECTED]> wrote:
> I'd suggest converting it to an absolute import
>
> from zope.documenttemplate.dt_util import parse_params, name_param
So I thought at first. Except there is a problem:
Inside 'DocumentTemplate' there's another 'Documen
On Wed, Oct 08, 2008 at 12:14:29AM -0300, Sidnei da Silva wrote:
> I'm trying to fix some import errors, which seem to be related to PEP-328.
>
> I'm fixing those errors this way, though I don't know if that's the
> recommended way of fixing it. Thoughts?
>
> """
> try:
> from DT_Util import
I'm trying to fix some import errors, which seem to be related to PEP-328.
I'm fixing those errors this way, though I don't know if that's the
recommended way of fixing it. Thoughts?
"""
try:
from DT_Util import parse_params, name_param
except ImportError:
# See PEP-328
from .DT_Util