Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

It seems to me that the code could be much simpler (and more bugfree) if 
support only a Connection instance as a target. It is easy to create a 
Connection instance in Python:

    with sqlite3.connect(filename) as dest:
        source.backup(dest)

But this would save around 50 lines of complex C code. And I'm not sure this 
code is correct.

----------
nosy: +serhiy.storchaka

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

Reply via email to