[issue12004] PyZipFile.writepy gives internal error on syntax errors

2013-01-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for the patch. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue12004] PyZipFile.writepy gives internal error on syntax errors

2013-01-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3a1ac42435f9 by Serhiy Storchaka in branch '3.2': Issue #12004: Fix an internal error in PyZipFile when writing an invalid http://hg.python.org/cpython/rev/3a1ac42435f9 New changeset 678320c7f63d by Serhiy Storchaka in branch '3.3': Issue #12004: Fi

[issue12004] PyZipFile.writepy gives internal error on syntax errors

2013-01-11 Thread Ben Morgan
Ben Morgan added the comment: I've sent it again. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue12004] PyZipFile.writepy gives internal error on syntax errors

2013-01-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ben, can you please resend your agreement? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12004] PyZipFile.writepy gives internal error on syntax errors

2012-12-30 Thread Ben Morgan
Ben Morgan added the comment: Okay, I've emailed a contributor agreement. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue12004] PyZipFile.writepy gives internal error on syntax errors

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12004] PyZipFile.writepy gives internal error on syntax errors

2012-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ben Morgan, can you please submit a contributor form? http://python.org/psf/contrib/contrib-form/ http://python.org/psf/contrib/ -- ___ Python tracker __

[issue12004] PyZipFile.writepy gives internal error on syntax errors

2012-12-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patches look good to me, except that `self.assertIn('mod1.py', names)` can be used instead `self.assertTrue('mod1.py' in names)`. -- nosy: +alanmcintyre, serhiy.storchaka stage: -> commit review versions: +Python 3.2, Python 3.3, Python 3.4

[issue12004] PyZipFile.writepy gives internal error on syntax errors

2011-05-05 Thread Ben Morgan
Ben Morgan added the comment: I've attached a patch to test_zipfile.py. I noticed that it writes out the error to stdout not stderr; I don't know if this is the desired behaviour. -- Added file: http://bugs.python.org/file21903/test-zipfile.patch __

[issue12004] PyZipFile.writepy gives internal error on syntax errors

2011-05-05 Thread Eric V. Smith
Eric V. Smith added the comment: Could you incorporate the test into Lib/test/test_zipfile? Thanks! -- components: +Library (Lib) nosy: +eric.smith ___ Python tracker ___ _

[issue12004] PyZipFile.writepy gives internal error on syntax errors

2011-05-04 Thread Ben Morgan
Changes by Ben Morgan : -- keywords: +patch Added file: http://bugs.python.org/file21889/pyzipfile-error.patch ___ Python tracker ___

[issue12004] PyZipFile.writepy gives internal error on syntax errors

2011-05-04 Thread Ben Morgan
New submission from Ben Morgan : PyZipFile.writepy gives internal error on syntax errors in files it processes. For example, in the attached test case: Traceback (most recent call last): File "C:\tfs\SDKS\python\Python32\lib\py_compile.py", line 119, in compile optimize=optimize) File "t