This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author benjamin.peterson
Recipients alexandre.vassalotti, amaury.forgeotdarc, benjamin.peterson, brett.cannon, rupole
Date 2008-08-25.17:49:33
SpamBayes Score 2.6785345e-05
Marked as misclassified No
Message-id <[email protected]>
In-reply-to <[email protected]>
Content
On Mon, Aug 25, 2008 at 12:48 PM, Brett Cannon <[email protected]> wrote:
>
> Brett Cannon <[email protected]> added the comment:
>
> On Mon, Aug 25, 2008 at 6:40 AM, Benjamin Peterson
> <[email protected]> wrote:
>>
>> Benjamin Peterson <[email protected]> added the comment:
>>
>> We could:
>>
>> 1. Use _fileio._FileIO directly.
>> 2. Use os.open.
>> 3. Initialize the stdio streams before importing site. This seems like
>> the best option, although I haven't run all the tests yet.
>>
>
> Or you could use _warnings which is already compiled into the binary.

How would that help the problem of site using open() when it can't?
>
> _______________________________________
> Python tracker <[email protected]>
> <http://bugs.python.org/issue3279>
> _______________________________________
>

-- 
Cheers,
Benjamin Peterson
"There's no place like 127.0.0.1."
History
Date User Action Args
2008-08-25 17:49:35benjamin.petersonsetrecipients: + benjamin.peterson, brett.cannon, amaury.forgeotdarc, rupole, alexandre.vassalotti
2008-08-25 17:49:34benjamin.petersonlinkissue3279 messages
2008-08-25 17:49:33benjamin.petersoncreate