geekcomputers/Python
+
( 2)
-
Sorry. This was an oversight in #449
Sorry if this may seem intrusive, I am a Computing Science student that has an assignment to proof read technical writing documents and submit edit requests. I need 10 approvals to pass my assignment, so if you feel these edits improve your document please confirm my pull request. Thank you and have a great day.
Just Practicing SORRY
Just Practicing SORRY
Although CPython will garbage collect the file object following the read operation, other implementations of Python may not. The file often is not immediately closed and is left to be disguarded at a later unknown point of execution. Additionally, in Python 3.2 or above the current implementation will throw a ResourceWarning exception which must otherwise be caught if enabled. Better safe than sorry.
|