﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
8284	raw_input broken in eclipse	adamlofts	nobody	"There are a few constructs in django like

{{{
response = raw_input()
if response == 'yes':
 do_stuff()
}}}

In eclipse on windows the '\r' is not stripped out of the string so the equality fails ('yes' != 'yes\r'). This means django refuses to delete my test database if i abort the tests in the middle. See: http://mail.python.org/pipermail/python-list/2008-March/482847.html

I suggest something like:

{{{
def _django_raw_input():
  return raw_input.replace('\r', '')
raw_input = _django_raw_input
}}}

I will write a patch if someone recommends the correct solution.
"		closed	Uncategorized	dev		wontfix			Unreviewed	0	0	0	0	0	0
