[issue45582] Rewrite getpath.c in Python

2021-10-29 Thread Steve Dower
Steve Dower added the comment: So I think I've found my first completely unavoidable API break: PyConfig_Read(config) has to work before initialisation, but is also supposed to fill out all the fields (including the search path). But because we need at least an interpreter state, we now can'

[issue45677] [doc] improve sqlite3 docs

2021-10-29 Thread Erlend E. Aasland
New submission from Erlend E. Aasland : The sqlite3 docs could need a little makeover. Here's some things that could be improved: - avoid addressing the reader as "you" - avoid using affirmative tone - establish a "Security Considerations" or "Common Mistakes" section, instead of littering th

[issue45677] [doc] improve sqlite3 docs

2021-10-29 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- keywords: +patch pull_requests: +27595 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29326 ___ Python tracker __

[issue45674] From Python 3.7, sre_parse.parse() do not create SubPattern instances that can be used to back reproduce original expression if containing non-capturing groups

2021-10-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: sre_parse.parse() is an internal function and this behaviour is an implementation detail. This change enabled some optimizations which did not work with non-capturing groups before. It did not affect the matching itself. -- nosy: +serhiy.storchaka

[issue10572] Move test sub-packages to Lib/test

2021-10-29 Thread miss-islington
miss-islington added the comment: New changeset 62bf263a775fd8b5d5841cc09be3bd53e933 by Erlend Egeberg Aasland in branch 'main': bpo-10572: Move `sqlite3` tests to `Lib/test` (GH-29304) https://github.com/python/cpython/commit/62bf263a775fd8b5d5841cc09be3bd53e933 -- nosy: +m

[issue10572] Move test sub-packages to Lib/test

2021-10-29 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27596 pull_request: https://github.com/python/cpython/pull/29327 ___ Python tracker ___ ___

[issue45677] [doc] improve sqlite3 docs

2021-10-29 Thread Steven D'Aprano
Steven D'Aprano added the comment: What is wrong with addressing the reader as "you"? Avoiding an affirmative tone goes directly against the style-guide you linked to, which recommends an affirmative (positive) tone: "The documentation focuses on affirmatively stating what the language does.

[issue45669] An 'ascii_alphanumerics' variable is missing in the 'strings' lib

2021-10-29 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: I've found 81 occurrences of this pattern among 52 projects on a dataset of top PyPI packages (~3.5K). So I'd say +1 on including this. -- nosy: +BTaskaya ___ Python tracker _

[issue2771] Test issue

2021-10-29 Thread Ezio Melotti
Ezio Melotti added the comment: Testing GitHub mentions, please ignore: @serhiy-storchaka -- ___ Python tracker ___ ___ Python-bugs-

[issue45671] str(CancelledError()) is empty

2021-10-29 Thread lilydjwg
lilydjwg added the comment: Oh, I find that many exceptions return an empty string when created without any arguments, but most raised ones do have a descriptive error message. Yes, if it's going to change, we'd change all of them. But now I doubt if it's worth the effort... What if we chang

[issue45420] Python 3.10 final installation failure

2021-10-29 Thread wyz23x2
wyz23x2 added the comment: I upgraded to Windows 11 _and_ deleted all Python 3.10 related installations in regedit. Still doesn't work :( -- ___ Python tracker ___ __

[issue45420] Python 3.10 final installation failure

2021-10-29 Thread wyz23x2
wyz23x2 added the comment: BTW, how does the installer detect whether if another version is installed? -- ___ Python tracker ___ __

[issue45484] test_pickle segfault on s390x RHEL7 LTO 3.x

2021-10-29 Thread Dennis Sweeney
Dennis Sweeney added the comment: Looks like the pickletester bug hasn't happened since the fix, so I'll go ahead and close this. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue45669] An 'ascii_alphanumerics' variable is missing in the 'strings' lib

2021-10-29 Thread Dong-hee Na
Dong-hee Na added the comment: +1 to me also -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue45669] An 'ascii_alphanumerics' variable is missing in the 'strings' lib

2021-10-29 Thread Dong-hee Na
Dong-hee Na added the comment: I always need to write trivial code to generate fixed-length random strings with ascii_alphanumerics. It will solve similar usages and help a lot of packages. -- ___ Python tracker

<    1   2