Re: [RFC] Strategy for porting Proton to Python 3

2015-04-16 Thread Robbie Gemmell
On 16 April 2015 at 23:03, Robbie Gemmell wrote: > On 16 April 2015 at 20:38, Ken Giusti wrote: >> And within moments, I hit my first Really Big Problem: >> >> Jython >> >> Yep, turns out Jython can't parse 'futurized' python code. Especially >> dislikes the >> >> except , ---> except a

Re: [RFC] Strategy for porting Proton to Python 3

2015-04-16 Thread Robbie Gemmell
On 16 April 2015 at 20:38, Ken Giusti wrote: > And within moments, I hit my first Really Big Problem: > > Jython > > Yep, turns out Jython can't parse 'futurized' python code. Especially > dislikes the > > except , ---> except as > > change. Which isn't very helpful, since the 'as' var

Re: [RFC] Strategy for porting Proton to Python 3

2015-04-16 Thread Dominic Evans
(Apologies for top post, on iPhone) #4 keep all the unittest source as python2 code for testing python2 and jython, but also run 2to3 over it at build time to automatically produce a version in python3 syntax? > On 16 Apr 2015, at 20:40, Ken Giusti wrote: > > And within moments, I hit my first

Re: [RFC] Strategy for porting Proton to Python 3

2015-04-16 Thread Alan Conway
On Thu, 2015-04-16 at 15:38 -0400, Ken Giusti wrote: > And within moments, I hit my first Really Big Problem: > > Jython > > Yep, turns out Jython can't parse 'futurized' python code. Especially > dislikes the > > except , ---> except as > > change. Which isn't very helpful, since t

[jira] [Commented] (PROTON-334) SASL Implementation for Proton C

2015-04-16 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14498580#comment-14498580 ] ASF GitHub Bot commented on PROTON-334: --- Github user astitcher commented on the pull

[GitHub] qpid-proton pull request: PROTON-334: SASL Implementation for Prot...

2015-04-16 Thread astitcher
Github user astitcher commented on the pull request: https://github.com/apache/qpid-proton/pull/17#issuecomment-93824913 @dnwe I think I copied that CMake code directly from qpid. I'll look at doing something like you suggested - the CMake output does look clunky. --- If your project

Re: [RFC] Strategy for porting Proton to Python 3

2015-04-16 Thread Ken Giusti
And within moments, I hit my first Really Big Problem: Jython Yep, turns out Jython can't parse 'futurized' python code. Especially dislikes the except , ---> except as change. Which isn't very helpful, since the 'as' variant is the only syntax supported by Python 3 (that comma-syn

[jira] [Issue Comment Deleted] (PROTON-850) inconsistent state when reusing link name

2015-04-16 Thread Gordon Sim (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gordon Sim updated PROTON-850: -- Comment: was deleted (was: Actually, this is not really a bug as described. The local state *is* closed

Re: [RFC] Strategy for porting Proton to Python 3

2015-04-16 Thread Alan Conway
On Thu, 2015-04-16 at 09:54 -0400, Ken Giusti wrote: > Hi all, > > I'm building on the work done by Dominic and Mickael to get all the proton > python bits to work under both python2 and python3. See [1]. > > I think this will entail a lot of little changes to the python sources and > the uni

[jira] [Comment Edited] (PROTON-850) inconsistent state when reusing link name

2015-04-16 Thread Gordon Sim (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14498365#comment-14498365 ] Gordon Sim edited comment on PROTON-850 at 4/16/15 5:43 PM: Th

[jira] [Updated] (PROTON-850) inconsistent state when reusing link name

2015-04-16 Thread Gordon Sim (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gordon Sim updated PROTON-850: -- Attachment: PROTON_850.py This is an example using the plain reactor api, that follows the same pattern

[jira] [Updated] (PROTON-850) inconsistent state when reusing link name

2015-04-16 Thread Gordon Sim (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gordon Sim updated PROTON-850: -- Component/s: python-binding Description: If a link is closed, and a new link with the same name is c

[RFC] Strategy for porting Proton to Python 3

2015-04-16 Thread Ken Giusti
Hi all, I'm building on the work done by Dominic and Mickael to get all the proton python bits to work under both python2 and python3. See [1]. I think this will entail a lot of little changes to the python sources and the unit tests. Rather than check in a single huge patch, I'm going to b

[jira] [Commented] (PROTON-850) link state is incorrect after detach and reattach with same name

2015-04-16 Thread Robbie Gemmell (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14497805#comment-14497805 ] Robbie Gemmell commented on PROTON-850: --- I have spent some time investigating a rela

[jira] [Created] (PROTON-853) [proton-j] the transport emitted a new link attach for a link in the process of being detached

2015-04-16 Thread Robbie Gemmell (JIRA)
Robbie Gemmell created PROTON-853: - Summary: [proton-j] the transport emitted a new link attach for a link in the process of being detached Key: PROTON-853 URL: https://issues.apache.org/jira/browse/PROTON-853

[jira] [Commented] (PROTON-334) SASL Implementation for Proton C

2015-04-16 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14497717#comment-14497717 ] ASF GitHub Bot commented on PROTON-334: --- Github user dnwe commented on the pull requ

[GitHub] qpid-proton pull request: PROTON-334: SASL Implementation for Prot...

2015-04-16 Thread dnwe
Github user dnwe commented on the pull request: https://github.com/apache/qpid-proton/pull/17#issuecomment-93675959 @astitcher minor issue, unrelated to the feature itself, but the CMake build doesn't currently report which sasl implementation is being used. I just see: ``` --

[jira] [Updated] (PROTON-852) Implement pn_getaddrinfo,pn_getprotobyname for platforms that not support getaddrinfo(),getprotobyname()

2015-04-16 Thread Tomasz Nowicki (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tomasz Nowicki updated PROTON-852: -- Attachment: proton-c-GETADDRINFO.patch > Implement pn_getaddrinfo,pn_getprotobyname for platform

[jira] [Created] (PROTON-852) Implement pn_getaddrinfo,pn_getprotobyname for platforms that not support getaddrinfo(),getprotobyname()

2015-04-16 Thread Tomasz Nowicki (JIRA)
Tomasz Nowicki created PROTON-852: - Summary: Implement pn_getaddrinfo,pn_getprotobyname for platforms that not support getaddrinfo(),getprotobyname() Key: PROTON-852 URL: https://issues.apache.org/jira/browse/PRO

[jira] [Updated] (PROTON-851) Implement pn_i_genuuid for platforms that not support uuid_generate

2015-04-16 Thread Tomasz Nowicki (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tomasz Nowicki updated PROTON-851: -- Attachment: proton-c-UUID.patch > Implement pn_i_genuuid for platforms that not support uuid_gen

[jira] [Created] (PROTON-851) Implement pn_i_genuuid for platforms that not support uuid_generate

2015-04-16 Thread Tomasz Nowicki (JIRA)
Tomasz Nowicki created PROTON-851: - Summary: Implement pn_i_genuuid for platforms that not support uuid_generate Key: PROTON-851 URL: https://issues.apache.org/jira/browse/PROTON-851 Project: Qpid Pro