Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
SessionPool won't accept unicode #23
Python 2.7 32 bit
I have a case where it appears that the cx_Oracle.connect method will accept the login credentials as unicode strings but the cx_Oracle.SessionPool will not.
I have check this simply by using the same login credentials with both functions.
In my test case the user name, password, and dsn are all unicode strings. The exception I get when calling the session pool is below.
sessionPool = cx_oracle.SessionPool(*r_pargs, **r_kwargs)
I guess this isn't really a bug so much as inconsistent behavior if the connect method accepts Unicode strings I would expect the SessionPool to as well, at least for the fields that is has in common with connect.