[issue46402] Enhance sqlite3 to avoid implicit creation?

2022-01-18 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Closing this. Thanks, Ned and Eric! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue46428] 3.11.0a3 vs 3.11.0a4

2022-01-18 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue46428> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46212] Avoid temporary `varargs` tuple creation in argument passing

2022-01-21 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: > AFAIK we have committed _PyArg_UnpackKeywordsWithVararg on 3.11 alpha, so I > think it should be fine. I see, so no ABI worries then. -- ___ Python tracker <https://bugs.python.org/i

[issue46263] FreeBSD buildbots cannot compile Python

2022-01-06 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: AFAICS, the test_embed failure first appeared after GH-29041 (bpo-45582) was merged. After GH-29041, there has been numerous fixes for test_embed: $ git log --oneline | grep bpo-45582 3f398a77d3 bpo-45582: Fix test_embed failure during a PGO build

[issue46263] FreeBSD buildbots cannot compile Python

2022-01-06 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Also, AMD64 FreeBSD Shared 3.x is configured --with-pydebug and --enable-shared. I'd be surprised if those were the root cause of this though. Both buildbots are in-tree builds. FWIW, my FreeBSD 14.0-CURRENT main-n250453-7ac82c96fe7 VM also fails

[issue46263] FreeBSD buildbots cannot compile Python

2022-01-06 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: FYI, the buildbot has Python 3.9.9 installed, as seen from the configure step. (nit: it's pkg install python39, not pkg install python3.9) -- ___ Python tracker <https://bugs.python.org/issue46

[issue46263] FreeBSD buildbots cannot compile Python

2022-01-06 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: > Note that in-tree builds are working find on other platforms, AFAICS. Yes, almost all of the buildbots are using in-tree builds. IIRC, buildbots for out-of-tree builds were added just recently. -- ___ Pyt

[issue46263] FreeBSD buildbots cannot compile Python

2022-01-06 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: > the test_embed failure first appeared after GH-29041 (bpo-45582) was merged. Make that "first appeared on FreeBSD". Also, numerous was perhaps an exaggeration. Make that a few :) -- ___ P

[issue46263] FreeBSD buildbots cannot compile Python

2022-01-06 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Here's a strange observation from my FreeBSD 14.0 VM: With system supplied python3.8 (dependency of the git package), test_embed succeeds. If I explicitly install python3.9 (pkg install python3.9 installs Python 3.9.9), rebuild and test, test_embed fails

[issue46263] FreeBSD buildbots cannot compile Python

2022-01-06 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Wait a minute. It is not tied to the Python version installed; it seems to be an issue with in-tree vs. out-of-tree builds. The failed build was in-tree. The build that succeeded was out-of-tree. I did a new build with Python 3.9 installed, which

[issue46263] FreeBSD buildbots cannot compile Python

2022-01-06 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: FTR: - in-tree build with system Python 3.8 => fails -- ___ Python tracker <https://bugs.python.org/issue46263> ___ _

[issue45925] Upgrade macOS and Windows installers to use SQLite 3.37.1

2022-01-06 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: SQLite 3.37.2 is fresh out now. Copying the release statement from the SQLite forum: Patch release 3.37.2 fixes a potential database corruption bug. Upgrading is recommended for all users. The database corruption bug is obscure and you

[issue45925] Upgrade macOS and Windows installers to use SQLite 3.37.2

2022-01-06 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- title: Upgrade macOS and Windows installers to use SQLite 3.37.1 -> Upgrade macOS and Windows installers to use SQLite 3.37.2 ___ Python tracker <https://bugs.python.org/issu

[issue46263] FreeBSD buildbots cannot compile Python

2022-01-06 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Both FreeBSD bots are green again. Thank you Christian and Eric! -- priority: release blocker -> resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tra

[issue46263] FreeBSD buildbots cannot compile Python

2022-01-06 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- status: open -> pending ___ Python tracker <https://bugs.python.org/issue46263> ___ ___ Python-bugs-list mailing list Un

[issue46263] FreeBSD buildbots cannot compile Python

2022-01-06 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Great. I tried the same trick on my VM earlier today, but I was unsure if it was the correct fix :) Thanks! -- status: pending -> open ___ Python tracker <https://bugs.python.org/issu

[issue45925] Upgrade macOS and Windows installers to use SQLite 3.37.2

2022-01-06 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Quoting the SQLite forum post, regarding backporting: There is a bug in versions 3.35.0 (2021-03-12) through 3.37.1 (2021-12-30) which could potentially cause database corruption. Upgrading to version 3.37.2 (2022-01-06) or later is recommended

[issue45925] Upgrade macOS and Windows installers to use SQLite 3.37.2

2022-01-06 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue45925> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45925] Upgrade macOS and Windows installers to use SQLite 3.37.2

2022-01-06 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: As I understand the forum post, you're vulnerable if you use that specific build option (we don't), _or_ if you use the pragma (anyone may do that). So AFAICS, we should upgrade. -- ___ Python tracker <ht

[issue45925] Upgrade macOS and Windows installers to use SQLite 3.37.2

2022-01-06 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: No, I don’t think we need to rush a new release. The scheduled 3.10 and 3.9 releases should do fine. Can you update the sources repo in the mean time? -- ___ Python tracker <https://bugs.python.org/issue45

[issue46249] [sqlite3] move set lastrowid out of the query loop and enable it for executemany()

2022-01-08 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Marc-André: since Python 3.6, the sqlite3.Cursor.lastrowid attribute does no longer comply with the recommendations of PEP 249: Previously, lastrowid was set to None for operations other than INSERT or REPLACE. This changed

[issue46249] [sqlite3] move set lastrowid out of the query loop and enable it for executemany()

2022-01-08 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +28692 pull_request: https://github.com/python/cpython/pull/30489 ___ Python tracker <https://bugs.python.org/issue46

[issue46249] [sqlite3] move set lastrowid out of the query loop and enable it for executemany()

2022-01-08 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: I see now that GH-30380 has grown a little bit out of scope, as it changes too many things at once: 1. Simplify the `execute()`/`executemany()` query loop 2. Create the lastrowid PyObject on demand, simplifying cursor GC 3. `lastrowid` is now available

[issue46261] [doc] fix inaccuracies in sqlite3.Cursor.lastrowid docs

2022-01-08 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue46433] _PyType_GetModuleByDef optimization is incorrect

2022-01-19 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker <https://bugs.python.org/issue46433> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24905] Allow incremental I/O to blobs in sqlite3

2022-01-20 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: If you are ok with the proposed API in GH-30680, I'll mark it as ready for review. -- ___ Python tracker <https://bugs.python.org/issue24

[issue41682] [Windows] test_asyncio: Proactor test_sendfile_close_peer_in_the_middle_of_receiving failure

2022-01-22 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Previously, this failure was more sporadic; now it happens almost every single run on the Azure CI. Has there been updates on the Azure CI lately? -- ___ Python tracker <https://bugs.python.org/issue41

[issue46471] use global singletons for single byte bytes objects in deepfreeze

2022-01-23 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Can we close this, or are you expecting more changes? -- nosy: +erlendaasland status: open -> pending ___ Python tracker <https://bugs.python.org/issu

<    4   5   6   7   8   9