[Python-Dev] Ext4 data loss (original) (raw)
Scott Dial scott+python-dev at scottdial.com
Wed Mar 11 16:38:26 CET 2009
- Previous message: [Python-Dev] Ext4 data loss
- Next message: [Python-Dev] Ext4 data loss
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Aahz wrote:
On Wed, Mar 11, 2009, Antoine Pitrou wrote:
After Hrvoje's message, let me rephrase my suggestion. Let's instead allow: open(..., syncon="close") open(..., syncon="flush")
with a default of None meaning no implicit syncs. That looks good, though I'd prefer using named constants rather than strings.
I would agree, but where do you put them? Since open is a built-in, where would you suggest placing such constants (assuming we don't want to pollute the built-in namespace)?
-- Scott Dial scott at scottdial.com scodial at cs.indiana.edu
- Previous message: [Python-Dev] Ext4 data loss
- Next message: [Python-Dev] Ext4 data loss
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]