Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #21868 > unrolled thread

Problem with special characters in the password field (urllib)

Started byBernhard Heijstek <bernhard.heijstek@yahoo.com>
First post2012-03-19 03:57 +0530
Last post2012-03-19 03:57 +0530
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Problem with special characters in the password field (urllib) Bernhard Heijstek <bernhard.heijstek@yahoo.com> - 2012-03-19 03:57 +0530

#21868 — Problem with special characters in the password field (urllib)

FromBernhard Heijstek <bernhard.heijstek@yahoo.com>
Date2012-03-19 03:57 +0530
SubjectProblem with special characters in the password field (urllib)
Message-ID<mailman.790.1332109638.3037.python-list@python.org>
Hi,

I'm having problems getting a script that I wrote to check the unread Gmail feed work (http://pastebin.com/FAGyedH0). The script fetches the unread mail feed (https://mail.google.com/mail/feed/atom/) and then parses it using python-feedparser.

The script seems to work fine if I'm not using any special characters like !@#$%^&*() in the password. I tried some pretty basic debugging and saw that the execution stops beyond line 35 which is where the authentication happens. So I figured that this has got to do something with urrllib and special characters in the password field. I've also tried prefixing the string with 'r' without any success.

Any help is appreciated.

Cheers!

Bernhard.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web