Skip to content

getLogicalLines parsing needs a rewrite #146

Description

@da4089

Quick Summary
The parser in vobject/base.py's getLogicalLines() is pretty messsy:

Context

  • vObject version
  • Python version
  • Operating system and version

Description
The code is unclear and likely has poor performance:

  • Should it really be split into QUOTED-PRINTABLE and not quoted branches?
  • Can we avoid using StringIO buffers?
  • In particular, the truncation of the trailing '=' for quoted printable content is ugly

A general re-think, rewrite, and clean up is needed for this function.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions