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 nwerneck
Recipients cgwalters, dexen, mcepl, nwerneck
Date 2008-12-17.16:40:57
SpamBayes Score 1.207978e-08
Marked as misclassified No
Message-id <1229532058.41.0.0348852762405.issue1170@psf.upfronthosting.co.za>
In-reply-to
Content
Hello. I tried to patch my own shlex, and this doens't seem to be
working properly. When I try the patched module isntead of th eoriginal,
in my otherwise working program, I get the result ahead.

Is there any conversion steps missing?...


mymachine$ python interp.py < exemplo.prg
Traceback (most recent call last):
  File "interp.py", line 11, in <module>
    tok = ss.get_token()
  File "shlexutf.py", line 103, in get_token
    raw = self.read_token()
  File "shlexutf.py", line 139, in read_token
    nextcategory = unicodedata.category(nextchar)
TypeError: category() argument 1 must be unicode, not str
History
Date User Action Args
2008-12-17 16:40:58nwernecksetrecipients: + nwerneck, dexen, cgwalters, mcepl
2008-12-17 16:40:58nwernecksetmessageid: <1229532058.41.0.0348852762405.issue1170@psf.upfronthosting.co.za>
2008-12-17 16:40:57nwernecklinkissue1170 messages
2008-12-17 16:40:57nwerneckcreate