[issue21360] mailbox.Maildir should ignore files named with a leading dot

2014-04-26 Thread Lars Wirzenius
New submission from Lars Wirzenius: The maildir format specification (see http://cr.yp.to/proto/maildir.html) is clear that files named with leading dots should be ignore: Unless you're writing messages to a maildir, the format of a unique name is none of your business. A unique name can

[issue12350] Improve stat_result.st_blocks and st_blksize documentation

2011-06-17 Thread Lars Wirzenius
Lars Wirzenius l...@liw.fi added the comment: Right. So I guess at least the following should be changed (I'll make an actual patch once there's consensus): * st_blocks should say that the size of block is often 512 bytes, but that's not guaranteed, and there's no way to know for sure

[issue12350] Improve stat_result.st_blocks and st_blksize documentation

2011-06-16 Thread Lars Wirzenius
New submission from Lars Wirzenius l...@liw.fi: Attached patch adds a few words to the os.stat documentation for the st_blocks and st_blksize fields to clarify them. -- assignee: docs@python components: Documentation files: stat_result.patch keywords: patch messages: 138467 nosy: docs

[issue12350] Improve stat_result.st_blocks and st_blksize documentation

2011-06-16 Thread Lars Wirzenius
Lars Wirzenius l...@liw.fi added the comment: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/stat.h.html says A file system-specific preferred I/O block size for this object. In some file system types, this may vary from file to file., which says essentially the same as the Linux