dropbox / dropbox/pynsot

Python 3.x Compatibility

Open
#109 1 comment 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Python
Stars
46
Forks
22
PR merge metrics
No merged PRs in 30d

Description

While I would love to have this Python 3.5 compatible, probably more feasible to make 2.7 and 3.3 compatible. From what I understand 3.3 is one of the easier py3 versions to maintain forward and backward projects.

We should use `six` sparingly and when needed to do conditional version blocks, treat py2 as the special case:

``` python
if six.PY2:
# Special code
else:
# Modern code
```

This way it allows py4 when released to fall back to py3 code which will probably be compatible.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.