mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-12 16:32:10 -05:00
Closes #1070: Avoid un-pickling issues under Python 3 when accessing doctrees saved under Python 2.
This commit is contained in:
1 parent
61e951d2ed
commit
e26b02e23e
2 files changed
+4
-1
No files matched your search
@@ -1,6 +1,9 @@
|
|||||||
Release 1.2 (in development)
|
Release 1.2 (in development)
|
||||||
============================
|
============================
|
||||||
|
|
||||||
|
* #1070: Avoid un-pickling issues when running Python 3 and the saved
|
||||||
|
environment was created under Python 2.
|
||||||
|
|
||||||
* #1069: Fixed error caused when autodoc would try to format signatures of
|
* #1069: Fixed error caused when autodoc would try to format signatures of
|
||||||
"partial" functions without keyword arguments (patch by Artur Gaspar).
|
"partial" functions without keyword arguments (patch by Artur Gaspar).
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ default_settings = {
|
|||||||
|
|
||||||
# This is increased every time an environment attribute is added
|
# This is increased every time an environment attribute is added
|
||||||
# or changed to properly invalidate pickle files.
|
# or changed to properly invalidate pickle files.
|
||||||
ENV_VERSION = 42
|
ENV_VERSION = 42 + (sys.version_info[0] - 2)
|
||||||
|
|
||||||
|
|
||||||
default_substitutions = set([
|
default_substitutions = set([
|
||||||
|
|||||||
Reference in new issue
Block a user