Changes by Christian Heimes li...@cheimes.de:
--
versions: +Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10760
___
___
Guy Rozendorn added the comment:
Here's a test case that re-creates this issue.
I chose to use mocks instead of sample files from sysfs so it would be simpler
to run, it can be easily changed to use a file from sysfs.
The following code runs on Python2.7, requires the mock library
{code}
from
Changes by Terry J. Reedy tjre...@udel.edu:
--
stage: - test needed
versions: +Python 2.7 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10760
___
Changes by Guy Rozendorn g...@rzn.co.il:
--
nosy: +guyrozendorn
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10760
___
___
Python-bugs-list
Changes by Lars Gustäbel l...@gustaebel.de:
--
assignee: - lars.gustaebel
components: +Library (Lib) -None
nosy: +lars.gustaebel
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10760
___
New submission from Yoni Tsafir yonix85+pyt...@gmail.com:
When I try to add a special file from sys, e.g.:
/sys/class/scsi_host/host0/cmd_per_lun (which is reported of size 4096 but
actually reading it will return only several bytes of a result), I get the
following exception:
Traceback (most