Message180086
+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>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2013-01-16 12:29:31 | Ramchandra Apte | set | recipients:
+ Ramchandra Apte, eric.araujo, r.david.murray, ericlammerts |
2013-01-16 12:29:31 | Ramchandra Apte | link | issue16974 messages |
2013-01-16 12:29:31 | Ramchandra Apte | create | |
|