Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
DSN parsing overly sensitive to string type #679
parse_dsn() insists that the connection string is a str or bytes, and does not accept subclasses or objects defining a str method. I think this is a backwards incompatible change from the 2.6 series. I have a ConnectionString subclass of str that should be usable as a stringallows access to the individual components and provides conversion methods to other formats. Code using ConnectionString works with 2.6.1 but is failing with 2.7.4.