This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients amathew, hfischer, r.david.murray, terry.reedy
Date 2013-04-28.13:11:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367154715.34.0.496913968395.issue12220@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the patch.  It would be nice to have a test before we commit this.  The tests should use assertRaisesRegex to look for something specific to this error...probably the word 'syntax'...in the error text.

On the other hand, if the spaces are technically legal, is calling it a syntax error appropriate?  Perhaps the message should instead say something like "spaces in URIs is not supported"?
History
Date User Action Args
2013-04-28 13:11:55r.david.murraysetrecipients: + r.david.murray, terry.reedy, hfischer, amathew
2013-04-28 13:11:55r.david.murraysetmessageid: <1367154715.34.0.496913968395.issue12220@psf.upfronthosting.co.za>
2013-04-28 13:11:55r.david.murraylinkissue12220 messages
2013-04-28 13:11:55r.david.murraycreate