[ 
https://issues.apache.org/jira/browse/PROTON-2099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16989841#comment-16989841
 ] 

Andrew Stitcher commented on PROTON-2099:
-----------------------------------------

This works correctly under python 3 but not python 2 it seems - I generally 
only use python 3 these days.

So when I made the original fix to quiet the python 3 warnings I assumed that 
this was a result of automatically "promoting" the internal int32 type to int 
for print.

Musing now maybe there's been a change in whether __repr__ or __str__ get used. 
In any case No simple single comparison here will work for both python 2 and 
python 3 it seems.

On balance I don't think this should block the release - especially as this 
script isn't run as part of CI.

> [Python] example test runner script leaks file handles
> ------------------------------------------------------
>
>                 Key: PROTON-2099
>                 URL: https://issues.apache.org/jira/browse/PROTON-2099
>             Project: Qpid Proton
>          Issue Type: Bug
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Major
>             Fix For: proton-c-0.30.0
>
>
> Since python 3.6 python moans when this happens and so the test runs are very 
> noisy.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to