Message95911
(patch attached: explicit signature)
I vote +1 for something more explicit.
« Explicit is better than implicit. »
>>> help(open)
Help on built-in function open in module io:
open(...)
open(file_name_or_path) -> file object for reading in text mode
open(file_name_or_path, mode=binary_mode[, buffering]) -> file objec
open(file_name_or_path[, mode=text_mode[, buffering[, encoding
[, errors[, newline]]]]]) -> file object
open(file_descriptor[, ...[, closefd]]) -> file object
Open file and return a stream. Raise IOError upon failure.
file_name_or_path is either a text or byte string giving the name
(and the path if the file isn't in the current working directory)
of the file to be opened.
file_descriptor is an integer file descriptor of the file to be
wrapped. The file descriptor is closed when the returned I/O object
is closed, unless closefd is set to False.)
mode is an optional string that specifies the mode in which the file
is opened... |
|
Date |
User |
Action |
Args |
2009-12-02 16:06:30 | flox | set | recipients:
+ flox, georg.brandl, pitrou, englabenny |
2009-12-02 16:06:30 | flox | set | messageid: <1259769990.39.0.639942602631.issue7417@psf.upfronthosting.co.za> |
2009-12-02 16:06:28 | flox | link | issue7417 messages |
2009-12-02 16:06:28 | flox | create | |
|