pidelport / backports.tempfile Goto Github PK
View Code? Open in Web Editor NEWBackports of new features in Python's tempfile module
License: Other
Backports of new features in Python's tempfile module
License: Other
Hello,
I noticed a tempfile backport has been started, but that it has only defined NamedDirectory. Kind of random, but -- I would really appreciate it if you (whoever is in charge of this backport) would consider backporting the TemporaryFile & its subclasses like NamedTemporaryFile, etc. The feature that I am really missing our in Python2.7 & and am wanting, is the ability to specify an encoding, as is possible in py2 with codecs.open, io.open, etc., and in py3 with all file-writing utilities, including tempfile.
Thanks much!
Pull requests here are not getting attention. I have two open that have no reply in almost six months. Other people have had similar experiences. I suspect it will only get worse after 2020, when Python 2 is officially killed. The ongoing maintenance of these backports should not be stopped at that time, if there is a community of users still wanting them, and willing to assist.
I noticed at #4 (comment) that @PiDelport said they were open to the idea of these backports being transfered to @jazzband . I think that would be a good idea. It would then join similar backports like https://github.com/jazzband/contextlib2 (ping @ncoghlan).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.