Skip to content

Is this a bug in mssql-python #634

@sravikrishna

Description

@sravikrishna

This is easily reproducible in mssql-python and pyodbc. However freetds based pymssql executs it with no issues.
Both pyodbc and mssql-python throw this error

cs = [column[0] for column in sql_cursor.description]
^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable

Metadata

Metadata

Assignees

Labels

area: api-compliancePython API behavior and typing: DB-API 2.0, exceptions, type stubs, new APIs.questionFurther information is requestedtriage doneIssues that are triaged by dev team and are in investigation.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions