[issue7951] Should str.format allow negative indexes when used for __getitem__ access?

2021-11-29 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11, and the error message is a little weirder now: >>> "{0[-1]}".format('fox') Traceback (most recent call last): File "", line 1, in TypeError: string indices must be integers, not 'str' -- nosy: +iritkatriel versions: +Python 3.11

[issue45928] Set up file stream for redirecting GC logs

2021-11-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: There is another problem: PySys_WriteStderr is faster than your gc_log, which can potentially slow down heavy GC-based programs, even if the file descriptor is not used. -- ___ Python tracker

[issue45928] Set up file stream for redirecting GC logs

2021-11-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: There are several problems with this change: 1) The lifetime of the file descriptor. The file descriptor is borrowed, which normally will lead to not being properly cleaned upon failure or interpreter deallocation. 2) The statistics you are trying

[issue45928] Set up file stream for redirecting GC logs

2021-11-29 Thread penguin_wwy
penguin_wwy <940375...@qq.com> added the comment: Sorry, parameter type is `TextIOWrapper`, not `TestIOWrapper` -- ___ Python tracker ___

[issue23764] [doc] Reference inspect.Signature.bind from functools.wraps documentation

2021-11-29 Thread Irit Katriel
Change by Irit Katriel : -- title: Reference inspect.Signature.bind from functools.wraps documentation -> [doc] Reference inspect.Signature.bind from functools.wraps documentation versions: +Python 3.11 -Python 3.4, Python 3.5 ___ Python tracker

[issue45928] Set up file stream for redirecting GC logs

2021-11-29 Thread penguin_wwy
penguin_wwy <940375...@qq.com> added the comment: Thank you for the reminder. At first, I wanted to analyze the effectiveness of GC through logs. However, because GC through the stderr output, these logs are mixed in with other output(such as warnings). This make it difficult to handle them

[issue21915] [doc] telnetlib.Telnet constructor does not match telnetlib.Telnet.__init__ docstring

2021-11-29 Thread Irit Katriel
Change by Irit Katriel : -- title: telnetlib.Telnet constructor does not match telnetlib.Telnet.__init__ docstring -> [doc] telnetlib.Telnet constructor does not match telnetlib.Telnet.__init__ docstring type: -> enhancement versions: +Python 3.11 -Python 2.7, Python 3.4

[issue45930] Lambda function bug

2021-11-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This is known behaviour due to binding. Please see https://docs.python.org/3/faq/programming.html#why-do-lambdas-defined-in-a-loop-with-different-values-all-return-the-same-result -- nosy: +xtreak ___

[issue26552] Failing ensure_future still creates a Task

2021-11-29 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3354] Improve error reporting for the argument parsing C API

2021-11-29 Thread Irit Katriel
Irit Katriel added the comment: Reproduced in 3.11: >>> sorted([1,2,3], reverse=None) Traceback (most recent call last): File "", line 1, in TypeError: 'NoneType' object cannot be interpreted as an integer -- nosy: +iritkatriel versions: +Python 3.11 -Python 3.3

[issue26552] Failing ensure_future still creates a Task

2021-11-29 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5 ___ Python tracker ___

[issue45930] Lambda function bug

2021-11-29 Thread Valery Lovchikov
New submission from Valery Lovchikov : Python 3.9.7 (default, Sep 10 2021, 14:59:43) [GCC 11.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> f=[lambda x: y**x for y in [2,3]] >>> f[0](2) 9 >>> f[1](2) 9 = I expected 4 as a result of f[0](2),

[issue45881] Cross compiling on Linux is untested, undocumented, and broken

2021-11-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset 992565f7f72fd8250b788795f76eedcff5636a64 by Christian Heimes in branch 'main': bpo-45881: configure --with-freeze-module --with-build-python (GH-29835) https://github.com/python/cpython/commit/992565f7f72fd8250b788795f76eedcff5636a64

[issue45916] documentation link error

2021-11-29 Thread Zachary Ware
Zachary Ware added the comment: We had a similar report in bpo-45620, but as Dennis and Eric reported in that issue, I can't reproduce that behavior here. We are using a non-HTTPS link there even though the site supports HTTPS; I'm not sure if fixing that might actually fix things for you

[issue23017] string.printable.isprintable() returns False

2021-11-29 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.4, Python 3.5 ___ Python tracker ___

[issue45929] extend json.tool --json-lines to ignore empty rows

2021-11-29 Thread Vito De Tullio
New submission from Vito De Tullio : It would be useful to let json.tool support empty rows during handling of json lines generally speaking, this tolerance is already present in parsers like srsly and jsonlines actual behavior: # happy scenario $ echo -e '{"foo":1}\n{"bar":2}' | python3.10

[issue45928] Set up file stream for redirecting GC logs

2021-11-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks for opening this issue..I think you need to elaborate a bit more about this feature you are suggesting. In general we don't allow this kind of facilities to redirect to file stream anywhere else in the interpreter. -- nosy: +pablogsal

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset b394af13f69c1a2ac0e7d32dabf6d86443606ab2 by Christian Heimes in branch 'main': bpo-45847: PY_STDLIB_MOD_SIMPLE now checks py_stdlib_not_available (GH-29844) https://github.com/python/cpython/commit/b394af13f69c1a2ac0e7d32dabf6d86443606ab2

[issue45928] Set up file stream for redirecting GC logs

2021-11-29 Thread penguin_wwy
Change by penguin_wwy <940375...@qq.com>: -- keywords: +patch pull_requests: +28077 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29848 ___ Python tracker

[issue45928] Set up file stream for redirecting GC logs

2021-11-29 Thread penguin_wwy
New submission from penguin_wwy <940375...@qq.com>: Set up file stream for redirecting logs by adding a parameter in `set_debug`. The stderr is used by default. -- components: Library (Lib) messages: 407286 nosy: penguin_wwy priority: normal severity: normal status: open title: Set up

[issue24301] gzip module failing to decompress valid compressed file

2021-11-29 Thread Ruben Vorderman
Change by Ruben Vorderman : -- keywords: +patch pull_requests: +28076 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29847 ___ Python tracker ___

Re: pyinstaller wrong classified as Windows virus

2021-11-29 Thread Ulli Horlacher
anthony.flury wrote: > > On 26/11/2021 07:13, Ulli Horlacher wrote > >> But consider another possibility that your compiler software is compromised > > Then https://www.python.org/ftp/python/3.10.0/python-3.10.0-amd64.exe > > is infected. I doubt this. > > But you aren't using python3.10 to

[issue45828] [sqlite3] use unraisable exceptions in callbacks

2021-11-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset c4a69a4ad035513ada1c0d41a46723606b538e13 by Erlend Egeberg Aasland in branch 'main': bpo-45828: Use unraisable exceptions within sqlite3 callbacks (FH-29591)

[issue40280] Consider supporting emscripten/webassembly as a build target

2021-11-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset 6ac3c8a3140c17bd71ba98dfc5250c371101e77c by Christian Heimes in branch 'main': bpo-40280: Emscripten systems use .wasm suffix by default (GH-29842) https://github.com/python/cpython/commit/6ac3c8a3140c17bd71ba98dfc5250c371101e77c --

[issue45476] [C API] Disallow using PyFloat_AS_DOUBLE() as l-value

2021-11-29 Thread STINNER Victor
STINNER Victor added the comment: PyBytes_AS_STRING() and PyByteArray_AS_STRING() are used to modify string characters, but not used directly as l-value. Search in PyPI top 5000 packages: $ ./search_pypi_top_5000.sh '(PyByteArray|PyBytes)_AS_.*[^!<>=]=[^=]'

[issue24301] gzip module failing to decompress valid compressed file

2021-11-29 Thread Ruben Vorderman
Ruben Vorderman added the comment: Whoops. Sorry, I spoke before my turn. If gzip implements it, it seems only logical that python's *gzip* module should too. I believe it can be fixed quite easily. The code should raise a warning though. I will make a PR. --

[issue45723] Improve and simplify configure.ac checks

2021-11-29 Thread miss-islington
miss-islington added the comment: New changeset c1dec9540ab04691f8d4a131671e069913e6eee3 by Erlend Egeberg Aasland in branch 'main': bpo-45723: Sort the grand AC_CHECK_HEADERS check (GH-29846) https://github.com/python/cpython/commit/c1dec9540ab04691f8d4a131671e069913e6eee3 --

[issue45875] gzip.decompress performance can be improved with memoryviews

2021-11-29 Thread Ruben Vorderman
Change by Ruben Vorderman : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue24301] gzip module failing to decompress valid compressed file

2021-11-29 Thread Ruben Vorderman
Ruben Vorderman added the comment: >From the spec: https://datatracker.ietf.org/doc/html/rfc1952 2.2. File format A gzip file consists of a series of "members" (compressed data sets). The format of each member is specified in the following section. The members simply

[issue45912] [argparse] Print texts starting with capital letters and finish with dot for more formality

2021-11-29 Thread Eric V. Smith
Eric V. Smith added the comment: I agree with @iritkatriel. Also, such a change to argparse would be too disruptive. So, I'm going to close this. -- components: +Library (Lib) -Parser nosy: +eric.smith resolution: -> wont fix stage: -> resolved status: open -> closed type: ->

[issue44675] Cross-platform issues with private methods and multiprocessing

2021-11-29 Thread Andrei Kulakov
Andrei Kulakov added the comment: If we are not going to fix this issue in pickling at this time, I think it makes sense to raise an error with a good, clear explanation in multiprocessing.Process(target=self.__method), which is affected by this and caused some confusion in this issue:

[issue45926] singledispatchmethod doesn't handle named arguments

2021-11-29 Thread Alex Waygood
Alex Waygood added the comment: This is arguably a duplicate of https://bugs.python.org/issue41122 -- nosy: +AlexWaygood, lukasz.langa, rhettinger versions: +Python 3.11 ___ Python tracker

[issue45927] timeit accepts -c/--clock and -t/--time without any functionality

2021-11-29 Thread Marc-Andre Lemburg
New submission from Marc-Andre Lemburg : >From the code: opts, args = getopt.getopt(args, "n:u:s:r:tcpvh", ["number=", "setup=", "repeat=", "time", "clock", "process", "verbose",

[Python-announce] ANN: astropy 5.0 released

2021-11-29 Thread Thomas Robitaille
Dear colleagues, We are very happy to announce the v5.0 release of astropy, a core Python package for Astronomy: http://www.astropy.org The astropy core package is a community-driven Python package intended to contain much of the core functionality and common tools needed for astronomy and

[issue45723] Improve and simplify configure.ac checks

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

[issue45902] Bytes and bytesarrays can be sorted with a much faster count sort.

2021-11-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 26.11.2021 10:56, Ruben Vorderman wrote: > > $ python -m timeit -c "from bytes_sort import bytes_sort" "bytes_sort(b'')" > 50 loops, best of 5: 495 nsec per loop Shouldn't this read: $ python -m timeit -s "from bytes_sort import bytes_sort"

[issue45114] bad example for os.stat

2021-11-29 Thread jiahua wang
Change by jiahua wang : -- keywords: +patch nosy: +wangjiahua nosy_count: 2.0 -> 3.0 pull_requests: +28074 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29845 ___ Python tracker

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-29 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28073 pull_request: https://github.com/python/cpython/pull/29844 ___ Python tracker ___

[issue44391] PC/launcher.c,one more argument than required

2021-11-29 Thread Vinay Sajip
Change by Vinay Sajip : -- keywords: +patch pull_requests: +28072 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29843 ___ Python tracker ___

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset f7a62f24053c82cf38c3db5848d9ff014470fa40 by Erlend Egeberg Aasland in branch 'main': bpo-45847: Make socket module conditional (GH-29769) https://github.com/python/cpython/commit/f7a62f24053c82cf38c3db5848d9ff014470fa40 --

[issue40280] Consider supporting emscripten/webassembly as a build target

2021-11-29 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28071 pull_request: https://github.com/python/cpython/pull/29842 ___ Python tracker ___

[issue35821] Clarify when logging events are propagated when propagate is true

2021-11-29 Thread Vinay Sajip
Change by Vinay Sajip : -- keywords: +patch pull_requests: +28070 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/29841 ___ Python tracker

[issue43498] "dictionary changed size during iteration" error in _ExecutorManagerThread

2021-11-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45926] singledispatchmethod doesn't handle named arguments

2021-11-29 Thread Alisson Oliveira
New submission from Alisson Oliveira : `functools.singledispatchmethod` doesn't handle named arguments. Ex: ```python from functools import singledispatchmethod class Test: def __init__(self): ... @singledispatchmethod def get(self, filters): return 'Not

[issue45886] Fix Program/_freeze_module for cross compiling Python

2021-11-29 Thread Christian Heimes
Christian Heimes added the comment: The issue is related to bpo-45873. The Debian buildbot has an ancient Python version that does not support f-strings. -- ___ Python tracker

[issue45786] Avoid allocating when exiting frame; it may be unsafe.

2021-11-29 Thread Mark Shannon
Mark Shannon added the comment: New changeset 60929576e40038ec71d896230f69e4411c82be4b by Mark Shannon in branch 'main': bpo-45786: Allocate space for frame in frame object. (GH-29729) https://github.com/python/cpython/commit/60929576e40038ec71d896230f69e4411c82be4b --

[issue43498] "dictionary changed size during iteration" error in _ExecutorManagerThread

2021-11-29 Thread miss-islington
miss-islington added the comment: New changeset 3b9d886567c4fc6279c2198b6711f0590dbf3336 by Miss Islington (bot) in branch '3.9': bpo-43498: Fix dictionary iteration error in _ExecutorManagerThread (GH-24868) https://github.com/python/cpython/commit/3b9d886567c4fc6279c2198b6711f0590dbf3336

[issue43498] "dictionary changed size during iteration" error in _ExecutorManagerThread

2021-11-29 Thread miss-islington
miss-islington added the comment: New changeset 4b11d7118561a12322d3cfa76c5941690b241149 by Miss Islington (bot) in branch '3.10': bpo-43498: Fix dictionary iteration error in _ExecutorManagerThread (GH-24868) https://github.com/python/cpython/commit/4b11d7118561a12322d3cfa76c5941690b241149

[issue45924] Incorrect traceback when future's exception is raised multiple times

2021-11-29 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: -28067 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45886] Fix Program/_freeze_module for cross compiling Python

2021-11-29 Thread Irit Katriel
Irit Katriel added the comment: Is this related to this issue or something else? https://buildbot.python.org/all/#/builders/310/builds/344 gcc -pthread -c -Wsign-compare -g -Og -Wall-std=c99 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers

[issue19460] Add test for MIMENonMultipart

2021-11-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.9 ___ Python tracker ___

[issue45813] Importing asyncio after deleting a coroutine object and before cleaning it up leads to crashing on Python3.11

2021-11-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue43498] "dictionary changed size during iteration" error in _ExecutorManagerThread

2021-11-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +28069 pull_request: https://github.com/python/cpython/pull/29837 ___ Python tracker ___

[issue43498] "dictionary changed size during iteration" error in _ExecutorManagerThread

2021-11-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 7431448b817d3bf87f71661cf8f3d537807ab2e2 by Jakub Kulík in branch 'main': bpo-43498: Fix dictionary iteration error in _ExecutorManagerThread (GH-24868) https://github.com/python/cpython/commit/7431448b817d3bf87f71661cf8f3d537807ab2e2

[issue43498] "dictionary changed size during iteration" error in _ExecutorManagerThread

2021-11-29 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 11.0 -> 12.0 pull_requests: +28068 pull_request: https://github.com/python/cpython/pull/29836 ___ Python tracker

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

2021-11-29 Thread Erlend E. Aasland
New submission from Erlend E. Aasland : SQLite 3.37.0 was released a couple of days ago: https://sqlite.org/releaselog/3_37_0.html Given that 3.11 feature freeze is approx. May 2022, and that it took approx. 5 months between SQLite 3.36.0 and 3.37.0, I'd say we aim for a field tested SQLite

[issue45924] Incorrect traceback when future's exception is raised multiple times

2021-11-29 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +28067 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29780 ___ Python tracker ___

[issue45924] Incorrect traceback when future's exception is raised multiple times

2021-11-29 Thread Irit Katriel
New submission from Irit Katriel : Background: https://github.com/python/cpython/pull/29780#issuecomment-981170548 https://github.com/python/cpython/pull/29780#issuecomment-981260365 ## import asyncio, traceback async def raise_after(fut,

[issue45881] Cross compiling on Linux is untested, undocumented, and broken

2021-11-29 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28066 pull_request: https://github.com/python/cpython/pull/29835 ___ Python tracker ___

[issue40280] Consider supporting emscripten/webassembly as a build target

2021-11-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset b3f443a35e08a473d52868621e9b268259139cb2 by Erlend Egeberg Aasland in branch 'main': bpo-40280: Disable unusable core extension modules on emscripten (GH-29834) https://github.com/python/cpython/commit/b3f443a35e08a473d52868621e9b268259139cb2

[issue45923] Improve performance of sys.settracing based tools.

2021-11-29 Thread Mark Shannon
New submission from Mark Shannon : In our quest for performance, the performance of sys.settracing based tools has probably gotten worse. 1. How do we measure this? 2. How do fix this? We will initially use coverage.py as proxy for all sys.settracing based tools when measuring performance.

[issue45921] codecs module doesn't support iso-8859-6-i, iso-8859-6-e, iso-8859-8-i or iso-8859-8-i

2021-11-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Even though these are IANA recognized encodings, we need to apply he same logic as we do for all new encodings, which essentially boils down to: Are these encoding in wider spread use today ? Reading through the RFC 1556, it seems that the added -i or

[issue43498] "dictionary changed size during iteration" error in _ExecutorManagerThread

2021-11-29 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +colesbury ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45921] codecs module doesn't support iso-8859-6-i, iso-8859-6-e, iso-8859-8-i or iso-8859-8-i

2021-11-29 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___ ___

[issue45870] There's no readline module on Windows Python (cmd.Cmd)

2021-11-29 Thread keeely
keeely added the comment: I'm attaching an example usage of cmd + readline to show how you can have context-specific history for sub-shells. WARNING: WRITES FILES TO CWD! In the event that someone does implement this on Windows it would be nice if this worked. That doesn't mean

[issue43498] "dictionary changed size during iteration" error in _ExecutorManagerThread

2021-11-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- assignee: -> asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43498] "dictionary changed size during iteration" error in _ExecutorManagerThread

2021-11-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks for the report. Atomic copy (`list(self.processes.values()`) should fix the bug, sure. I doubt if writing a reliable test for this situation is possible; multithreading is hard. I think we can accept a patch without a test but with an inline comment

[issue40280] Consider supporting emscripten/webassembly as a build target

2021-11-29 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland nosy_count: 11.0 -> 12.0 pull_requests: +28065 pull_request: https://github.com/python/cpython/pull/29834 ___ Python tracker

[issue45922] Many method, function, built-in... are not clickable and should be

2021-11-29 Thread Arthur Milchior
Arthur Milchior added the comment: Thanks for the warning about double link. I agree with you. I guess it's another reason why it would be non trivial to automate here. -- ___ Python tracker

[issue45870] There's no readline module on Windows Python (cmd.Cmd)

2021-11-29 Thread keeely
keeely added the comment: Regrettably I cannot submit a PR for the docs because I value my online anonymity and Python submissions require a real name (IIRC), but my suggestion would be pretty simple. Taking as an example, for termios (https://docs.python.org/3/library/termios.html), we

[issue45614] traceback of exception with non-unicode __module__

2021-11-29 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45614] traceback of exception with non-unicode __module__

2021-11-29 Thread Irit Katriel
Irit Katriel added the comment: New changeset 5b6aa6ce20b5b3b45dec2ebd6355e248cdf2fbcc by Irit Katriel in branch '3.9': bpo-45614: Fix traceback display for exceptions with invalid module name (GH-29726) (GH-29827)

[issue45614] traceback of exception with non-unicode __module__

2021-11-29 Thread Irit Katriel
Irit Katriel added the comment: New changeset 4d2cc3ed46d2453bad92243128e237e7febca714 by Irit Katriel in branch '3.10': bpo-45614: Fix traceback display for exceptions with invalid module name (GH-29726) (GH-29826)

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset 4dc198dedd66e3247aa934fb91c9a158c3eea15a by Christian Heimes in branch 'main': bpo-45847: Fix _multiprocessing on platforms without sem_open (GH-29833) https://github.com/python/cpython/commit/4dc198dedd66e3247aa934fb91c9a158c3eea15a

[issue45739] The Python implementation of Decimal does not support the "N" format

2021-11-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You are right about an uppercase converter. I forget this. I withdraw this proposition. It seems that even if we add support of "N" to all numeric formatting it will not cover all use cases. "n" is a locale specific variant of "g", but other formats

Re: print('\N{flag: Mauritius}') not supported in py3.9

2021-11-29 Thread dn via Python-list
On 29/11/2021 12.06, Cameron Simpson wrote: > On 29Nov2021 09:19, Chris Angelico wrote: >> On Mon, Nov 29, 2021 at 8:10 AM dn via Python-list >> wrote: >>> However, when trying the above, with our local flag in (Fedora Linux, >>> Gnome) Terminal or PyCharm's Run terminal; the two letters "N" and

[issue23819] test_asyncio fails when run under -O

2021-11-29 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45922] Many method, function, built-in... are not clickable and should be

2021-11-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is a good idea in general. Please go ahead, I am sure that the PR will be accepted. But keep in mind that not always additional links make the documentation better. The rule of tumb is to not add multiple links to the same entity in one paragraph. In

[issue37658] In some cases asyncio.wait_for can lead to socket leak.

2021-11-29 Thread miss-islington
miss-islington added the comment: New changeset 305236e03a274850be8ed399ea3390ee71519ef4 by Miss Islington (bot) in branch '3.10': bpo-37658: Actually return result in race condition (GH-29202) https://github.com/python/cpython/commit/305236e03a274850be8ed399ea3390ee71519ef4 --

[issue43498] "dictionary changed size during iteration" error in _ExecutorManagerThread

2021-11-29 Thread Mark Ao
Mark Ao added the comment: I'm experiencing the same issue on Python 3.10.0 when I execute the code that uses concurrent.futures.ProcessPoolExecutor. Exception in thread Thread-1: Traceback (most recent call last): File "/usr/local/lib/python3.10/threading.py", line 1009, in

[issue45922] Many method, function, built-in... are not clickable and should be

2021-11-29 Thread Alex Waygood
Alex Waygood added the comment: I'm already attempting something similar over at https://bugs.python.org/issue45840 (though that issue is for one specific piece of documentation). See also my attached PR, and the comments on it :) -- nosy: +AlexWaygood, eric.araujo versions:

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-29 Thread Christian Heimes
Christian Heimes added the comment: GH-29768 broke builds on platforms without sem_open (e.g. wasm). GH-29833 fixes the issue. emcc -Wsign-compare -g -O0 -Wall-std=c99 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-29 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28064 pull_request: https://github.com/python/cpython/pull/29833 ___ Python tracker ___

[issue37658] In some cases asyncio.wait_for can lead to socket leak.

2021-11-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +28063 pull_request: https://github.com/python/cpython/pull/29831 ___ Python tracker ___

[issue37658] In some cases asyncio.wait_for can lead to socket leak.

2021-11-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 934a82623793e9d52b85f74d5395d65927a52205 by Sam Bull in branch 'main': bpo-37658: Actually return result in race condition (GH-29202) https://github.com/python/cpython/commit/934a82623793e9d52b85f74d5395d65927a52205 --

[issue37658] In some cases asyncio.wait_for can lead to socket leak.

2021-11-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +28062 pull_request: https://github.com/python/cpython/pull/29832 ___ Python tracker ___

<    1   2