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 mhammond
Recipients ezio.melotti, ferringb, mhammond
Date 2010-05-06.00:56:36
SpamBayes Score 7.4618765e-05
Marked as misclassified No
Message-id <1273107398.74.0.906682363359.issue7594@psf.upfronthosting.co.za>
In-reply-to
Content
I tried to use this in place of shlex for parsing IMAP responses for the 'imapclient' package.  A couple of things struck me.

* The class no longer has a next() method but probably should be added for b/w compat.

* The class no longer has a 'token' attribute, which people may use to record the current token.  Sadly it isn't clear if this is a documented part of the API or not.

* Typo:
    wordchards = property(_get_wordchars, _set_wordchars)

  'wordchards' is wrong.  This implies there are no tests which set wordchars.

* I *think* the lexer is now returning an empty string token as an input source is rolled over whereas before it did not.  In effect, I *think* the old lexer would allow a single token to span sources, where this patched version does not.  Sadly I didn't confirm this is truly accurate - but tests for this behaviour would probably help.
History
Date User Action Args
2010-05-06 00:56:39mhammondsetrecipients: + mhammond, ferringb, ezio.melotti
2010-05-06 00:56:38mhammondsetmessageid: <1273107398.74.0.906682363359.issue7594@psf.upfronthosting.co.za>
2010-05-06 00:56:37mhammondlinkissue7594 messages
2010-05-06 00:56:36mhammondcreate