Skip to content

Support for Python 2.7 #183

@andy-maier

Description

@andy-maier
  • istr version: 1.0.1
  • Python version: 2.7
  • Operating System: any

Description

Despite the fact that Python 2.7 wil be declared end of life in 1/2020, there are numerous projects out there that still support it. If any of those wants to start using istr, the main inhibitor will be that istr does not support 2.7. My own Python projects are all of that category :-)

I think what it takes to add Python 2.7 support is:

  • using six.text_type instead of str (or because nothing else would be used of six, a simple type definition that mimics that).
  • replacing str.casefold() with str.tolower()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions