| Issue 28: | pyodbc.connect method no longer handles autocommit passed as non-keyword argument | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
1. Call pyodbc.connect("DSN=MyDSN", True)
2.
3.
What is the expected output? What do you see instead?
This call worked with version 2.0.36. In 2.1.3, this error is the result:
TypeError: function takes at most 1 non-keyword argument
What version of the product are you using? On what operating system?
2.1.3, on Windows XP SP3
Please provide any additional information below.
According to the documentation, the method should support up to 3 non-
keyword args:
connect(str, autocommit=False, ansi=False, **kwargs)
Jan 22, 2009
Project Member
#1
mkleehammer
Status:
Fixed
Nov 21, 2010
(No comment was entered for this change.)
Status:
Complete
|