[CONPY-97] Python wrapper for C library Created: 2020-08-06  Updated: 2022-07-07  Resolved: 2022-07-07

Status: Closed
Project: MariaDB Connector/Python
Component/s: Generic
Affects Version/s: None
Fix Version/s: 1.1.0a1

Type: New Feature Priority: Major
Reporter: Marat Khalili Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None


 Description   

Currently the module is implemented completely in C. This makes it hard for many developers to contribute new features; also, the API is currently somewhat inflexible (e.g. only lists are accepted as query parameters but not tuples, keyword parameters are also out etc.). It took me half an hour to implement Python new style of parameters ("{value}") as a Python wrapper, would take a lot more hours to code same feature in C. Wouldn't it be advantageous for future development to handle calls in Python first, and only pass control to the C library for low-level performance-critical operations? This kind of architecture is common among Python libraries and has its benefits.


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