Message180086
| 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>
> _______________________________________
> |
|