[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

[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

[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

[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 ___

[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 ___

[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

[issue2771] Test issue

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

Re: Python script seems to stop running when handling very large dataset

2021-10-29 Thread Grant Edwards
On 2021-10-29, Shaozhong SHI wrote: > Python script works well, but seems to stop running at a certain point when > handling very large dataset. > > Can anyone shed light on this? No. Nobody can help you with the amount of information you have provided. -- Grant --

Re: walrus with a twist :+

2021-10-29 Thread Bob Martin
On 28 Oct 2021 at 18:52:26, "Avi Gross" wrote: > > Ages ago, IBM used a different encoding than ASCII called EBCDIC (Extended > Binary Coded Decimal Interchange Code ) which let them use all 8 bits and > thus add additional symbols. =B1 =A6 =AC IBM started using EBCDIC with System 360 and it

RE: New assignmens ...

2021-10-29 Thread Avi Gross via Python-list
Antoon, As long as we understand that my suggestion is not meant to be taken seriously, your extension is along the lines I intended. You might indeed have a family of helper functions whose purpose is to bot make a change on the side and return the value to be used in a computation. Your

CWD + relative path + import name == resultant relative path?

2021-10-29 Thread Dan Stromberg
Is there a predefined function somewhere that can accept the 3 things on the LHS in the subject line, and give back a resultant relative path - relative to the unchanged CWD? To illustrate, imagine: 1) You're sitting in /home/foo/coolprog 2) You look up the AST for /home/foo/coolprog/a/b/c.py 3)

Re: Python script seems to stop running when handling very large dataset

2021-10-29 Thread Paul Bryan
With so little information provided, not much light will be shed. When it stops running, are there any errors? How is the dataset being processed? How large is the dataset? How large a dataset can be successfully processed? What libraries are being used? What version of Python are you using? On

Re: Python script seems to stop running when handling very large dataset

2021-10-29 Thread Dan Stromberg
On Fri, Oct 29, 2021 at 4:04 PM dn via Python-list wrote: > On 30/10/2021 11.42, Shaozhong SHI wrote: > > Python script works well, but seems to stop running at a certain point > when > > handling very large dataset. > > > > Can anyone shed light on this? > > Storage space? > Taking time to

Re: The task is to invent names for things

2021-10-29 Thread dn via Python-list
On 29/10/2021 07.07, Stefan Ram wrote: > The name should not be "optimized" for a certain use case > (as for the use in an if expression) only. "We", "have", > and "any" carry little information. A name should pack as > much information as possible in as least characters as > possible.

Re: Python script seems to stop running when handling very large dataset

2021-10-29 Thread dn via Python-list
On 30/10/2021 11.42, Shaozhong SHI wrote: > Python script works well, but seems to stop running at a certain point when > handling very large dataset. > > Can anyone shed light on this? Storage space? Taking time to load/format/process data-set? -- Regards, =dn --

[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

Python script seems to stop running when handling very large dataset

2021-10-29 Thread Shaozhong SHI
Python script works well, but seems to stop running at a certain point when handling very large dataset. Can anyone shed light on this? Regards, David -- https://mail.python.org/mailman/listinfo/python-list

[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

[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 ___

[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:

[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:

[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

[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

[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

Re: The task is to invent names for things

2021-10-29 Thread alister via Python-list
On Thu, 28 Oct 2021 00:38:17 +, Eli the Bearded wrote: > In comp.lang.python, Peter J. Holzer wrote: > ^^ > > Those all work. But if you are writing a new web framework and you name > your method to log stuff to a remote server "Britney" because you were > listening the

Re: The task is to invent names for things

2021-10-29 Thread alister via Python-list
On Thu, 28 Oct 2021 00:41:41 +0200, Peter J. Holzer wrote: > On 2021-10-27 12:41:56 +0200, Karsten Hilbert wrote: >> Am Tue, Oct 26, 2021 at 11:36:33PM + schrieb Stefan Ram: >> > xyzzy = lambda x: 2 * x >> > . Sometimes, this can even lead to "naming paralysis", where one >> > thinks

[issue45581] [sqlite3] raise MemoryError if sqlite3_open_v2() returns SQLITE_NOMEM

2021-10-29 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Erlend! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> crash ___ Python tracker ___

[issue45581] [sqlite3] raise MemoryError if sqlite3_open_v2() returns SQLITE_NOMEM

2021-10-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset ed807bf333cdc78b92c9861600acf1a435c52193 by Łukasz Langa in branch '3.9': [3.9] bpo-45581: Raise `MemoryError` in `sqlite3.connect` if SQLite signals memory error (GH-29171) (GH-29324)

[issue45379] Improve errors related to frozen modules.

2021-10-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c2d0ba722a7b3839685af968cf0c304a24cdf525 by Filipe Laíns in branch 'main': bpo-45379: clarify FROZEN_EXCLUDED and FROZEN_INVALID documentation (GH-29189) https://github.com/python/cpython/commit/c2d0ba722a7b3839685af968cf0c304a24cdf525

[issue45581] [sqlite3] raise MemoryError if sqlite3_open_v2() returns SQLITE_NOMEM

2021-10-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7e2c0a18b41cb906a354776e6ca52af81e39820f by Łukasz Langa in branch '3.10': [3.10] bpo-45581: Raise `MemoryError` in `sqlite3.connect` if SQLite signals memory error (GH-29171) (GH-29323)

[issue45600] First sentence in docs for os.environ

2021-10-29 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Andrei! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.9 ___ Python tracker

[issue45600] First sentence in docs for os.environ

2021-10-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 3ec1124de289496efabc43a02cc88b3c59e1e238 by Miss Islington (bot) in branch '3.9': bpo-45600: Enhanced / clarified the docs for os.environ and os.environb (GH-29204) (GH-29321)

[issue45600] First sentence in docs for os.environ

2021-10-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 0538351fcaa320e62cb4ef92ec629b7e24a73e9c by Miss Islington (bot) in branch '3.10': bpo-45600: Enhanced / clarified the docs for os.environ and os.environb (GH-29204) (GH-29322)

[issue45335] Default TIMESTAMP converter in sqlite3 ignores UTC offset

2021-10-29 Thread Łukasz Langa
Łukasz Langa added the comment: Based on the decision from Discourse, the current behavior has only been documented and the actual issue is "wontfix". Thanks for pursuing this, Ian! ✨  ✨ -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed versions:

[issue45335] Default TIMESTAMP converter in sqlite3 ignores UTC offset

2021-10-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e1560313d4d9bff8eba0f851ef325f7ee19f7ba9 by Miss Islington (bot) in branch '3.9': bpo-45335: Add note to `sqlite3` docs about "timestamp" converter (GH-29200) (GH-29320)

[issue45335] Default TIMESTAMP converter in sqlite3 ignores UTC offset

2021-10-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 8ea665c730cd86a321c558c012bef84f454efa4f by Miss Islington (bot) in branch '3.10': bpo-45335: Add note to `sqlite3` docs about "timestamp" converter (GH-29200) (GH-29319)

[issue45577] Make `test_zoneinfo.py` to check all pickle protocols

2021-10-29 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Nikita! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45581] [sqlite3] raise MemoryError if sqlite3_open_v2() returns SQLITE_NOMEM

2021-10-29 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +27594 pull_request: https://github.com/python/cpython/pull/29324 ___ Python tracker ___

[issue45581] [sqlite3] raise MemoryError if sqlite3_open_v2() returns SQLITE_NOMEM

2021-10-29 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +27593 pull_request: https://github.com/python/cpython/pull/29323 ___ Python tracker ___

[issue45581] [sqlite3] raise MemoryError if sqlite3_open_v2() returns SQLITE_NOMEM

2021-10-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e2e62b3808691e15fa44b883270023e42dcad958 by Erlend Egeberg Aasland in branch 'main': bpo-45581: Raise `MemoryError` in `sqlite3.connect` if SQLite signals memory error (GH-29171)

[issue45600] First sentence in docs for os.environ

2021-10-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +27592 pull_request: https://github.com/python/cpython/pull/29322 ___ Python tracker ___

[issue45600] First sentence in docs for os.environ

2021-10-29 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +27591 pull_request: https://github.com/python/cpython/pull/29321 ___ Python tracker

[issue45600] First sentence in docs for os.environ

2021-10-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b17cfd150f4dc2816975d304a71110a2d445eaf0 by andrei kulakov in branch 'main': bpo-45600: Enhanced / clarified the docs for os.environ and os.environb (GH-29204) https://github.com/python/cpython/commit/b17cfd150f4dc2816975d304a71110a2d445eaf0

[issue45335] Default TIMESTAMP converter in sqlite3 ignores UTC offset

2021-10-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +27590 pull_request: https://github.com/python/cpython/pull/29320 ___ Python tracker ___

[issue45335] Default TIMESTAMP converter in sqlite3 ignores UTC offset

2021-10-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 3877fc02f7a8801ba5ce0e94b6075b3fdd9778d0 by Ian Fisher in branch 'main': bpo-45335: Add note to `sqlite3` docs about "timestamp" converter (GH-29200) https://github.com/python/cpython/commit/3877fc02f7a8801ba5ce0e94b6075b3fdd9778d0 --

[issue45335] Default TIMESTAMP converter in sqlite3 ignores UTC offset

2021-10-29 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +27589 pull_request: https://github.com/python/cpython/pull/29319 ___ Python tracker

[issue45645] Deep recursion terminates script execution with no error (Windows, Python 3.9)

2021-10-29 Thread Eryk Sun
Eryk Sun added the comment: In theory, a crash could be prevented in most cases by setting a larger stack guarantee (i.e. region of guard pages) via SetThreadStackGuarantee() [1] and using a vectored exception handler [2]. The exception handler can set a flag in the thread state that

[issue45676] Enum: improve generics support

2021-10-29 Thread Ethan Furman
Change by Ethan Furman : -- assignee: ethan.furman nosy: ethan.furman priority: normal severity: normal status: open title: Enum: improve generics support type: enhancement versions: Python 3.11 ___ Python tracker

[issue45675] pkgutil.get_data() doesn't add subpackages to parent packages when importing

2021-10-29 Thread Matt Wozniski
Matt Wozniski added the comment: The original case where I encountered this was with a namespace package, but the behavior appears to be the same for a subpackage of a regular package. -- title: pkgutil.get_data() doesn't add subpackages to namespaces when importing ->

[issue45675] pkgutil.get_data() doesn't add subpackages to namespaces when importing

2021-10-29 Thread Matt Wozniski
New submission from Matt Wozniski : If a module hasn't yet been imported, `pkgutil.get_data(pkg_name, data_file)` will import it, but when it does, it doesn't add the submodule to its parent package when the parent package is a PEP 420 implicit namespace package. ``` $ mkdir -p

[issue45250] Make sure documentation is accurate for what an (async) iterable and (async) iterator are

2021-10-29 Thread Nir Friedman
Nir Friedman added the comment: Wouldn't a nicer resolution for this be to change `iter` (which effectively defines what is "iterable"), so that if `iter` does not find the `__iter__` or sequence protocol, it then looks for the iterator protocol (`__next__`), and if it finds that, return

[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 Alex Waygood
Alex Waygood added the comment: Bugfixes are only being applied for Python >=3.9, but I've reproduced this output on 3.11 -- nosy: +AlexWaygood versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7 ___ Python tracker

[issue45319] Possible regression in __annotations__ descr for heap type subclasses

2021-10-29 Thread Larry Hastings
Larry Hastings added the comment: I finally have some bandwidth to look at this--sorry for being a bit slow. I wasn't able to reproduce, because the patch didn't apply cleanly. I downloaded the patch ( https://patch-diff.githubusercontent.com/raw/GrahamDumpleton/wrapt/pull/187.patch ) and

[issue45633] Py_GT listed twice in Doc/extending/newtypes.rst

2021-10-29 Thread Dmitry Smirnov
Change by Dmitry Smirnov : -- keywords: +patch nosy: +dmitrysmirnov931 nosy_count: 2.0 -> 3.0 pull_requests: +27588 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29318 ___ 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 Tristan
New submission from Tristan : >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. In Python 3.6: >>> import sre_parse >>> sre_parse.parse("(?:foo (?:bar) | (?:baz))").dump()

[issue45671] str(CancelledError()) is empty

2021-10-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Concur with Andrew. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list

[issue45562] python -d creates lots of tokenizer messages

2021-10-29 Thread miss-islington
miss-islington added the comment: New changeset d8ca47c943c4ad396a9c70aff35bbbf4b1868876 by Miss Islington (bot) in branch '3.10': bpo-45562: Ensure all tokenizer debug messages are printed to stderr (GH-29270) https://github.com/python/cpython/commit/d8ca47c943c4ad396a9c70aff35bbbf4b1868876

[issue45671] str(CancelledError()) is empty

2021-10-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: I don't think that we need to change something with the current behavior. It exists for years; very many Python exceptions return an empty string on `str(exc)` but return something useful on `repr(exc)`. If you arguing to change the behavior -- all such

[issue45535] Enum's dir() does not contain inherited members

2021-10-29 Thread Alex Waygood
Alex Waygood added the comment: I would argue it's quite important for `IntEnum` to have the dunder methods inherited from `int` show up in `help()`. Dunder methods indicate that an object has certain behaviours, so it's important for a user to be able to verify that an `IntEnum` member has

[issue45673] argparse error with option with optional value

2021-10-29 Thread Paolo Benvenuto
New submission from Paolo Benvenuto : I'm using argparse with this code: parser = argparse.ArgumentParser( description='Scan a media tree in order to generate cache files suitable for showing a beautiful web gallery', ) parser.add_argument( "config_file_or_album_path",

[issue45672] Mutation tests results of typing.py

2021-10-29 Thread Nikita Sobolev
Nikita Sobolev added the comment: I can send a PR to have 100% mutation coverage for `typing.py`. I think that a single test can do that. -- ___ Python tracker ___

[issue45535] Enum's dir() does not contain inherited members

2021-10-29 Thread Ethan Furman
Ethan Furman added the comment: Enums have had a custom dir() from the beginning, partly because they are not standard objects and do not follow standard rules. The question posed by this issue is whether Enums with mixed-in data types should show the inherited methods, and if yes, should

[issue45672] Mutation tests results of typing.py

2021-10-29 Thread Nikita Sobolev
New submission from Nikita Sobolev : I've decided to test `typing.py` with `cosmic-ray` mutation testing framework. It identified 3 potential problems. Config: ``` [cosmic-ray] module-path = "Lib/typing.py" timeout = 15.0 excluded-modules = [] test-command = "./python.exe -m test -v

[issue45671] str(CancelledError()) is empty

2021-10-29 Thread lilydjwg
New submission from lilydjwg : When I try to print an asyncio.CancelledError object, I do not see it and I thought something went wrong. CancelledError inherits from BaseException and all BaseException subclasses (e.g. SystemExit, KeyboardInterrupted) seem to return empty strings for str(e).

[issue45670] New .mapping attribute is broken for some existing uses of dict views

2021-10-29 Thread Joshua Bronson
New submission from Joshua Bronson : As of bpo-40890 (released in Python 3.10), dict views now provide a public .mapping attribute, intended to allow users to recover a mappingproxy pointing to the original mapping. However, this new attribute can actually point to the wrong mapping for some

[issue45628] TimedRotatingFileHandler backupCount not working

2021-10-29 Thread Vinay Sajip
Vinay Sajip added the comment: It's possible this crept in during the fix for bpo-44753. -- ___ Python tracker ___ ___

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

2021-10-29 Thread Paolo Melchiorre
Change by Paolo Melchiorre : -- keywords: +patch pull_requests: +27586 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29317 ___ Python tracker

[issue14527] How to link with a non-system libffi?

2021-10-29 Thread Sam James
Change by Sam James : -- nosy: +thesamesam ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45598] setup.py grep_headers_for() is broken by design

2021-10-29 Thread Sam James
Change by Sam James : -- nosy: +thesamesam ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45350] configure incorrectly ignores pkg-config information for libffi and Tcl/Tk in 3.10

2021-10-29 Thread Sam James
Change by Sam James : -- nosy: +thesamesam ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45643] SIGSTKFLT is missing from the signals module on Linux

2021-10-29 Thread Sam James
Change by Sam James : -- nosy: +thesamesam ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45256] Remove the usage of the C stack in Python to Python calls

2021-10-29 Thread Sam James
Change by Sam James : -- nosy: +thesamesam ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44525] Implement CALL_FUNCTION adaptive interpreter optimizations

2021-10-29 Thread Sam James
Change by Sam James : -- nosy: +thesamesam ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44828] tkinter.filedialog linked with Tk 8.6.11 crashes on macOS 12 Monterey, breaking IDLE saves

2021-10-29 Thread Sam James
Change by Sam James : -- nosy: +thesamesam ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2021-10-29 Thread Sam James
Change by Sam James : -- nosy: +thesamesam ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45668] Some PGO tests are failing when building with --enable-optimizations --disable-test-modules

2021-10-29 Thread Sam James
Change by Sam James : -- nosy: +thesamesam ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2021-10-29 Thread Paolo Melchiorre
New submission from Paolo Melchiorre : It is very common to construct a variable containing alphanumeric values as a basis for generating random strings, especially in the web environment as a slug to be used in URLs: >>> import string >>> ascii_alphanumerics = string.ascii_letters +

[issue45548] Update Modules/Setup

2021-10-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset f0150ac94a85c863ec1dcb58b9e33ed7ce465ec8 by Christian Heimes in branch 'main': bpo-45548: Some test modules must be built as shared libs (GH-29268) https://github.com/python/cpython/commit/f0150ac94a85c863ec1dcb58b9e33ed7ce465ec8 --

[issue45535] Enum's dir() does not contain inherited members

2021-10-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 29316 looks complicated. First of all, why do Enum needs a custom __dir__? What is wrong with the default implementation? -- ___ Python tracker

[issue45535] Enum's dir() does not contain inherited members

2021-10-29 Thread Alex Waygood
Change by Alex Waygood : -- keywords: +patch pull_requests: +27585 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29316 ___ Python tracker ___

[issue45628] TimedRotatingFileHandler backupCount not working

2021-10-29 Thread Vinay Sajip
Vinay Sajip added the comment: N.B. I was able to reproduce this on recent 3.9 versions as well. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue45628] TimedRotatingFileHandler backupCount not working

2021-10-29 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 191a93905a84f272b2232701dc5dcc69987330f5 by Miss Islington (bot) in branch '3.10': [3.10] bpo-45628: Check all parts of the suffix for an extension match. (GH-29310) (GH-29314)

[issue45628] TimedRotatingFileHandler backupCount not working

2021-10-29 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 317e0c99e3804310f4bee23e497d9d84b717d7f7 by Miss Islington (bot) in branch '3.9': [3.9] bpo-45628: Check all parts of the suffix for an extension match. (GH-29310) (GH-29313)

[issue45668] Some PGO tests are failing when building with --enable-optimizations --disable-test-modules

2021-10-29 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +27584 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29315 ___ Python tracker

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2021-10-29 Thread swgmma
swgmma added the comment: Thanks all for the guidance. Have gone back to the original `force_hide` with the suggested documentation. -- ___ Python tracker ___

[issue45668] Some PGO tests are failing when building with --enable-optimizations --disable-test-modules

2021-10-29 Thread Christian Heimes
New submission from Christian Heimes : Some PGO tests are failing when Python is build with options ./configure --disable-test-modules --enable-optimizations . Test failures are caused by missing _testcapi module. ./python -m test --pgo --timeout=1200 || true test test_array failed test

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2021-10-29 Thread Eryk Sun
Eryk Sun added the comment: > There's nothing gained by complicating this API with more options. Yes, both options is too much. I suggested force_hide_console as an alternative to force_hide, not for both to be implemented. It would be the same as CreateNoWindow in .NET ProcessStartInfo

[issue45655] List of PEPs at top of typing docs is too long to be readable

2021-10-29 Thread miss-islington
miss-islington added the comment: New changeset 6742b0dfb61ebdb92a1ff633ec071734b5d39981 by Miss Islington (bot) in branch '3.10': bpo-45655: Add ref to union type expressions at top of typing docs (GH-29309) https://github.com/python/cpython/commit/6742b0dfb61ebdb92a1ff633ec071734b5d39981

[issue42280] The list of standard generic collections is incomplete

2021-10-29 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood nosy_count: 5.0 -> 6.0 pull_requests: +27583 pull_request: https://github.com/python/cpython/pull/29308 ___ Python tracker ___

Re: New assignmens ...

2021-10-29 Thread Antoon Pardon
Op 28/10/2021 om 19:36 schreef Avi Gross via Python-list: Now for a dumb question. Many languages allow a form of setting a variable to a value like: assign(var, 5+sin(x)) If we had a function that then returned var or the value of var, cleanly, then would that

[issue45628] TimedRotatingFileHandler backupCount not working

2021-10-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +27582 pull_request: https://github.com/python/cpython/pull/29314 ___ Python tracker ___

[issue45628] TimedRotatingFileHandler backupCount not working

2021-10-29 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +27581 pull_request: https://github.com/python/cpython/pull/29313 ___ Python tracker

[issue45655] List of PEPs at top of typing docs is too long to be readable

2021-10-29 Thread Ken Jin
Ken Jin added the comment: New changeset d9575218d7ab3d85b15ce3d4779660b9b724d343 by Alex Waygood in branch 'main': bpo-45655: Add ref to union type expressions at top of typing docs (GH-29309) https://github.com/python/cpython/commit/d9575218d7ab3d85b15ce3d4779660b9b724d343 --

[issue45655] List of PEPs at top of typing docs is too long to be readable

2021-10-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +27580 pull_request: https://github.com/python/cpython/pull/29312 ___ Python tracker ___

[issue45655] List of PEPs at top of typing docs is too long to be readable

2021-10-29 Thread Alex Waygood
Change by Alex Waygood : -- pull_requests: +27579 pull_request: https://github.com/python/cpython/pull/29309 ___ Python tracker ___

[issue45664] resolve_bases() and new_class() do not work with type alias of a built-in type

2021-10-29 Thread Ken Jin
Change by Ken Jin : -- pull_requests: -27577 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44899] tarfile: add support for creating an archive of potentially changing files

2021-10-29 Thread Marko Tuononen
Change by Marko Tuononen : Removed file: https://bugs.python.org/file50411/tarfile_ut.py ___ Python tracker ___ ___ Python-bugs-list

[issue44899] tarfile: add support for creating an archive of potentially changing files

2021-10-29 Thread Marko Tuononen
Change by Marko Tuononen : Added file: https://bugs.python.org/file50412/tarfile_ut.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue45628] TimedRotatingFileHandler backupCount not working

2021-10-29 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 8a77f59de51f1fd6062f0fefe73ee3059d714144 by Vinay Sajip in branch 'main': bpo-45628: Check all parts of the suffix for an extension match. (GH-29310) https://github.com/python/cpython/commit/8a77f59de51f1fd6062f0fefe73ee3059d714144 --

[issue44899] tarfile: add support for creating an archive of potentially changing files

2021-10-29 Thread Marko Tuononen
Marko Tuononen added the comment: Please find attached an example how to reproduce the problem in question. $ python3 -m unittest tarfile_ut.py E == ERROR: test_stat (tarfile_ut.TestClass)

  1   2   >