Michael Merickel added the comment:
Updated affected versions as I ran into this on 3.9.7.
--
nosy: +mmerickel
versions: +Python 3.9
___
Python tracker
<https://bugs.python.org/issue22
New submission from Michael Hupfer :
Hi there,
connecting a multiprocessing.connection.Client to an ipv6 address is not
possible, since the address family is not passed into the constructor of class
SocketClient. The constructor determines the family by calling
address_type(address), which
Change by Michael J. Sullivan :
--
keywords: +patch
pull_requests: +29517
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31367
___
Python tracker
<https://bugs.python.org/issu
New submission from Michael J. Sullivan :
class A:
def foo(self, cls): return 1
class B: pass
class B:
bar = classmethod(A().foo)
B.bar()
In Python 3.8 and prior, this worked. Since Python 3.9, it produces "TypeError:
A.foo() missing 1 required positional argument:
Michael McCoy added the comment:
Checking my comment history here, a past me was terribly bad at linking the
correct PR on github.This is the correct link:
https://github.com/python/cpython/pull/6461
On Mon, Feb 7, 2022 at 10:12 AM Guido van Rossum
wrote:
>
> Guido van Rossum add
Change by Michael Felt :
--
nosy: -Michael.Felt
___
Python tracker
<https://bugs.python.org/issue40170>
___
___
Python-bugs-list mailing list
Unsubscribe:
Michael P. Nitowski added the comment:
Of course, here's an example script to reproduce:
```
import logging
import warnings
import sentry_sdk
from sentry_sdk.integrations.logging import LoggingIntegration
logging.captureWarnings(True)
sentry_logging = LoggingIntegration(
Change by Michael P. Nitowski :
--
keywords: +patch
pull_requests: +29154
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30975
___
Python tracker
<https://bugs.python.org/issu
New submission from Michael P. Nitowski :
Systems that aggregate logs like Sentry will group all captured warnings under
the same event which makes it difficult to assess common warnings
--
components: Library (Lib)
messages: 411947
nosy: mnito
priority: normal
severity: normal
status
Michael Curran added the comment:
PR: https://github.com/python/cpython/pull/26204
Looks like a maintainer needs to allow a workflow to run for the remaining
checks.
--
___
Python tracker
<https://bugs.python.org/issue38
Michael Curran added the comment:
As requested, I created a pr which adds a test to show the crash. It is marked
as expected failure on 32 bit (x86) and runs successfully as expected on x64.
What would be the next steps in moving this issue forward?
I don't think I have the knowledge
Change by Michael Thorpe :
--
keywords: +patch
pull_requests: +27748
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29499
___
Python tracker
<https://bugs.python.org/issu
New submission from Michael Thorpe :
urllib.request.urlopen can raise socket.timeout, outside of the documented
contract, if reading response data times out.
--
components: Library (Lib)
messages: 406038
nosy: thorpe-dev
priority: normal
severity: normal
status: open
title
Michael Felt added the comment:
I stopped running my bot. I have no idea if this is also an issue on 3.9+
And since noone will look at this in it's present state. I'd recommend closing.
--
___
Python tracker
<https://bugs.python.o
New submission from Michael Wayne Goodman :
Both the Python and C versions of xml.etree.ElementTree allow Element.extend()
to accept a sequence or an iterable, such as a generator expression (although
the docs only mention "sequence"; that's a separate problem):
>>&g
Michael Herrmann added the comment:
I just encountered what seems to be the inverse problem of this issue: #45585
--
nosy: +mherrmann.at
___
Python tracker
<https://bugs.python.org/issue40
New submission from Michael Herrmann :
Consider the following:
import gzip
import subprocess
with gzip.open('test.gz', 'wb') as f:
subprocess.run(['echo', 'hi'], stdout=f)
with gzip.open('test.gz', 'rb') as f:
print(f.re
Michael Wayne Goodman added the comment:
Also, the first sentences of third paragraph have some problems:
> For both the Unix and Windows versions of the constructor,
> access may be specified as an optional keyword
> parameter. access accepts one of four values: ACCESS_READ,
>
Michael Robellard added the comment:
An example of multiple descriptors would be to have:
@cached_property
@property
def expensive_calc(self):
#Do something expensive
--
___
Python tracker
<https://bugs.python.org/issue39
Michael Robellard added the comment:
I can confirm that Juan Arrivillaga (juanpa.arrivillaga) workaround does work.
Given that it works, then wouldn't it be relatively trivial to do what
Thomas701 suggests and add a descriptor parameter to fields. Then apply the
descriptor after al
Michael Wayne Goodman added the comment:
I have added a draft PR on GitHub that adds the lists of constants. As
mentioned in the PR, there are a few things that I think could be added before
merging:
1. Update descriptions in mmap.mmap, and maybe the intro, to link to relevant
sections.
2
Change by Michael Wayne Goodman :
--
keywords: +patch
pull_requests: +27343
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29075
___
Python tracker
<https://bugs.python.org/issu
New submission from Michael Wayne Goodman :
Some constants mentioned in the mmap module documentation are not listed as
module contents (i.e., with permalinks), so the mentions do not appear as links
and it's not explicit that they are in the mmap module namespace. For instance,
ACCESS
Michael Sullivan added the comment:
I tend to agree with Carl that making Final imply ClassVar for dataclass would
make things worse.
For better or worse (mostly better, but there are downsides like this!),
dataclass class bodies are essentially written in their own domain specific
Michael L. Boom added the comment:
Is there anything that I can do, or the company I work for can do, to get a
developer assigned to fix this bug? It is hard to use multiprocessing remote
method calls without this bug being fixed. The software wouldn't be robust
enough for produ
Michael Rans added the comment:
Thanks for all your help and advice.
--
___
Python tracker
<https://bugs.python.org/issue45093>
___
___
Python-bugs-list mailin
Michael Rans added the comment:
Thank you. Another case is in round trip processing of JSON or YML. Other cases
are where you would prefer an OrderedDict over a dict.
I think the method would help clarify things because it would make it obvious
that it is for ordered comparisons while the
Michael Rans added the comment:
My use case is in testing. Currently I use an OrderedDict, but since dict
introduced ordering in 3.7, I was considering switching. For my test, I need to
check that the dictionary is the same both in content and order. I can indeed
use your one liner, but
Change by Michael Rans :
--
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue45093>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Michael Rans :
I suggest adding a method that allows comparing dicts taking into account the
order - an ordered compare (since == does not do that).
(Also for my other issue (https://bugs.python.org/issue45092) where I suggested
that set be ordered to reduce confusion
New submission from Michael Rans :
Now that dict is ordered, it is a bit confusing that set isn't as well. I
suggest making set ordered too.
--
messages: 400974
nosy: mcarans
priority: normal
severity: normal
status: open
title: Make set ordered like dict
type: behavior
ver
Michael Förderer added the comment:
Done.
--
___
Python tracker
<https://bugs.python.org/issue44817>
___
___
Python-bugs-list mailing list
Unsubscribe:
Michael Förderer added the comment:
Updated with ERROR_BAD_NETPATH (53).
What about following errors:
- ERROR_LOCK_VIOLATION (33)
- ERROR_DEV_NOT_EXIST (52)
- ERROR_BAD_NET_RESP (58)
- ERROR_UNEXP_NET_ERR (59)
- ERROR_NETNAME_DELETED (64)
- ERROR_NETWORK_ACCESS_DENIED (65)
- ERROR_BAD_DEV_TYPE
Change by Michael Förderer :
--
keywords: +patch
pull_requests: +26081
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/27574
___
Python tracker
<https://bugs.python.org/issu
New submission from Michael Förderer :
Using os.path.realpath(...) in the MVFS of Clearcase SCM (virtual file system)
in Windows 10 a exception occures:
X:\my_view\tools\python\3_8>python.exe
Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit
(AMD64)] on win32
T
New submission from Michael Wang :
Ultimately it seems that deep recursion after setting the recursion limit
actually crashes python
--
components: Interpreter Core
files: bug.py
messages: 398619
nosy: michaeljwang10
priority: normal
severity: normal
status: open
title: Recursion
Change by Michael Hofmann :
--
nosy: +mhofmann
___
Python tracker
<https://bugs.python.org/issue39820>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Michael :
--
title: dict with more than two type parameters doesn't raise a TypeError ->
dict/list with more than two type parameters doesn't raise a TypeError
___
Python tracker
<https://bugs.pytho
Michael added the comment:
Same for list btw
Python 3.9.6 (default, Jul 7 2021, 11:41:04)
[Clang 12.0.5 (clang-1205.0.22.9)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> list[str, str, str]
list[str, s
New submission from Michael :
dict with three type parameters is legal (e.g., dict[str, str, str]), where I
expected a TypeError. When using typing.Dict, it does raise a TypeError.
Example in python 3.9:
>>> from typing import Dict
>>> Dict[str, str, str] # Raises a Type
Michael Amrhein added the comment:
The background is an implementation of __pow__ for a fixed-point decimal number:
SupportsIntOrFloat = Union[SupportsInt, SupportsFloat]
def __pow__(self, other: SupportsIntOrFloat, mod: Any = None) -> Complex:
if isinstance(other, Supports
New submission from Michael Amrhein :
While int, float, complex and Decimal implement __int__, Fraction does not.
Thus, checking for typing.SupportsInt for fractions fails, although
int() succeeds, because Fraction implements __trunc__.
This looks inconsistent.
Easiest fix seems to be
Michael Cuthbert added the comment:
It may be helpful for the enum module to come with transitional functions like
"pre310_str()" "pre310_repr()" "pre310_flag_str()" etc. so that people who are
writing doctests that need to function on both < 3.10 and
Michael Osipov <1983-01...@gmx.net> added the comment:
Thanks Andrei, please ahead and provide the PR. You'll do it faster than I do.
--
___
Python tracker
<https://bugs.python.
Michael L. Boom added the comment:
I don't think I even got this working on the small scale. The unit test in the
bug report is about as small as it gets and it doesn't work. The issue still
exists in Python 3.9.5.
--
___
Python track
Michael Robellard added the comment:
The sample I uploaded doesn't do any processing, but the use case originally
had some logic inside the property getter/setter, would the alias idea allow
for that? The purpose of the property is to add some logic to compute the value
if it ha
Michael Hirsch, Ph.D. added the comment:
Correction:
Example: on Windows if ./foo.exe exists, then shutil.which('./foo') returns
None.
--
___
Python tracker
<https://bugs.python.o
Change by Michael Hirsch, Ph.D. :
--
keywords: +patch
pull_requests: +25053
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/26458
___
Python tracker
<https://bugs.python.org/issu
New submission from Michael Hirsch, Ph.D. :
The early short-circuit logic in shutil.which() when cmd includes a directory
component incorrectly gives None on Windows if the correct filename suffix was
not also given.
Example: on Windows if ./foo.exe exists, then shutil.which('./fo
Change by Michael Forney :
--
keywords: +patch
pull_requests: +24843
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/26226
___
Python tracker
<https://bugs.python.org/issu
New submission from Michael Forney :
When subwin() is used to create a subwindow for an original window, it does not
keep a reference to the original window object. This can result in the original
window getting deleted with delwin() before the subwindow.
According to the X/Open curses
New submission from Michael Cuthbert :
The What's New in Python 3.10 docs demonstrates a richer SyntaxError for this
set comprehension:
>>> {x,y for x,y in range(100)}
File "", line 1
{x,y for x,y in range(100)}
^
SyntaxError: did you forget parentheses
Seth Michael Larson added the comment:
Leaving a thought here, I'm highlighting that we're now implementing two
different standards, RFC 3986 with hints of WHATWG-URL. There are pitfalls to
doing so as now a strict URL parser for RFC 3986 (like the one used by
urllib3/requests)
Change by Michael Felt :
--
type: -> crash
___
Python tracker
<https://bugs.python.org/issue43659>
___
___
Python-bugs-list mailing list
Unsubscrib
Michael Felt added the comment:
Dome some 'dumb' testing - and I hope this helps understand why it is failing:
With the the last two func() calls commented out, the function passes:
def test_output_string(self):
stdscr = self.stdscr
encoding = stdsc
Michael Felt added the comment:
Disregard the last mail -seems many routines go to unresolved.
On 15/08/2020 20:43, Stefan Krah wrote:
> Change by Stefan Krah :
>
>
> --
> assignee: -> skrah
> resolution: -> fixed
> stage: patch review -> resolved
&
New submission from Michael Dudley :
On my machine platform.win32_ver() and sys.getwindowsversion() are returning
different Windows build numbers. I have confirmed this with Python 3.7.6,
3.8.5, and 3.9.2 (all 64-bit) on Windows 10.
platform.win32_ver() returns:
('10', &
Michael Curran added the comment:
This bug is reproduceable on both Python 3.8 and 3.9. But not 3.7.
Ths bug is seen in the real world, in the context of providing Python callbacks
to Win32 API functions, or when implementing comtypes COM objects in Python.
For example, we see this crash in
Michael Curran added the comment:
I can also reproduce this. I will attach my own testcase below.
So far I see it when the callback is __stdcall (WINFUNCTYPE) and it takes an
larger than 4 bytes (E.g. a long long or a VARIANT), with one or more arguments
preceeding it such that this argument
Change by Michael Hall :
--
versions: +Python 3.10, Python 3.9
___
Python tracker
<https://bugs.python.org/issue39232>
___
___
Python-bugs-list mailing list
Unsub
Michael Felt added the comment:
Willing to spend more time on this - but the variable names chosen blind me -
looks like a circle.
And, thinking about the address in the core dump starting with 0xd (segment 13)
- confuses me somewhat - as from memory - I thought the shared library
code
New submission from Michael Osipov <1983-01...@gmx.net>:
Looking at
https://github.com/python/cpython/blob/63c69440c7adb0de1d191a8d3d100b335d5c2f81/Lib/http/client.py#L898
self.debuglevel is not passed to response_class() and for debugging purposes I
miss to see:
> send: b'CON
New submission from Michael Osipov <1983-01...@gmx.net>:
When working with proxies and HTTP CONNECT I came across these lines:
https://github.com/python/cpython/blob/63c69440c7adb0de1d191a8d3d100b335d5c2f81/Lib/http/client.py#L901-L903
I truly fail to see why this is an OSError. OS
Michael Felt added the comment:
OK. Please explain. Looking at tstate assignment
In posixmodule.c:PyOSAfterFork_Child()
PyStatus status;
_PyRuntimeState *runtime = &_PyRuntime;
...
PyThreadState *tstate = _PyThreadState_GET();
and later calls
st
Michael Felt added the comment:
OK: further.
Two options are suggested:
There are different options to solve this issue:
* Reset _tstate_lock before using it... not sure that it's worth it, since we
are going to delete the threading.Thread object with its _tstate_lock object
an
Michael Felt added the comment:
Adding 3.10.
While a (sort of) duplicate I also would like to add that before revision
"7cb033c423b65def1632d6c3c747111543b342a2" this was not showing up as an issue
with test_importlib.
my issue was with test_importlib suddenly going into error
Michael Felt added the comment:
On 31/03/2021 18:46, STINNER Victor wrote:
> STINNER Victor added the comment:
>
> test.test_importlib.test_threaded_import.ThreadedImportTests.test_multiprocessing_pool_circular_import
>
> This test comes from bpo-41567 and it simply runs a scri
Michael Felt added the comment:
Sure. Probably have to rebase first.
--
___
Python tracker
<https://bugs.python.org/issue28276>
___
___
Python-bugs-list mailin
Michael Felt added the comment:
On 30/03/2021 09:40, STINNER Victor wrote:
> STINNER Victor added the comment:
>
> A core dump is a very bad sign of health.
>
> Can you please try to bisect which test is causing the segfault using
> bisect_cmd? Try the command:
>
> ./p
Michael Felt added the comment:
FYI: from a core dump - top of where is:
Segmentation fault in winsnstr at 0xd3ebc050
0xd3ebc050 (winsnstr+0x190) a4190002 lhzu r0,0x2(r25)
(dbx) where
winsnstr(??, ??, ??) at 0xd3ebc050
unnamed block in IPRA.$_curses_window_insstr_impl(self
Michael Osipov <1983-01...@gmx.net> added the comment:
Just wasted two hours for this. Can someone really update the documentation of
it if this is not going to change.
--
nosy: +michael-o
___
Python tracker
<https://bugs.python.org/i
Change by Michael Felt :
--
keywords: +patch
pull_requests: +23845
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/25095
___
Python tracker
<https://bugs.python.org/issu
Michael Felt added the comment:
./python -m test -vuall -i test_output_string -i test_insert_delete test_curses
2>test.err 1>test.out
returns four failures: see attached
'-i test_output_string' stops the crash
--
Added file: https://bugs.python.org/fi
New submission from Michael Felt :
When working in a WPAR (workload partition) the routines supporting
aix_platform() may fail if there is no related builddate for bos.mp64.
a) the fileset queried is changed to `bos.rte`
b) an extreme value (9988) is returned for any similar (unexpected
New submission from Michael Felt :
Since issue43517 test_importlib 'fails' (bot status) with ENV_CHANGED.
The core dump is caused by SIGTRAP. I need help to learn how to stop the core
dump from being cleaned up so I can load it into dbx and hopefully
understand/learn with s
Michael Felt added the comment:
my default TERM=xterm
I'll also use 'ansi'
The filenames will be ${TERM}.err and ${TERM}.out
for TERM in xterm ansi; do
./python -m test -vuall test_curses 2>${TERM}.err >${TERM}.out
done
After TERM=ansi - my terminal is in raw mode
Michael Felt added the comment:
backports needed for 3.8 and 3.9
--
versions: +Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issue43
Change by Michael Felt :
--
keywords: +patch
pull_requests: +23824
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/25074
___
Python tracker
<https://bugs.python.org/issu
New submission from Michael Felt :
Since issue42789 the AIX bot's have crashed - to the extent that the bot's did
not even return results.
Part of this has been resolved, for now, by using:
$ export TERM=unknown
$ buildbot start buildarea
However, the test still crash because A
New submission from Michael L. Boom :
The client doesn't reconnect automatically, or explicitly. I just get
BrokenPipeError over and over.
Manager:
import multiprocessing.managers, os, sys, time
class TestClass(object):
def test_method(self):
prin
Change by Noor Michael :
--
keywords: +patch
pull_requests: +23411
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/24627
___
Python tracker
<https://bugs.python.org/issu
Noor Michael added the comment:
I will address the original issue regarding '%z', but the second issue actually
has to do with the Unicode representation of Turkish characters. In Turkish,
the letter I ('\u0049') is a capital ı ('\u0131') and the letter İ (
Michael Wayne Goodman added the comment:
Sorry, typo in my last statement. I did *not* verify if the behavior is the
same with earlier/later versions.
--
___
Python tracker
<https://bugs.python.org/issue20
Michael Wayne Goodman added the comment:
Sorry to resurrect an old bug, but I've also found the docs lacking and I can
fill in some gaps with some experimental results. Setup:
>>> import sqlite3
>>> conn = sqlite3.connect(':memory:')
>>>
New submission from Michael L. Boom :
The space is string, and either mechanism and/or response are bytes.
smtplib.py:634
response = encode_base64(initial_response.encode('ascii'), eol='')
(code, resp) = self.docmd("AUTH", mechanism + " " + re
New submission from Michael Clerx :
The unicode C-API documentation has a deprecation warning on this page:
https://docs.python.org/3.9/c-api/unicode.html#deprecated-py-unicode-apis
stating some functions are
Deprecated since version 3.3, will be removed in version 4.0.
But as far as I
Michael XU added the comment:
Thank you so much Walter. I think that might be it - it fixed this particular
instance, and it makes sense given what you have said. I'll proceed to close
this up but will follow up if I encounter this issue when the data has changed.
Thanks
New submission from Michael XU :
More details available here:
https://stackoverflow.com/questions/65676934/python-xml-parsers-expat-results-differ-based-on-buffer-text-true-or-false-and
Raw data to replicate the issue is available upon request.
--
components: XML
messages: 385086
nosy
Michael Felt added the comment:
OK - looking at this again.
This looks very similiar to another 'coredump' issue (will have to look for the
number later). iirc, when something called 'pgen', or similiar was modified.
Here is a lengthy `dbx` dump.
If I am reading t
Michael L. Boom added the comment:
The gcc 10.x seems to think this is also a bug:
/local/users/michael.l.boom/gits/scoring_engine/git/aae_build_python_3.9.1/include/python3.9/object.h:633:41:
error: expected ‘(’ before ‘PyType_HasFeature’
633 | #define PyType_FastSubclass(type, flag
Michael L. Boom added the comment:
The gcc 10.x thinks that the right side of the expression on
incoude/python3.9/object.h should be in parentheses. It seems like a Python
bug. Perhaps earlier versions of gcc didn't have a problem with this.
/local/users/michael.l.boom/gits/scoring_e
Michael L. Boom added the comment:
I thought the problem was in a Python file. Perhaps I am mistaken. The
libxml2 builds fine when using Python 3.8.x.
--
___
Python tracker
<https://bugs.python.org/issue42
New submission from Michael L. Boom :
When building libxml2 using Python 3.9.0 or Python 3.9.1 and gcc 10.2.0 I get
the below error. Others are having this problem according to my Google search.
make[4]: Entering directory
'/local/users/michael.l.boom/gits/scoring_engine/git/aae_tm
Michael Felt added the comment:
While my patch in working - was successful in what it attempted to do, it did
not fix this test issue.
Instead - I reinstalled the `bos.adt.libm-7.2.0.0` fileset, to backout of the
so-called bugfix/APAR IV95512.
@David - can you take this up with AIX support
Michael Felt added the comment:
I have been doing a lot of research on this. Wish I had thought do start the
way I finished.
Basically, when math.nextafter() was added all the AIX bots were on systems
running AIX earlier than AIX 7.2 TL2.
When AIX 7.2 TL2 was released (roughly Q3 2017) a
Michael Felt added the comment:
The 'issue' is that a package known as autoconf-archive must ALSO be installed
- so that aclocal has a definition for ax_check_compile_flag.
Guessing that resolution is `third_party` - If not, please explain what the
resolution flag i
Michael Felt added the comment:
This is beginning to look like it is an issue with the version of automake
installed:
aixtools@gcc119:[/home/aixtools/cpython/cpython-master]automake --version
Unescaped left brace in regex is deprecated, passed through in regex; marked by
<-- HERE i
Michael Felt added the comment:
This is what I find via bisect:
aixtools@gcc119:[/home/aixtools/cpython/cpython-master]git checkout . && git
bisect bad
c6d7e82d19c091af698d4e4b3623648e259843e3 is the first bad commit
commit c6d7e82d19c091af698d4e4b3623648e259843e3
Author: Petr Viktor
New submission from Michael Felt :
While working on a PR for issue42323 I get an error with the generated
./configure even without my patch.
Working from commit 37a6d5f8027f969418fe53d0a73a21003a8e370d
aixtools@gcc119:[/home/aixtools/cpython/cpython-master]git log --oneline | head
37a6d5f
Change by Michael Wayne Goodman :
--
keywords: +patch
pull_requests: +22738
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/23876
___
Python tracker
<https://bugs.python.org/issu
1 - 100 of 3045 matches
Mail list logo