Skip to content

bpo-15216: TextIOWrapper support set encoding, errors and newline after creation #199

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

Closed
wants to merge 1 commit into from

Conversation

methane
Copy link
Member

@methane methane commented Feb 20, 2017

{
PyObject *encoding = Py_None;
const char *errors = NULL;
const char *newline = (const char *)&newline; /* Unique non-NULL value */
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can I convert this hack into AC easily?

@methane methane changed the title bpo-15216: TextIOWrapper support set encoding, errors and newline after creation [wip] bpo-15216: TextIOWrapper support set encoding, errors and newline after creation Feb 20, 2017
@methane methane changed the title [wip] bpo-15216: TextIOWrapper support set encoding, errors and newline after creation bpo-15216: TextIOWrapper support set encoding, errors and newline after creation Feb 22, 2017
@methane
Copy link
Member Author

methane commented Feb 22, 2017

I gave up on using AC for set_encoding().

@methane methane force-pushed the set-encoding-after-creation branch from ec98cda to e7f16ac Compare March 16, 2017 07:43
@methane methane force-pushed the set-encoding-after-creation branch from e7f16ac to f5a2c5e Compare March 27, 2017 08:47
@methane methane closed this Jun 19, 2017
@methane methane deleted the set-encoding-after-creation branch January 29, 2018 06:05
akruis pushed a commit to akruis/cpython that referenced this pull request Jan 6, 2019
Remove an unused static function, add test cases and change-log.
akruis pushed a commit to akruis/cpython that referenced this pull request Jan 6, 2019
Remove an unused static function, add test cases and change-log.
akruis pushed a commit to akruis/cpython that referenced this pull request Jan 6, 2019
akruis pushed a commit to akruis/cpython that referenced this pull request Jan 12, 2019
Enable stackless calls of coroutines wrapped in "asyncio._CTask", if soft-switching is enabled.
pablogsal pushed a commit to pablogsal/cpython that referenced this pull request Nov 29, 2022
* Handle the case where raw-fstrings with curly braces crash

* Ensure we are not ignoring double brackets when skipping backslash

* Handle more variations of escapes in a tidier way for french strs

* Properly handle }} inside f-string format specifiers

* Update Parser/tokenizer.c
jaraco added a commit to jaraco/cpython that referenced this pull request Feb 17, 2023
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