[issue47149] DatagramHandler doing DNS lookup on every log message

2022-03-29 Thread Eric V. Smith
Eric V. Smith added the comment: > I blame the lack of standard POSIX functions for doing DNS lookups > asynchronously and in a way that provides TTL information to the client. I totally agree with that! And I agree it would be nice to have some way of doing non-blocking lookups when the

[issue47155] Strange behavior on the tuple that includes list

2022-03-29 Thread Furkan Onder
New submission from Furkan Onder : I am creating the tuple that includes a list and than I am trying to add new value to this list. Interpreter throw the error, but list is changing. I think it doesn't make sense. I think if we throw the type error, list shouldn't be change. >>> tup =

[issue39971] [doc] Error in functional how-to example

2022-03-29 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47031] math.nan should note that NANs do not compare equal to anything

2022-03-29 Thread Charlie Zhao
Charlie Zhao added the comment: I started a PR and some simple examples were added. It is helpful for those who are new to IEEE-754. According to Jelle's comments, the behavior of `float('nan') is float('nan')` may be changed in the future, so I just omit it and suggest users to use

[issue47149] DatagramHandler doing DNS lookup on every log message

2022-03-29 Thread Bruce Merry
Change by Bruce Merry : -- type: -> performance ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47149] DatagramHandler doing DNS lookup on every log message

2022-03-29 Thread Bruce Merry
New submission from Bruce Merry : logging.DatagramHandler uses socket.sendto to send the messages. If the given address is a hostname rather than an IP address, it will do a DNS lookup every time. I suspect that fixing issue 14855 will also fix this, since fixing that issue requires

[issue2604] doctest.DocTestCase fails when run repeatedly

2022-03-29 Thread Pi Delport
Pi Delport added the comment: Thanks! ️ -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45953] Statically allocate interpreter states as much as possible.

2022-03-29 Thread Julien Palard
Julien Palard added the comment: > Since you seem to be challenging the value of 9, my question to you > is, why do you care what the refcount of 1 is? Yesterday I was teaching Python, and we were speaking of integer immutability, names being "labels to objects" and so on, and I was

[issue47148] sys.path.append before import the module causing module don't have doc-string?

2022-03-29 Thread Rukchad Wongprayoon
New submission from Rukchad Wongprayoon : How to reproduce? 1. Make a random module with doc-string in the function 2. Make a python app in new folder (under the module folder) and import it by do ```py import sys sys.path.append("..") import ``` 3. then every function will don't have

[issue47148] sys.path.append before import the module causing module don't have doc-string?

2022-03-29 Thread Rukchad Wongprayoon
Change by Rukchad Wongprayoon : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47148] sys.path.append before import the module causing module don't have doc-string?

2022-03-29 Thread Rukchad Wongprayoon
Rukchad Wongprayoon added the comment: here's the example code parent/a.py ```py def multiply(): """multiply stuff""" return 69*420 ``` parent/another folder/b.py ```py import sys sys.path.append('..') import a a.multiply.__doc__ # None ``` --

[issue47148] sys.path.append before import the module causing module don't have doc-string?

2022-03-29 Thread Rukchad Wongprayoon
Rukchad Wongprayoon added the comment: seems like it doesn't appear in the help func too -- ___ Python tracker ___ ___

[issue47150] HTTPRedirectHandler fails on POST for 307 and 308

2022-03-29 Thread Jairo Llopis
New submission from Jairo Llopis : urllib.request.HTTPRedirectHandler fails if there is a 307 HTTP return code in a POST request. In https://github.com/python/cpython/commit/c379bc5ec9012cf66424ef3d80612cf13ec51006 the same behaviour was implemented for 308. According to

[issue32658] Metacharacter (\) documentation suggestion

2022-03-29 Thread mike mcleod
mike mcleod added the comment: Sorry, forgot this one. Would you like me to move this forward? Or do you want to take it? I don't mind either way. -- ___ Python tracker ___

[issue47102] explore hashlib use of the Linux Kernel CryptoAPI

2022-03-29 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +30251 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32173 ___ Python tracker

<    1   2