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

Unexpected keyword argument 'escape_newlines' #25

Closed
jenskutilek opened this issue May 9, 2024 · 1 comment
Closed

Unexpected keyword argument 'escape_newlines' #25

jenskutilek opened this issue May 9, 2024 · 1 comment

Comments

@jenskutilek
Copy link

The current release on pypi doesn't recognize the escape_newlines argument, added in November. Can we get a new release, please? :)

Python 3.12.0 (v3.12.0:0fb18b02c8, Oct  2 2023, 09:45:56) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin
>>> from openstep_plist import dump
>>> import codecs
>>> with codecs.open("test.glyphs", "wb", "utf-8") as f:
...     dump(["bla\n"], f, escape_newlines=False)
...
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
  File "src/openstep_plist/writer.pyx", line 598, in openstep_plist.writer.dump
TypeError: dump() got an unexpected keyword argument 'escape_newlines'
@anthrotype
Copy link
Member

sorry for the long wait, this must have slipped while I was on pat leave this year.
I just pushed https://github.com/fonttools/openstep-plist/releases/tag/v0.4.0 which will also include wheels for python 3.13.

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

No branches or pull requests

2 participants