[issue12780] Clean up tests for pyc/pyo in __file__

2014-10-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1745fd612d73 by R David Murray in branch '3.4': #12780: update inspect test skipIf for PEP 3147. https://hg.python.org/cpython/rev/1745fd612d73 New changeset 8120de25932f by R David Murray in branch 'default': Merge: #12780: update inspect test

[issue12780] Clean up tests for pyc/pyo in __file__

2014-10-03 Thread R. David Murray
R. David Murray added the comment: It is not true that __file__ will always end with '.py'. If *only* the .pyc or .pyo file exists (not the PEP 3147 version, but just modname.pyc on the pythonpath), then __file__ will end with .pyc. It is also the case that __file__ may end with something

[issue12780] Clean up tests for pyc/pyo in __file__

2011-11-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Seems reasonable to me. When did/does unicodedata ever have a __file__ attribute? No idea. Maybe it has to do with static vs. dynamic linking? Or alternate VMs? -- ___ Python tracker

[issue12780] Clean up tests for pyc/pyo in __file__

2011-08-22 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: Seems reasonable to me. When did/does unicodedata ever have a __file__ attribute? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12780

[issue12780] Clean up tests for pyc/pyo in __file__

2011-08-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Barry, could you review the second part of the patch? (the first was committed) -- nosy: +barry versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12780

[issue12780] Clean up tests for pyc/pyo in __file__

2011-08-19 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 98d13885a574 by Vinay Sajip in branch '3.2': Issue #12780: Removed checks in logging for .pyc/.pyo in __file__. http://hg.python.org/cpython/rev/98d13885a574 New changeset ac0c04d8eafb by Vinay Sajip in branch

[issue12780] Clean up tests for pyc/pyo in __file__

2011-08-18 Thread Éric Araujo
New submission from Éric Araujo mer...@netwok.org: After PEP 3147, __file__ always points to the py file, not pyc/pyo. I found two instances of obsolete code. -- files: fix-11599.diff keywords: patch messages: 142375 nosy: benjamin.peterson, eric.araujo, vinay.sajip priority: normal

[issue12780] Clean up tests for pyc/pyo in __file__

2011-08-18 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file22940/fix-11599.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12780 ___

[issue12780] Clean up tests for pyc/pyo in __file__

2011-08-18 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Added file: http://bugs.python.org/file22941/__file__-cant-contain-pyc-in-3.2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12780 ___