Skip to content

Commit 6c63c07

Browse files
committed
Merge branch 'v0.12.x'
Conflicts: README.rst
2 parents d3d4399 + fbd7beb commit 6c63c07

19 files changed

+83
-86
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ recursive-include docs *.inc
1111
recursive-include docs *.ipynb
1212
recursive-include docs *.png
1313
recursive-include docs *.py
14+
recursive-include docs *.rst
1415
recursive-include docs *.sh
1516
recursive-include docs *.tiff
1617
recursive-include docs *.txt

README.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,6 @@ the top of each module.
166166
In both cases, the result should be relatively clean Py3-style code that runs
167167
mostly unchanged on both Python 2 and Python 3.
168168

169-
.. _forwards-conversion:
170-
171169
Futurize: 2 to both
172170
~~~~~~~~~~~~~~~~~~~
173171

docs/changelog.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,8 @@ As usual, this feature has no effect on Python 3.
315315

316316

317317

318-
Utility functions raise_ and exec_
319-
----------------------------------
318+
Utility functions ``raise_`` and ``exec_``
319+
------------------------------------------
320320

321321
The functions ``raise_with_traceback()`` and ``raise_()`` were
322322
added to ``future.utils`` to offer either the Python 3.x or Python 2.x
@@ -463,19 +463,19 @@ v0.11.4:
463463

464464
v0.11.3:
465465
* The ``futurize`` and ``pasteurize`` scripts add an explicit call to
466-
``future.standard_library.install_hooks()`` whenever modules affected by PEP
467-
3108 are imported.
466+
``future.standard_library.install_hooks()`` whenever modules affected by
467+
PEP 3108 are imported.
468468

469469
* The ``future.builtins.bytes`` constructor now accepts ``frozenset``
470-
objects as on Py3.
470+
objects as on Py3.
471471

472472
v0.11.2:
473473
* The ``past.autotranslate`` feature now finds modules to import more
474-
robustly and works with Python eggs.
474+
robustly and works with Python eggs.
475475

476476
v0.11.1:
477477
* Update to ``requirements_py26.txt`` for Python 2.6. Small updates to
478-
docs and tests.
478+
docs and tests.
479479

480480
v0.11:
481481
* New ``past`` package with ``past.builtins`` and ``past.translation``

docs/contents.rst.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Contents:
1212
what_else
1313
automatic_conversion
1414
porting
15-
standard_library_incompatibilities
15+
stdlib_incompatibilities
1616
faq
1717
changelog
1818
credits

docs/conversion_limitations.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ Contributions to the ``lib2to3``-based fixers for ``futurize`` and
1515
``pasteurize`` are particularly welcome! Please see :ref:`contributing`.
1616

1717

18-
.. _futurize-limitations
18+
.. _futurize-limitations:
1919

2020
Known limitations
2121
-----------------
2222

23-
``futurize`` doesn't currently make this change automatically::
23+
``futurize`` doesn't currently make this change automatically:
2424

2525
1. Strings containing ``\U`` produce a ``SyntaxError`` on Python 3. An example is::
2626

docs/faq.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ fewer compatibility hacks.
234234

235235

236236
What is the relationship between ``python-future`` and ``python-modernize``?
237-
-----------------------------------------------------------------------
237+
----------------------------------------------------------------------------
238238

239239
``python-future`` contains, in addition to the ``future`` compatibility
240240
package, a ``futurize`` script that is similar to ``python-modernize.py``
@@ -257,7 +257,7 @@ Platform and version support
257257
.. _supported-versions:
258258

259259
Which versions of Python does ``python-future`` support?
260-
-------------------------------------------------
260+
--------------------------------------------------------
261261

262262
Python 2.6, 2.7, and 3.3+ only.
263263

@@ -289,7 +289,7 @@ and pull requests are welcome!
289289

290290

291291
Do you support IronPython and/or Jython?
292-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
292+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
293293

294294
Not sure. This would be nice...
295295

docs/features_incomplete.rst

Lines changed: 0 additions & 16 deletions
This file was deleted.

docs/imports.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Imports
44
=======
55

6-
.. ___future__-imports:
6+
.. _-__future__-imports:
77

88
__future__ imports
99
------------------

docs/pasteurize.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _backwards-conversion:
22

33
Pasteurize: 3 to both
4-
--------------------
4+
---------------------
55

66
Running ``pasteurize -w mypy3module.py`` turns this Python 3 code::
77

docs/roadmap.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@ futurize script
55
---------------
66

77
1. "Safe" mode -- from Py2 to modern Py2 or Py3 to more-compatible Py3
8+
89
- Split the fixers into two categories: safe and bold
910
- Safe is highly unlikely to break existing Py2 or Py3 support. The
1011
output of this still requires :mod:`future` imports. Examples:
11-
- Compatible metaclass syntax on Py3
12-
- Explicit inheritance from object on Py3
12+
13+
- Compatible metaclass syntax on Py3
14+
- Explicit inheritance from object on Py3
1315

1416
- Bold might make assumptions about which strings on Py2 should be
1517
unicode strings and which should be bytestrings.
18+
1619
- We should also build up a database of which standard library
1720
interfaces on Py2 and Py3 accept unicode strings versus
1821
byte-strings, which have changed, and which haven't.

0 commit comments

Comments
 (0)