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 Ramchandra Apte
Recipients Ramchandra Apte, eric.araujo, ericlammerts, r.david.murray
Date 2013-01-16.12:29:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAExgZOjuPkE5gBuxWKOqit87UrqUXjYhENQ1bCbRHrDv4DzPeg@mail.gmail.com>
In-reply-to <1358338389.97.0.292712760089.issue16974@psf.upfronthosting.co.za>
Content
+1

On 16 January 2013 17:43, R. David Murray <report@bugs.python.org> wrote:

>
> R. David Murray added the comment:
>
> Ideally there would be an unambiguous way to know if the object came from
> a file or some other source (say, __file__ is None and another special
> attribute gives the clue to the actual source), but that's not the way
> things work now, and for backward compatibility reasons I doubt that we can
> change it.  I'm sure there are programs that depend on at least '<string>',
> if not some of the other places where a similar thing is done.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue16974>
> _______________________________________
>
History
Date User Action Args
2013-01-16 12:29:31Ramchandra Aptesetrecipients: + Ramchandra Apte, eric.araujo, r.david.murray, ericlammerts
2013-01-16 12:29:31Ramchandra Aptelinkissue16974 messages
2013-01-16 12:29:31Ramchandra Aptecreate