[CONPY-28] Crash when creating a cursor Created: 2019-11-13  Updated: 2021-02-15  Resolved: 2019-11-13

Status: Closed
Project: MariaDB Connector/Python
Component/s: Generic
Affects Version/s: 0.9.1
Fix Version/s: 0.9.52

Type: Task Priority: Major
Reporter: Georg Richter Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None


 Description   

This code crashes:

import mariadb
cursor=mariadb.cursor()

instead of reporting an error, e.g.

AttributeError: module 'mariadb' has no attribute 'cursor'


Generated at Thu Feb 08 03:29:43 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.