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.

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