Re: [PATCH 5 of 5] statfs: make getfstype() raise OSError

2017-03-27 Thread Augie Fackler
On Sat, Mar 25, 2017 at 07:38:51PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1490430323 -32400 > # Sat Mar 25 17:25:23 2017 +0900 > # Node ID 05dc34258f021523bc1de5c403f671fa4d1b9905 > # Parent

Re: [PATCH 5 of 5] statfs: make getfstype() raise OSError

2017-03-25 Thread Jun Wu
The series makes the CPython code cleaner. Marked as prereviewed. I was making "getfstype" a pure C function, so it's possible to be reused directly for non-cpython code (as a side effect, it does not have Python error handling). The new "describefstype" provides enough support if we want a pure

[PATCH 5 of 5] statfs: make getfstype() raise OSError

2017-03-25 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1490430323 -32400 # Sat Mar 25 17:25:23 2017 +0900 # Node ID 05dc34258f021523bc1de5c403f671fa4d1b9905 # Parent 69a0abd9c61f0dae12d60b4f6fd4ada8288bd451 statfs: make getfstype() raise OSError It's better for getfstype()