Re: [openstack-dev] [pecan] [mistral] Pecan python3 compatibility

2015-10-01 Thread Salvatore Orlando
Or, since many OpenStack projects now use Pecan, we could fix this
ourselves as a thank you note to Pecan developers!

Salvatore

On 1 October 2015 at 21:08, Ryan Petrello 
wrote:

> Yep, this definitely looks like a Python3-specific bug.  If you'll open a
> ticket, I'll take a look as soon as I get a chance :)!
>
>
> On 10/01/15 02:44 PM, Doug Hellmann wrote:
>
>> Excerpts from Nikolay Makhotkin's message of 2015-10-01 16:50:04 +0300:
>>
>>> Hi, pecan folks!
>>>
>>> I have an question for you about python3 support in pecan library.
>>>
>>> In Mistral, we are trying to fix the codebase for supporting python3, but
>>> we are not able to do this since we faced issue with pecan library. If
>>> you
>>> want to see the details, see this traceback - [1].
>>> (Actually, something is wrong with HooksController and walk_controller
>>> method)
>>>
>>> Does pecan officially support python3 (especially, python3.4 or
>>> python3.5)
>>> or not?
>>> I didn't find any info about that in pecan repository.
>>>
>>> [1] http://paste.openstack.org/show/475041/
>>>
>>>
>> The intent is definitely to support python 3. This sounds like a bug, so
>> I recommend opening a ticket in the pecan bug tracker.
>>
>> Doug
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
> --
> Ryan Petrello
> Senior Developer, DreamHost
> ryan.petre...@dreamhost.com
>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [pecan] [mistral] Pecan python3 compatibility

2015-10-01 Thread Ryan Petrello
Yep, this definitely looks like a Python3-specific bug.  If you'll open 
a ticket, I'll take a look as soon as I get a chance :)!


On 10/01/15 02:44 PM, Doug Hellmann wrote:

Excerpts from Nikolay Makhotkin's message of 2015-10-01 16:50:04 +0300:

Hi, pecan folks!

I have an question for you about python3 support in pecan library.

In Mistral, we are trying to fix the codebase for supporting python3, but
we are not able to do this since we faced issue with pecan library. If you
want to see the details, see this traceback - [1].
(Actually, something is wrong with HooksController and walk_controller
method)

Does pecan officially support python3 (especially, python3.4 or python3.5)
or not?
I didn't find any info about that in pecan repository.

[1] http://paste.openstack.org/show/475041/



The intent is definitely to support python 3. This sounds like a bug, so
I recommend opening a ticket in the pecan bug tracker.

Doug

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


--
Ryan Petrello
Senior Developer, DreamHost
ryan.petre...@dreamhost.com

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [pecan] [mistral] Pecan python3 compatibility

2015-10-01 Thread Doug Hellmann
Excerpts from Nikolay Makhotkin's message of 2015-10-01 16:50:04 +0300:
> Hi, pecan folks!
> 
> I have an question for you about python3 support in pecan library.
> 
> In Mistral, we are trying to fix the codebase for supporting python3, but
> we are not able to do this since we faced issue with pecan library. If you
> want to see the details, see this traceback - [1].
> (Actually, something is wrong with HooksController and walk_controller
> method)
> 
> Does pecan officially support python3 (especially, python3.4 or python3.5)
> or not?
> I didn't find any info about that in pecan repository.
> 
> [1] http://paste.openstack.org/show/475041/
> 

The intent is definitely to support python 3. This sounds like a bug, so
I recommend opening a ticket in the pecan bug tracker.

Doug

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [pecan] [mistral] Pecan python3 compatibility

2015-10-01 Thread Nikolay Makhotkin
>
>
> If value is a bounded method, you can replace value.im_class with
> type(value.__self__).
>
>
Yes. Python 3 does not support im_class attribute for methods.

-- 
Best Regards,
Nikolay
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [pecan] [mistral] Pecan python3 compatibility

2015-10-01 Thread Victor Stinner

Hi,

Le 01/10/2015 15:50, Nikolay Makhotkin a écrit :

In Mistral, we are trying to fix the codebase for supporting python3,
but we are not able to do this since we faced issue with pecan library.
If you want to see the details, see this traceback - [1].


I tried to run Mistral tests on Python 3 and I got the same error. For 
me, it's an obvious Python 3 bug in Pecan. Maybe Pecan has only a 
partial Python 3 support?


If value is a bounded method, you can replace value.im_class with 
type(value.__self__).


Victor

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [pecan] [mistral] Pecan python3 compatibility

2015-10-01 Thread Nikolay Makhotkin
Hi, pecan folks!

I have an question for you about python3 support in pecan library.

In Mistral, we are trying to fix the codebase for supporting python3, but
we are not able to do this since we faced issue with pecan library. If you
want to see the details, see this traceback - [1].
(Actually, something is wrong with HooksController and walk_controller
method)

Does pecan officially support python3 (especially, python3.4 or python3.5)
or not?
I didn't find any info about that in pecan repository.

[1] http://paste.openstack.org/show/475041/

-- 
Best Regards,
Nikolay Makhotkin
@Mirantis Inc.
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev