cx_oracle bug

Issue #3733 invalid
Jihwan Song created an issue

simply, I came across two errors...

at line 826, the given "val" is float type -> causes "expected string" error also, the regex pattern is not correct, resulting no match unless the first zero is omitted from the server.

# file: sqlalchemy/dialects/oracle/cx_oracle.py
# line: 826
    char = re.match(r"([\.,])", val).group(1)

# suggested fix:
    char = re.match(r".*([\.,])", str(val)).group(1)

Comments (2)

  1. Mike Bayer repo owner

    im sorry, while I am sure that there's an actual issue here, I am unable to take any action of any kind. "cx_oracle bug" tells me nothing, I have no idea what you're trying to do, no stack trace, nothing. Please read the bug reporting guidelines at the top of the "create issue" page as well as the linked documents. Thanks.

  2. Log in to comment