[issue8942] __path__ attribute of modules loaded by zipimporter is untested
Tatiana Al-Chueyr added the comment: I'm working on it -- nosy: +tati_alchueyr ___ Python tracker <http://bugs.python.org/issue8942> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8942] __path__ attribute of modules loaded by zipimporter is untested
Tatiana Al-Chueyr added the comment: Improved test so the __path__ of a package loaded from a zip file, using zipimporter, is checked. -- keywords: +patch Added file: http://bugs.python.org/file24796/issue8942_test_for_zipimporter.patch ___ Python tracker <http://bugs.python.org/issue8942> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5758] fileinput.hook_compressed returning bytes from gz file
Tatiana Al-Chueyr added the comment: Working on this -- nosy: +tati_alchueyr ___ Python tracker <http://bugs.python.org/issue5758> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5758] fileinput.hook_compressed returning bytes from gz file
Tatiana Al-Chueyr added the comment: I had a lot of help of R. David Murray, could someone review our patch, please? We are specially concerned about backward compatibility. -- keywords: +patch Added file: http://bugs.python.org/file24807/issue5758_fileinput_gzip_with_encoding.patch ___ Python tracker <http://bugs.python.org/issue5758> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5758] fileinput.hook_compressed returning bytes from gz file
Tatiana Al-Chueyr added the comment: Excellent! Thanks for all remarks, Éric! I'll follow your suggestions and will submit a new patch. -- ___ Python tracker <http://bugs.python.org/issue5758> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5758] fileinput.hook_compressed returning bytes from gz file
Tatiana Al-Chueyr added the comment: Improved patch, according to eric.araujo's suggestions and mnewman's guidance. -- Added file: http://bugs.python.org/file24815/issue5758_fileinput_gzip_with_encoding_v2.patch ___ Python tracker <http://bugs.python.org/issue5758> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14062] UTF-8 Email Subject problem
Tatiana Al-Chueyr added the comment: Hi msladek! I tried to reproduce your bug using Python 3.2.2 on MacOS X, but didn't manage - all worked fine. I used gmail both to send and receive the message, on SSL: smtpPort = '465' smtpSrv = 'smtp.gmail.com' As I'm no SMPTP nor email expert, I asked r.david.murray to review the email message code received and it looks fine. Could you provide a smaller example of code that causes the same problem? I just extracted your code to help other people trying to reproduce the bug. It is attached. -- nosy: +tati_alchueyr Added file: http://bugs.python.org/file24823/issue14062_buggy_email_subject.py ___ Python tracker <http://bugs.python.org/issue14062> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15398] intermittence on UnicodeFileTests.test_rename at test_pep277 on MacOS X
Tatiana Al-Chueyr added the comment: I had the same problem here, after running several times... $ for i in {1..10}; do ./python.exe -m test test_pep277; done [1/1] test_pep277 test test_pep277 failed -- Traceback (most recent call last): File "/Users/tatiana/code/cpython/Lib/test/test_pep277.py", line 172, in test_rename os.rename("tmp", name) FileNotFoundError: [Errno 2] No such file or directory: '@test_6002_tmp/2_ascii' 1 test failed: test_pep277 [1/1] test_pep277 1 test OK. [1/1] test_pep277 1 test OK. [1/1] test_pep277 1 test OK. [1/1] test_pep277 1 test OK. [1/1] test_pep277 1 test OK. [1/1] test_pep277 test test_pep277 failed -- Traceback (most recent call last): File "/Users/tatiana/code/cpython/Lib/test/test_pep277.py", line 172, in test_rename os.rename("tmp", name) FileNotFoundError: [Errno 2] No such file or directory: '@test_6033_tmp/6_にぽん' 1 test failed: test_pep277 [1/1] test_pep277 1 test OK. [1/1] test_pep277 test test_pep277 failed -- Traceback (most recent call last): File "/Users/tatiana/code/cpython/Lib/test/test_pep277.py", line 172, in test_rename os.rename("tmp", name) FileNotFoundError: [Errno 2] No such file or directory: '@test_6041_tmp/8_曨曩曫' 1 test failed: test_pep277 [1/1] test_pep277 1 test OK. -- nosy: +tati_alchueyr ___ Python tracker <http://bugs.python.org/issue15398> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15398] intermittence on UnicodeFileTests.test_rename at test_pep277 on MacOS X
Tatiana Al-Chueyr added the comment: r.david.murray: yes, MacOS X 10.6.8 we managed to reproduce this in other 2 MacBook Pro 8.1. -- ___ Python tracker <http://bugs.python.org/issue15398> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9914] trace/profile conflict with the use of sys.modules[__name__]
Tatiana Al-Chueyr added the comment: Yesterday I've studied this problem with flavio.ribeiro, and we've started "solving" it. The result of our progress is available at: issue5758_trace_execute_other_modules_main_v0.patch The problem of our approach is that any code outside the condition "if __name__ == '__main__'" will be run twice, as we used imp.load_source to obtain trace's analyzed code and redefine sys.modules['__main__']. In order to provide a better solution, we were considering using lazy module import, e.g: http://code.activestate.com/recipes/473888-lazy-module-imports/ Any thoughts on this? -- keywords: +patch nosy: +tati_alchueyr Added file: http://bugs.python.org/file26451/issue5758_trace_execute_other_modules_main_v0.patch ___ Python tracker <http://bugs.python.org/issue9914> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17218] support title and description in argparse add_mutually_exclusive_group
Tatiana Al-Chueyr added the comment: My proposal is that both: - add_mutually_exclusive_group() - add_argument_group() print optional arguments in the same way when title and/or description are provided. I've attached a test case of the proposed behavior. Please, let me know if you have any objections or suggestions! :) I'm working on the implementation right now. Note: it is outside the existing Lib/test/test_argparse.py for clarifying the idea. BTW: thanks to r.david.murray for mentoring and discussing use cases! -- nosy: +paul.j3, r.david.murray, tati_alchueyr Added file: http://bugs.python.org/file34844/test_argparse_mutex_with_title.py ___ Python tracker <http://bugs.python.org/issue17218> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17218] support title and description in argparse add_mutually_exclusive_group
Changes by Tatiana Al-Chueyr : Removed file: http://bugs.python.org/file34844/test_argparse_mutex_with_title.py ___ Python tracker <http://bugs.python.org/issue17218> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17218] support title and description in argparse add_mutually_exclusive_group
Tatiana Al-Chueyr added the comment: uploading test file -- Added file: http://bugs.python.org/file34845/test_argparse_mutex_with_title.py ___ Python tracker <http://bugs.python.org/issue17218> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com