[issue4845] warnings system and inspect module disagree about

2009-01-05 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: After updating the patch there so that it can be applied, it does seem to address my issue. I added a comment there. ___ Python tracker ___ ___

[issue4845] warnings system and inspect module disagree about

2009-01-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: This is a duplicate of issue1180193. Does the patch there correct your problem? -- nosy: +amaury.forgeotdarc resolution: -> duplicate status: open -> closed superseder: -> broken pyc files ___ Python tracker

[issue4845] warnings system and inspect module disagree about

2009-01-05 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Perhaps even more disconcerting is the disagreement between inspect.getabsfile(f) and inspect.getabsfile(inspect.getmodule(f)). The latter agrees with the warnings system, unlike the former which just looks at the filename in the .pyc. ___

[issue4845] warnings system and inspect module disagree about

2009-01-05 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : Here's a transcript demonstrating the disagreement: exar...@charm:~$ mkdir warningexample exar...@charm:~$ cd warningexample/ exar...@charm:~/warningexample$ mkdir foo exar...@charm:~/warningexample$ touch foo/__init__.py exar...@charm:~/warnin