Skip to content

Conversation

@xzy3
Copy link

@xzy3 xzy3 commented Jul 10, 2020

Adding __next__ to _TemporaryFileWrapper so that NamedTemporaryFile acts more like a file object. Currently result of NamedTemporaryFile is not its own iterator.

https://bugs.python.org/issue41270

@the-knights-who-say-ni
Copy link

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA).

Recognized GitHub username

We couldn't find a bugs.python.org (b.p.o) account corresponding to the following GitHub usernames:

@xzy3

This might be simply due to a missing "GitHub Name" entry in one's b.p.o account settings. This is necessary for legal reasons before we can look at this contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

You can check yourself to see if the CLA has been received.

Thanks again for the contribution, we look forward to reviewing it!

@xzy3 xzy3 changed the title Added __next__ to _TemporaryFileWrapper bpo-41270 Added __next__ to _TemporaryFileWrapper Jul 10, 2020
@xzy3
Copy link
Author

xzy3 commented Oct 13, 2020

@kk456852 it looks like the Travis CI update was missed. It looks like it's succeeded, but the status still says it's pending.

pablogsal and others added 18 commits October 17, 2020 21:30
Currently, empty sequences in gather rules make the conditional for
gather rules fail as empty sequences evaluate as "False". We need to
explicitly check for "None" (the failure condition) to avoid false
negatives.
Partially revert commit 71d1bd9:
don't use multi-phase initialization (PEP 489) for the _signal
extension module.
…thonGH-21999)

It contains now the name of the parameter instead of its index when parameters
are supplied as a dict.
…ythonGH-22098)

Also fixes the error message returned when sysconfig fails to interpolate a variable correctly.
Fixes incorrect Python version added for `venv` `--upgrade-deps` in python#13100. This feature was added in Python 3.9 not 3.8.

Relates to:

- 
- python@1cba1c9

Automerge-Triggered-By: @vsajip
…1818)

Port the _sha1, _sha512, and _md5 extension modules
to multi-phase initialization API (PEP 489).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.