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
Drop 2to3 mechanism #1350
Comments
From Dmitry Shachnev on 2014-01-18 11:05:09+00:00 Also:
Also: replace |
From Takayuki Shimizukawa on 2014-01-18 11:10:57+00:00 Dmitry Shachnev Exactly! |
From Takayuki Shimizukawa on 2014-01-18 11:28:25+00:00 The python-future does not support Python-3.2 because py32 does not support unicode literal. They said I think we need to decide whether drop Python-3.2 or not. If we decided to drop py32, we may not need to be dependent on six/future. |
From Georg Brandl on 2014-01-18 11:38:38+00:00 For that it would be nice to know what |
From Georg Brandl on 2014-01-18 11:40:36+00:00 Independent changes like those Dmitry suggested can of course be made straight away. |
From Georg Brandl on 2014-01-18 12:37:40+00:00 Looking at future, these can be made automatically using "futurize --stage1". |
From Georg Brandl on 2014-01-18 15:48:28+00:00 I've just finished porting Pygments to single-source, and I have two observations:
|
From Dmitry Shachnev on 2014-01-19 10:27:56+00:00 I have just created https://bitbucket.org/birkenfeld/sphinx/pull-request/208 for the first part of refactoring. Please review it carefully, I may have missed some bugs. I have a question about |
From Georg Brandl on 2014-01-19 10:31:20+00:00 If the tests work with it, yes. Probably they will. |
From Dmitry Shachnev on 2014-01-19 10:32:32+00:00 Dropping that will be my next pull request, then. |
From Dmitry Shachnev on 2014-01-29 14:59:09+00:00 Re
|
From Takayuki Shimizukawa on 2014-04-26 09:18:48+00:00 I got a reason why py3 test has been failed. Python 3 imports compiled version ElementTree and XMLParser automatically. And compiled XMLParser doesn't have I'm going to introduce tests/pycompat.py that has a full copy of the python version XMLParser. I think it will resolve this problem. |
From Takayuki Shimizukawa on 2014-04-26 09:38:57+00:00 I created a https://bitbucket.org/birkenfeld/sphinx/pull-request/237 to remove tests/etree13. Please review it. |
From Takayuki Shimizukawa on 2014-04-30 04:11:28+00:00 I created a https://bitbucket.org/birkenfeld/sphinx/pull-request/238 that introduce the six module. Please review it. (FYI, I declined the https://bitbucket.org/birkenfeld/sphinx/pull-request/237 for py26 and py3.) |
From Takayuki Shimizukawa on 2014-05-24 16:29:57+00:00 Merged in shimizukawa/sphinx-use-six (https://bitbucket.org/birkenfeld/sphinx/pull-request/238) using six package for py2/3 compatibility without 2to3. refs #1350 → <<cset 80fd0f7>> |
From Takayuki Shimizukawa on 2014-05-24 16:29:57+00:00 use six privided functions/classes to support py2/py3 in one source. refs #1350 → <> |
From Takayuki Shimizukawa on 2014-05-24 16:29:57+00:00 use six privided iteritems(),itervalues() to support py2/py3 in one source. refs #1350. → <> |
From Takayuki Shimizukawa on 2014-05-24 16:29:57+00:00 use six privided functions/classes to support py2/py3 in one source. refs #1350. → <> |
From Takayuki Shimizukawa on 2014-05-24 16:29:57+00:00 Merged in shimizukawa/sphinx-use-six (https://bitbucket.org/birkenfeld/sphinx/pull-request/238) using six package for py2/3 compatibility without 2to3. refs #1350 → <<cset 80fd0f7>> |
From Takayuki Shimizukawa on 2014-05-24 16:37:28+00:00 I created a https://bitbucket.org/birkenfeld/sphinx/pull-request/243 as native support py2/py3 without 2to3. Please review it. |
From Takayuki Shimizukawa on 2014-05-27 14:01:42+00:00 Merged in shimizukawa/sphinx-py3-native (https://bitbucket.org/birkenfeld/sphinx/pull-request/243) native py2/py3 support without 2to3. refs #1350 → <> |
From Takayuki Shimizukawa on 2014-05-27 14:01:42+00:00 Merged in shimizukawa/sphinx-py3-native (https://bitbucket.org/birkenfeld/sphinx/pull-request/243) native py2/py3 support without 2to3. refs #1350 → <> |
From Takayuki Shimizukawa on 2014-05-27 14:23:56+00:00
Pygments-2.0 will drop Python-3.2. We decided to drop the Python-3.2. see also https://bitbucket.org/birkenfeld/sphinx/pull-request/243/native-py2-py3-support-without-2to3-refs → <<cset 6746c83>> |
using six package for py2/3 compatibility without 2to3. refs #1350
native py2/py3 support without 2to3. refs #1350
…n completed. Closes #1350. Pygments-2.0 will drop Python-3.2. The snowballstemmer package that is referred from sphinx-1.3 (that is merged at pull request #214) has not supported Python-3.2. We decided to drop the Python-3.2. see also https://bitbucket.org/birkenfeld/sphinx/pull-request/243/native-py2-py3-support-without-2to3-refs
There is some way to complete to drop 2to3.
(see also #1220 discussion)
The text was updated successfully, but these errors were encountered: