Skip to content
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

py3 issue in emitter.py #118

Closed
cmbant opened this issue Jan 3, 2018 · 1 comment
Closed

py3 issue in emitter.py #118

cmbant opened this issue Jan 3, 2018 · 1 comment
Labels

Comments

@cmbant
Copy link

cmbant commented Jan 3, 2018

The code at https://github.com/yaml/pyyaml/blob/master/lib/yaml/emitter.py#L614 does not appear to be py3 compatible, giving errors like

TypeError: ord() expected string of length 1, but int found

when called on a string containing an extended character like "<".

scauligi pushed a commit to scauligi/pyyaml that referenced this issue Feb 4, 2018
ingydotnet pushed a commit that referenced this issue Feb 23, 2019
ingydotnet pushed a commit that referenced this issue Feb 28, 2019
@perlpunk
Copy link
Member

fixed by #129

clrpackages pushed a commit to clearlinux-pkgs/PyYAML that referenced this issue Apr 4, 2019
Alex Gaynor (4):
      Make pyyaml safe by default.
      wtf, how did this typo happen
      Now, for py3k!
      Changes for 4.1 release

Andrey Somov (1):
      Remove redundant code in Scanner.peek_token()

Anthony Sottile (1):
      Install cython alongside tox

Daniel Beer (1):
      Allow colon in a plain scalar in a flow context (#45)

Donald Stufft (4):
      Add a tox.ini to run tests
      Ignore common build/runtime artifacts
      Add Travis Support
      Fallback to Pure Python if Compilation fails

Florian Bruhin (1):
      Import Hashable from collections.abc

Hugo (1):
      Test on Python 3.7-dev

Ian Cordasco (1):
      Install tox in a virtualenv

Ingy döt Net (6):
      Revert PR #150 per @asomov
      Changes for 4.01 release
      Reverting yaml/pyyaml#74
      Deprecate/warn usage of yaml.load(input)
      Update .travis.yml to use libyaml 0.2.2
      Updates for 5.1 release

Jakub Wilk (1):
      Fix typos

Jon Dufresne (5):
      Document and test Python 3.6 support
      Use Travis CI built in pip cache support
      Remove tox workaround for Travis CI
      Remove commented out Psyco code
      Include license file in the generated wheel package

Kirill Simonov (1):
      Added tag 3.12 for changeset 823acfc7b4ff

Matt Davis (2):
      Squash/merge pull request #105 from nnadeau/patch-1
      Windows Appveyor build

Peter Murphy (5):
      A change to a message
      First attack at pyyaml does not support literals in unicode over codepoint 0xffff #25
      Added emoticon test data files (which will probably break testing)
      Suspicious 'expected an exception' messages trimmed
      Reverting README to old copy

Timofei Bondarev (1):
      Improve RepresenterError creation

Tina Müller (7):
      Support escaped slash in double quotes "\/"
      Force cython when building sdist
      Build libyaml on travis
      Apply FullLoader/UnsafeLoader changes to lib3
      Allow to turn off sorting keys in Dumper
      Make default_flow_style=False
      Skip certain unicode tests when maxunicode not > 0xffff

hsmtkk (1):
      add 3.12 changelog

hugovk (1):
      Drop unsupported Python 3.3

psanchez (1):
      Resolves #57, update readme issues link

scauligi (1):
      Fix for bug yaml/pyyaml#118
clrpackages pushed a commit to clearlinux-pkgs/PyYAML that referenced this issue Aug 28, 2019
Alex Gaynor (4):
      Make pyyaml safe by default.
      wtf, how did this typo happen
      Now, for py3k!
      Changes for 4.1 release

Andrey Somov (1):
      Remove redundant code in Scanner.peek_token()

Anthony Sottile (1):
      Install cython alongside tox

Daniel Beer (1):
      Allow colon in a plain scalar in a flow context (#45)

Donald Stufft (4):
      Add a tox.ini to run tests
      Ignore common build/runtime artifacts
      Add Travis Support
      Fallback to Pure Python if Compilation fails

Florian Bruhin (1):
      Import Hashable from collections.abc

Hugo (1):
      Test on Python 3.7-dev

Ian Cordasco (1):
      Install tox in a virtualenv

Ingy döt Net (6):
      Revert PR #150 per @asomov
      Changes for 4.01 release
      Reverting yaml/pyyaml#74
      Deprecate/warn usage of yaml.load(input)
      Update .travis.yml to use libyaml 0.2.2
      Updates for 5.1 release

Jakub Wilk (1):
      Fix typos

Jon Dufresne (5):
      Document and test Python 3.6 support
      Use Travis CI built in pip cache support
      Remove tox workaround for Travis CI
      Remove commented out Psyco code
      Include license file in the generated wheel package

Kirill Simonov (1):
      Added tag 3.12 for changeset 823acfc7b4ff

Matt Davis (4):
      Squash/merge pull request #105 from nnadeau/patch-1
      Windows Appveyor build
      changes for 5.1.1 release
      changes for 5.1.2 release

Peter Murphy (5):
      A change to a message
      First attack at pyyaml does not support literals in unicode over codepoint 0xffff #25
      Added emoticon test data files (which will probably break testing)
      Suspicious 'expected an exception' messages trimmed
      Reverting README to old copy

Timofei Bondarev (1):
      Improve RepresenterError creation

Tina Müller (7):
      Support escaped slash in double quotes "\/"
      Force cython when building sdist
      Build libyaml on travis
      Apply FullLoader/UnsafeLoader changes to lib3
      Allow to turn off sorting keys in Dumper
      Make default_flow_style=False
      Skip certain unicode tests when maxunicode not > 0xffff

hsmtkk (1):
      add 3.12 changelog

hugovk (1):
      Drop unsupported Python 3.3

psanchez (1):
      Resolves #57, update readme issues link

scauligi (1):
      Fix for bug yaml/pyyaml#118
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants