SilentGhost <ghost....@runbox.com> added the comment:

Hi Fernando,

the first parameter of the connect function is described in documentation as 
follows: 

> database is a path-like object giving the pathname (absolute or relative to 
> the current working directory) of the database file to be opened. You can use 
> ":memory:" to open a database connection to a database that resides in RAM 
> instead of on disk.

So, while it can be a bytes object, it's still would be a bytes object 
representing a file-path. It's not bytes object representing a file content of 
the database.

Hope that helps.

----------
nosy: +SilentGhost
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type: crash -> behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40154>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to