[issue3014] file_dealloc() assumes errno is set when EOF is returned

2021-06-14 Thread Irit Katriel
Change by Irit Katriel : -- stage: patch review -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue3014] file_dealloc() assumes errno is set when EOF is returned

2021-05-08 Thread Irit Katriel
Irit Katriel added the comment: I believe this is out of date - there is no longer file_dealloc or anything similar to the code in the report in fileobject.c -- nosy: +iritkatriel resolution: -> out of date status: open -> pending ___ Python

[issue3014] file_dealloc() assumes errno is set when EOF is returned

2018-03-12 Thread Sanyam Khurana
Change by Sanyam Khurana : -- keywords: +patch pull_requests: +5849 stage: -> patch review ___ Python tracker ___

[issue3014] file_dealloc() assumes errno is set when EOF is returned

2011-06-01 Thread Ralf Schmitt
Changes by Ralf Schmitt sch...@gmail.com: -- nosy: +schmir ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3014 ___ ___ Python-bugs-list mailing

[issue3014] file_dealloc() assumes errno is set when EOF is returned

2008-08-28 Thread Laszlo (Laca) Peter
Changes by Laszlo (Laca) Peter [EMAIL PROTECTED]: -- nosy: +laca ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3014 ___ ___ Python-bugs-list mailing

[issue3014] file_dealloc() assumes errno is set when EOF is returned

2008-08-28 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: The title of your bug report might be misleading. Is the problem that errno is misinterpreted in the error message, or that there is an error message at all? -- nosy: +pitrou priority: - normal versions: +Python 2.7 -Python 2.4

[issue3014] file_dealloc() assumes errno is set when EOF is returned

2008-08-28 Thread johansen
johansen [EMAIL PROTECTED] added the comment: The problem is present in Python 2.4.4, the version that we're using here. I'm not familiar with the versions keyword that's used here, but that's the version for which I'm reporting this bug. To be clear, the problem is that when file_dealloc()

[issue3014] file_dealloc() assumes errno is set when EOF is returned

2008-08-28 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Selon johansen [EMAIL PROTECTED]: The problem is present in Python 2.4.4, the version that we're using here. I'm not familiar with the versions keyword that's used here, but that's the version for which I'm reporting this bug. The only

[issue3014] file_dealloc() assumes errno is set when EOF is returned

2008-08-28 Thread johansen
johansen [EMAIL PROTECTED] added the comment: As I said before: check_and_flush calls ferror(3C) and then fflush(3C) on the FILE stream associated with the file object. There's just one problem here. If it finds an error that was previously encountered on the file stream, there's no

[issue3014] file_dealloc() assumes errno is set when EOF is returned

2008-08-28 Thread Antoine Pitrou
Changes by Antoine Pitrou [EMAIL PROTECTED]: -- nosy: -pitrou ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3014 ___ ___ Python-bugs-list mailing list

[issue3014] file_dealloc() assumes errno is set when EOF is returned

2008-05-30 Thread johansen
New submission from johansen [EMAIL PROTECTED]: We're using Python to build the new packaging system for OpenSolaris. Yesterday, a user reported that when they ran the pkg command, piped the output to grep, and then typed ^C, sometimes they'd get this error: $ pkg list | grep office ^Cclose