Skip to content

Conversation

@alemigo
Copy link
Contributor

@alemigo alemigo commented Oct 25, 2018

Async tempfile implementation following the existing structure, with a bit extra for SpooledTemporaryFile where delegation is not required unless the in-memory stream is rolled to disk.

damb pushed a commit to EIDA/eidaws that referenced this pull request Mar 19, 2020
The implementation is based on the following PRs:

  - Tinche/aiofiles#32
  - Tinche/aiofiles#56

The code uses aiofiles internals.
damb pushed a commit to EIDA/eidaws that referenced this pull request Mar 19, 2020
The implementation is based on the following PRs:

  - Tinche/aiofiles#32
  - Tinche/aiofiles#56

The code uses aiofiles internals.
@bitnom
Copy link

bitnom commented May 6, 2020

Can you please fix the conflict if you have time? We need a tempfile rolled in. It's been years since adding it was first talked about. Seems like this one should have been merged.

@alemigo
Copy link
Contributor Author

alemigo commented May 6, 2020

@Tinche - do you have interest to add this? Can update the pull request and add testing if helpful

@alemigo
Copy link
Contributor Author

alemigo commented May 9, 2020

Can you please fix the conflict if you have time? We need a tempfile rolled in. It's been years since adding it was first talked about. Seems like this one should have been merged.

updated

@CMCDragonkai
Copy link

Any update on whether this fixes #20?

@alemigo
Copy link
Contributor Author

alemigo commented Sep 28, 2020

you can try https://github.com/alemigo/asynctempfile in the meantime

@CMCDragonkai
Copy link

I think this PR can be squashed to be ready for merge.

@wagnerflo
Copy link

Can a maintainer please confirm, that this will be merged so I can start using @alemigo's branch now and then switch back to a aiofiles release later?

@MajesticMullet
Copy link

Will this be merged soon?

@JavierMartinezAlc
Copy link

It will be really helpful if this is released

@alemigo
Copy link
Contributor Author

alemigo commented Feb 26, 2021

https://github.com/alemigo/asynctempfile is the same code for tempfile support as this PR

@Tinche
Copy link
Owner

Tinche commented Feb 26, 2021

Alright, since there's interest I can merge this in. But it needs tests first.

@alemigo
Copy link
Contributor Author

alemigo commented Feb 26, 2021

Alright, since there's interest I can merge this in. But it needs tests first.

Ok I will add

@Tinche
Copy link
Owner

Tinche commented Feb 26, 2021

Alright, since there's interest I can merge this in. But it needs tests first.

Ok I will add

Excellent, thanks. Also some documentation on how to use it would be cool.

Copy link
Owner

@Tinche Tinche left a comment

Choose a reason for hiding this comment

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

Looks good, left a couple of comments. Also the PR won't merge cleanly for me, might have to rebase on master. Thanks!

@alemigo
Copy link
Contributor Author

alemigo commented Mar 30, 2021

Looks good, left a couple of comments. Also the PR won't merge cleanly for me, might have to rebase on master. Thanks!

Thx - made the changes

@Tinche
Copy link
Owner

Tinche commented Mar 31, 2021

Looks good, thanks a lot!

@Tinche Tinche merged commit 597e2f9 into Tinche:master Mar 31, 2021
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.

7 participants