setup.py register bails

Bug #361801 reported by debatem1
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python3.0 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python3.0

When running setup.py register to register a package with PyPI, the script bails, saying that raw_input requires exactly one argument, with zero recieved. This is because in /usr/lib/python3.0/distutils/command/register.py there is a reimplementation of the raw_input(prompt) function, which was removed from python3.0 and replaced with input(). However, the cause of the problem is that raw_input() did not require an argument, while its reimplementation does. Since, on line 157 of that file, raw_input is called without arguments, the script bails horribly. Replacement of all occurrences of raw_input with input and removing the extraneous function seems to do the job in fixing it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.