Print

Print


Hey there,

if you want to support python up to version 3.5 this merge may help. (tested with 2.7 and 3.5)
Unfortunately this does not work with python3.6, maybe some of you have an idea how to fix this?

I'm using this mainly to locate, so the other functions are not tested well, but should work.

Best regards
Martin Sauter


You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd-python/pull/18

Commit Summary

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd-python","title":"xrootd/xrootd-python","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd-python"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Python3 compatibility (#18)"}],"action":{"name":"View Pull Request","url":"https://github.com/xrootd/xrootd-python/pull/18"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd-python/pull/18", "url": "https://github.com/xrootd/xrootd-python/pull/18", "name": "View Pull Request" }, "description": "View this Pull Request on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "Python3 compatibility (#18)", "sections": [ { "text": "", "activityTitle": "**sabma**", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@sabma", "facts": [ ] }, { "title": "Commit Summary", "facts": [ { "name": "5dad670", "value": "* try to get pyxrootd working with python3" }, { "name": "9b4b80e", "value": "* try to get pyxrootd working with python3" }, { "name": "d9b1859", "value": "*small changes in README" }, { "name": "1cb9db4", "value": "* works now with python 2 and 3 (version =\u003c3.5, version 3.6 does not work!)" }, { "name": "3998204", "value": "* works now with python 2 and 3 (version =\u003c3.5, version 3.6 does not work!)" } ] }, { "title": "File Changes", "facts": [ { "name": "Modified", "value": "[libs/client/__init__.py](https://github.com/xrootd/xrootd-python/pull/18/files#diff-0) (8 changes)" }, { "name": "Modified", "value": "[libs/client/flags.py](https://github.com/xrootd/xrootd-python/pull/18/files#diff-1) (3 changes)" }, { "name": "Modified", "value": "[libs/client/responses.py](https://github.com/xrootd/xrootd-python/pull/18/files#diff-2) (3 changes)" }, { "name": "Modified", "value": "[setup.py](https://github.com/xrootd/xrootd-python/pull/18/files#diff-3) (13 changes)" }, { "name": "Modified", "value": "[src/ChunkIterator.hh](https://github.com/xrootd/xrootd-python/pull/18/files#diff-4) (4 changes)" }, { "name": "Modified", "value": "[src/PyXRootD.hh](https://github.com/xrootd/xrootd-python/pull/18/files#diff-5) (15 changes)" }, { "name": "Modified", "value": "[src/PyXRootDCopyProcess.hh](https://github.com/xrootd/xrootd-python/pull/18/files#diff-6) (12 changes)" }, { "name": "Modified", "value": "[src/PyXRootDFile.hh](https://github.com/xrootd/xrootd-python/pull/18/files#diff-7) (17 changes)" }, { "name": "Modified", "value": "[src/PyXRootDFileSystem.hh](https://github.com/xrootd/xrootd-python/pull/18/files#diff-8) (13 changes)" }, { "name": "Modified", "value": "[src/PyXRootDModule.cc](https://github.com/xrootd/xrootd-python/pull/18/files#diff-9) (59 changes)" }, { "name": "Modified", "value": "[src/PyXRootDURL.hh](https://github.com/xrootd/xrootd-python/pull/18/files#diff-10) (12 changes)" } ] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"xrootd/xrootd-python\",\n\"issueId\": 18,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close pull request", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"PullRequestClose\",\n\"repositoryFullName\": \"xrootd/xrootd-python\",\n\"pullRequestId\": 18\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/xrootd/xrootd-python/pull/18" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "targets": [ { "os": "default", "uri": "https://github.com/xrootd/xrootd-python/pull/18.patch" } ], "@type": "OpenUri", "name": "View patch" }, { "targets": [ { "os": "default", "uri": "https://github.com/xrootd/xrootd-python/pull/18.diff" } ], "@type": "OpenUri", "name": "View diff" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 353374364\n}" } ], "themeColor": "26292E" } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1