Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding python 3.5 support #526

Merged
merged 3 commits into from
Sep 24, 2015
Merged

adding python 3.5 support #526

merged 3 commits into from
Sep 24, 2015

Conversation

joernhees
Copy link
Member

No description provided.

@joernhees joernhees added enhancement New feature or request testing labels Sep 23, 2015
@joernhees joernhees added this to the rdflib 4.2.2 milestone Sep 23, 2015

compat_r = unicode(replacement) if sys.version_info[:2] >= (3, 5) else _r

return Literal(re.sub(unicode(pattern), compat_r, text, cFlag),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gjhiggins could you review this? i'm not sure this is the best / a good solution

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not pretty - and should maybe somehow be in compat.py - but if it works, SHIPIT!

but maybe add a comment? :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

;) alright

@joernhees joernhees changed the title adding python 3.5 support (activating tests) adding python 3.5 support Sep 23, 2015
joernhees added a commit that referenced this pull request Sep 24, 2015
adding python 3.5 support
@joernhees joernhees merged commit 12596d8 into RDFLib:master Sep 24, 2015
@joernhees joernhees deleted the py35 branch September 24, 2015 08:40
@joernhees joernhees self-assigned this Sep 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants