[issue3239] curses/textpad.py incorrectly and redundantly imports ascii

2008-07-05 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Commited in r64746. Thank you!! -- resolution: -> accepted status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3239] curses/textpad.py incorrectly and redundantly imports ascii

2008-07-01 Thread Georgij Kondratjev
Georgij Kondratjev <[EMAIL PROTECTED]> added the comment: >>> import curses.ascii as curses_ascii If you like curses_ascii you would probably like curses.ascii :) so here is the patch. I tested it with module built-in testing facility (if __name__ == '__main__') but didn't run other tests. Patc

[issue3239] curses/textpad.py incorrectly and redundantly imports ascii

2008-06-30 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Ah, I now understand what you mean. The best, IMO, to avoid the confusion in the import and in the usage, is to do: >>> import curses.ascii as curses_ascii Do you care to send a patch? Thank you! -- assignee: -> facundobatista r

[issue3239] curses/textpad.py incorrectly and redundantly imports ascii

2008-06-29 Thread Georgij Kondratjev
Georgij Kondratjev <[EMAIL PROTECTED]> added the comment: Or is it possible/better to use relative import? ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3239] curses/textpad.py incorrectly and redundantly imports ascii

2008-06-29 Thread Georgij Kondratjev
Georgij Kondratjev <[EMAIL PROTECTED]> added the comment: Sorry, I didn't not distinguish between curses module ascii and built-in function ascii. "import curses.ascii as ascii" works. Is this a good fix? ___ Python tracker <[EMAIL PROTECTED]>

[issue3239] curses/textpad.py incorrectly and redundantly imports ascii

2008-06-29 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: The ascii module is used all around the file... if you don't import it, how would you use that functionality? -- nosy: +facundobatista resolution: -> invalid status: open -> closed ___ Python tra

[issue3239] curses/textpad.py incorrectly and redundantly imports ascii

2008-06-29 Thread Georgij Kondratjev
New submission from Georgij Kondratjev <[EMAIL PROTECTED]>: Line 'import curses, ascii' should be replaced with 'import curses' -- components: Library (Lib) messages: 68969 nosy: orivej severity: normal status: open title: curses/textpad.py incorrectly and redundantly imports ascii versi