[issue18342] Use the repr of a module name for ModuleNotFoundError in ceval.c

2013-07-07 Thread Tomasz Maćkowiak
Tomasz Maćkowiak added the comment: Attached patch with renamed test methods (as per Brett's review). -- Added file: http://bugs.python.org/file30840/bug18342_4.patch ___ Python tracker

[issue18342] Use the repr of a module name for ModuleNotFoundError in ceval.c

2013-07-06 Thread Tomasz Maćkowiak
Tomasz Maćkowiak added the comment: Signed. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue18342] Use the repr of a module name for ModuleNotFoundError in ceval.c

2013-07-06 Thread Brett Cannon
Brett Cannon added the comment: Tomasz, can you sign the contributor agreement (http://python.org/psf/contrib/contrib-form/) so we can commit your code? -- ___ Python tracker __

[issue18342] Use the repr of a module name for ModuleNotFoundError in ceval.c

2013-07-06 Thread Tomasz Maćkowiak
Tomasz Maćkowiak added the comment: Attached a corrected patch with regexps modified. -- Added file: http://bugs.python.org/file30806/bug18342_3.patch ___ Python tracker ___

[issue18342] Use the repr of a module name for ModuleNotFoundError in ceval.c

2013-07-06 Thread STINNER Victor
STINNER Victor added the comment: The patch looks good to me. Just a minor nit: you should add ^ to the beginning of the regex. 2013/7/6 Tomasz Maćkowiak : > > Tomasz Maćkowiak added the comment: > > Attaching a modified patch with assertRaisesRegexp used. > > -- > Added file: http://bug

[issue18342] Use the repr of a module name for ModuleNotFoundError in ceval.c

2013-07-06 Thread Tomasz Maćkowiak
Tomasz Maćkowiak added the comment: Attaching a modified patch with assertRaisesRegexp used. -- Added file: http://bugs.python.org/file30796/bug18342_2.patch ___ Python tracker _

[issue18342] Use the repr of a module name for ModuleNotFoundError in ceval.c

2013-07-06 Thread Tomasz Maćkowiak
Tomasz Maćkowiak added the comment: Attaching a test case and a patch for formatting the module name with PyObject_Repr() not PyObject_Str(). -- keywords: +patch nosy: +kurazu Added file: http://bugs.python.org/file30794/bug18342.patch ___ Python tra

[issue18342] Use the repr of a module name for ModuleNotFoundError in ceval.c

2013-07-03 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue18342] Use the repr of a module name for ModuleNotFoundError in ceval.c

2013-07-01 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue18342] Use the repr of a module name for ModuleNotFoundError in ceval.c

2013-07-01 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue18342] Use the repr of a module name for ModuleNotFoundError in ceval.c

2013-07-01 Thread Brett Cannon
New submission from Brett Cannon: >>> from re import bogus Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: cannot import name bogus Should have 'bogus' using the repr to match the other cases of ModuleNotFoundError -- assignee: brett.cannon components: In