Skip to content

sqlite3 connect uri=False mode=memory #136196

@JFK1981FFM

Description

@JFK1981FFM

Bug report

Bug description:

Using Python 3.13.2 on Windows 11, the following code creates and connects to an in memory database. An empty file 'file' is created in the current directory. I would expect an exception instead.

import sqlite3
con = sqlite3.connect('file:f1.db?mode=memory',uri=False)

As expected, on Linux 6.15, Python 3.13.3, a file 'file:f1.db?mode=memory' is created on disk.

CPython versions tested on:

3.13

Operating systems tested on:

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions