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 brett.cannon
Recipients alexandre.vassalotti, amaury.forgeotdarc, benjamin.peterson, brett.cannon, rupole
Date 2008-08-25.17:52:21
SpamBayes Score 8.9613364e-05
Marked as misclassified No
Message-id <bbaeab100808251052j4942fef9sd724f67a4f3228e8@mail.gmail.com>
In-reply-to <1afaf6160808251049n4e3b101g81160fa41daacf70@mail.gmail.com>
Content
On Mon, Aug 25, 2008 at 10:49 AM, Benjamin Peterson
<report@bugs.python.org> wrote:
>
> Benjamin Peterson <musiccomposition@gmail.com> added the comment:
>
> On Mon, Aug 25, 2008 at 12:48 PM, Brett Cannon <report@bugs.python.org> wrote:
>>
>> Brett Cannon <brett@python.org> added the comment:
>>
>> On Mon, Aug 25, 2008 at 6:40 AM, Benjamin Peterson
>> <report@bugs.python.org> wrote:
>>>
>>> Benjamin Peterson <musiccomposition@gmail.com> 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?
>>

Sorry, replied to the wrong email. It was meant as a reply to Amaury's
suggestion of writing out a comment that importing site failed to
stderr.
History
Date User Action Args
2008-08-25 17:52:22brett.cannonsetrecipients: + brett.cannon, amaury.forgeotdarc, rupole, alexandre.vassalotti, benjamin.peterson
2008-08-25 17:52:21brett.cannonlinkissue3279 messages
2008-08-25 17:52:21brett.cannoncreate