Gregory P. Smith <g...@krypto.org> added the comment:

this is probably somewhat of an edge case.  filesystems are presumably free to 
have their own concepts of granularity on size limit enforcement.

zfs may become more popular in future ubuntu versions as they're offering it as 
a supported primary whole system filesystem.  but zfs is also highly 
configurable so it likely isn't accurate to just say "zfs" caused this.

that test appears to be setting RLIMIT_FSIZE to 1024 and creating a 1024 byte 
file.  this could be an edge case, either in our understanding (the limit can 
never be reached or the limit can be exactly reached?) or in the filesystem's 
interpretation of that.  my understanding is that it is supposed to be 
inclusive.  RLIMIT_FSIZE 1024 should allow 1024 byte files.

but for such small unrealistic real world values i can easily imagine 
filesystems being creative...  people tend not to expect these limits to be so 
strict.

that test could use refactoring to rely less on strict limits.  that isn't what 
it was aiming to test.

----------
nosy: +gregory.p.smith
status: pending -> open

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31000>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to