Skip to content

fix: #609 support for python 2.6 - #841

Closed
xanok wants to merge 1 commit into
python-openxml:masterfrom
xanok:fix/issue-609-support-for-python-2
Closed

xanok wants to merge 1 commit into
python-openxml:masterfrom
xanok:fix/issue-609-support-for-python-2

Conversation

@xanok

@xanok xanok commented Jul 9, 2020

Copy link
Copy Markdown

Backtrace of the issue:
from docx import Document
Traceback (most recent call last):
File , line 1, in
File /usr/lib/python2.6/site-packages/docx/init.py, line 3, in
from docx.api import Document # noqa
File /usr/lib/python2.6/site-packages/docx/api.py, line 14, in
from docx.package import Package
File /usr/lib/python2.6/site-packages/docx/package.py, line 9, in
from docx.opc.package import OpcPackage
File /usr/lib/python2.6/site-packages/docx/opc/package.py, line 116
partnames = {part.partname for part in self.iter_parts()}
^
SyntaxError: invalid syntax

Backtrace of the issue:
    from docx import Document
    Traceback (most recent call last):
    File , line 1, in
    File /usr/lib/python2.6/site-packages/docx/init.py, line 3, in
    from docx.api import Document # noqa
    File /usr/lib/python2.6/site-packages/docx/api.py, line 14, in
    from docx.package import Package
    File /usr/lib/python2.6/site-packages/docx/package.py, line 9, in
    from docx.opc.package import OpcPackage
    File /usr/lib/python2.6/site-packages/docx/opc/package.py, line 116
    partnames = {part.partname for part in self.iter_parts()}
    ^
    SyntaxError: invalid syntax
@xanok
xanok marked this pull request as draft August 27, 2020 12:58
@xanok
xanok marked this pull request as ready for review August 27, 2020 12:58
@xanok xanok closed this Mar 21, 2021
@xanok xanok reopened this Mar 21, 2021
@xanok

xanok commented Mar 21, 2021

Copy link
Copy Markdown
Author

@Ginkooo I cannot merge it, no write access. Could you merge it? Thanks

@xanok xanok closed this by deleting the head repository Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants