David Wilson added the comment:
Corrected GitHub link for the commit:
https://github.com/python/cpython/commit/880d42a3b24
--
___
Python tracker
<https://bugs.python.org/issue35
Change by David Wilson :
--
title: subprocess module breaks backwards compatibility with older import hooks
-> subprocess module breaks backwards compatibility with import hooks
___
Python tracker
<https://bugs.python.org/issu
David Wilson added the comment:
Having considered this for a few hours, it seems the following is clear:
- 3.6 introduces ModuleImportError
- 3.7 begins using it within importlib
- 3.8 first instance of stdlib code catching it
- PEP-302 and PEP-451 are the definitive specifications for how
New submission from David Haney :
The implementation of open relies on a codecs' IncrementalEncoder, however it
never calls `encode` with final=True. This appears to violate the documentation
for IncrementalEncoder.encode which states that the last call to encode _must_
set final=True.
David Mertz added the comment:
I believe that the current behavior of `statistics.median[|_low|_high\]` is
simply broken. It relies on the particular behavior of Python sorting, which
only utilizes `.__lt__()` between objects, and hence does not require a total
order.
I can think of
David Wilson added the comment:
Hi Nick,
The purpose of ModuleNotFoundError is clear and unrelated to the problem
documented here. The problem is that due to the introduction of
ModuleNotFoundError, ImportError's semantics have been changed within a minor
release in a breaking, back
New submission from David Chevell :
ProcessPoolExecutor workers will hold onto the return value of their last task
in memory until the next task is received. Since the return value has already
been propagated to the parent process's `Future` or else effectively discarded,
this is ho
Change by David Chevell :
--
keywords: +patch
pull_requests: +11075
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue35715>
___
___
Py
Change by David Chevell :
--
keywords: +patch, patch, patch, patch
pull_requests: +11075, 11076, 11077, 11078
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by David Chevell :
--
keywords: +patch, patch, patch
pull_requests: +11075, 11076, 11077
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by David Chevell :
--
keywords: +patch, patch
pull_requests: +11075, 11076
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issu
New submission from David Ruggles :
ISSUE: if you add a formatter to QueueHandler any subsequently added handlers
will get the formatting added to QueueHandler
CAUSE: as best as I can tell, the code here:
https://github.com/python/cpython/blob/d586ccb04f79863c819b212ec5b9d873964078e4/Lib
David Heiberg added the comment:
Since there has been no objection to this yet, would it be alright for me to
take this as my first PR?
On top of the change you mentioned to the __slots__ list, should there also be
a test written so that a similar regression doesn't happen
David Heiberg added the comment:
Ok thanks for your input, I will work on a PR and hopefully submit one tomorrow
or Wednesday depending on schedule.
--
___
Python tracker
<https://bugs.python.org/issue35
Change by David Heiberg :
--
keywords: +patch
pull_requests: +11236
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by David Heiberg :
--
keywords: +patch, patch
pull_requests: +11236, 11237
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by David Heiberg :
--
keywords: +patch, patch, patch
pull_requests: +11236, 11237, 11238
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
New submission from David Antonini :
Ok so that's a pretty odd bug. I already had from unittest.mock import patch,
mock_open so I simply modified that to from instead of doing mock.call in my
test. Changing this to from unittest import mock and then mock.call fixed the
error.
David Antonini added the comment:
I'm having a problem with mock.call when I import it directly from
unittest.mock.
When I do:
from unittest.mock import patch, mock_open, call
mocked_print.assert_has_calls([
call("first print"),
call("second print"),
David Antonini added the comment:
Apologies for initial malformed message, I hit submit prematurely.
--
___
Python tracker
<https://bugs.python.org/issue35
David Heiberg added the comment:
Ahh yes of course, I will remove that from the notes. With regards to the
second note, would it do any harm to leave it in? I suppose it does imply that
this was possible before...
--
___
Python tracker
<ht
David Heiberg added the comment:
Should the note on arbitrary attributes also be removed? If this was documented
previously then I don't see the need for it here, but if this has never been
documented then maybe some other way of wording it may be sensible to in
David Heiberg added the comment:
Agreed. I will fix the documentation and submit a PR this weekend hopefully.
--
___
Python tracker
<https://bugs.python.org/issue35
Change by David Heiberg :
--
pull_requests: +11374, 11375, 11376
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by David Heiberg :
--
pull_requests: +11374, 11375
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issue35701>
___
___
Py
Change by David Heiberg :
--
pull_requests: +11374
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issue35701>
___
___
Python-
Change by David Heiberg :
--
nosy: +dheiberg
___
Python tracker
<https://bugs.python.org/issue5038>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Heiberg added the comment:
I have submitted a PR for the documentation. Hopefully this is enough to
resolve the issue and close.
--
___
Python tracker
<https://bugs.python.org/issue35
David Robins added the comment:
I saw a similar error with Python 3.6 on a MIPS (32-bit -
mipsisa32r2el-axis-linux-gnu) platform, but during interpreter startup, not
install (perhaps because it was cross-compiled so install on the host doesn't
run the target Python). It was due to bui
New submission from David MacIver:
When run under Python 3.6.0 or 3.5.1 (and presumably other versions of Python
3) the attached code fails with "Fatal Python error: Cannot recover from stack
overflow." then aborts with a core dump and an error code indicating it got a
SIGABRT.
On
David MacIver added the comment:
So it does. My apologies. I'll close this.
--
stage: -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.
David Mertz added the comment:
I definitely wouldn't want a mutator that "normalized" counts for the reason
Antoine mentions. It would be a common error to normalize then continue
meaningless counting.
One could write a `Frequency` subclass easily enough. The essential feat
David Mertz added the comment:
Raymond wrote:
> The idea is that the method would return a new counter instance
> and leave the existing instance untouched.
Your own first example suggested:
c /= sum(c.values())
That would suggest an inplace modification. But even if it's no
David Bolen added the comment:
No recent changes to the buildbot (I think the last was in September to bump
the local python used to run the slave/build installer to 2.7).
The default system sqlite (/usr/lib) is 3.0.8.6, so extremely old, but 3.6.11
is in /usr/local/{lib,include} from early
David Bolen added the comment:
The test appears to pass against a local test build of sqlite3 3.18.0, so I'll
probably just plan on updating the slave to that later tonight. Unless anyone
is interested in figuring out why it fails with 3.6.11 and not 3.18.0 (e.g.,
does the test have a h
David Bolen added the comment:
Ok, this should be resolved. I opted to be a bit more conservative and only
upgraded to sqlite3 3.8.3.1, which is the oldest version still in use for the
dmg installer packages (for 2.7). I restarted the most recent 3.x build and
while it's not completely
New submission from David Haney:
When compiling on HP-UX with the native cc compiler, the following compilation
error occurs in pytime.c
cc -Ae -c -O -O -I. -I./Include-DPy_BUILD_CORE -o
Python/pytime.o Python/pytime.c
"Python/pytime.c", line 723: error #2020:
David Haney added the comment:
> It seems like gethrtime() is the right function to be used on HP-UX.
> https://docstore.mik.ua/manuals/hp-ux/en/B2355-60130/gethrtime.3C.html
Thanks, I'll work on getting a patch that leverages gethrtime() tested and
submitted
David Bolen added the comment:
Ok, I believe I've got the latest ucrtbased now on the Win7 buildbot
(validate_ucrtbase.py reports it as 10.0.15063.137).
It appears as if my Win8 and Win10 buildbots also have the older dll, so I'm
guessing they're just fast enough or lucky en
David Bolen added the comment:
Yeah, there were a few transient build errors while I was getting the buildbot
back online. My initial attempt to fix this ticket involved using the VS 2015
installer which turned out very badly, so I had to fall back to an older VM
image and start over. But
Changes by David Haney :
--
pull_requests: +1463
___
Python tracker
<http://bugs.python.org/issue30183>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from david-cpi:
To make the test pass, I added the following try statement:
try:
sock.sendall(buf)
except:
pass
--
components: Tests
files: test.log
messages: 292608
nosy: david-cpi
priority: normal
severity: normal
david-cpi added the comment:
Hi Victor,
I will try during the day and get back with the logs.
--
___
Python tracker
<http://bugs.python.org/issue30212>
___
___
david-cpi added the comment:
Hello Victor,
in 3.6.1 the test passes but it's because on sub-test was removed.
The one generating the issue is NetworkedBIOTests which is not found in 3.6.1.
in 3.5.2:
if support.is_resource_enabled('network'):
tests.append
David Bolen added the comment:
Hmm, I wonder if this is another race condition similar to issue 8458?
I think that was thought to be related to the subprocess exiting quickly, in
which case the question might be why that might happen more so than the actual
descriptor error.
BTW, Victor, in
David Bolen added the comment:
In running the test under a local build, the issue is very repeatable, but I
believe it's actually due to slow process startup rather than a quick exit.
That is, adding a brief sleep after process creation and just before the
Request() call seems to fi
David Hess added the comment:
Concur with @sivert – the result of guess_extension() is non-deterministic
between mimetypes module initialization.
$ python
Python 3.4.3 (default, Nov 17 2016, 01:08:31)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or
David Hess added the comment:
And the underlying problem causing this:
$ python -c 'import
mimetypes;print(mimetypes.guess_all_extensions("image/jpeg"))'
['.jpeg', '.jpg', '.jpe']
$ python -c 'import
mimetypes;print(mimetypes.guess
David Heffernan added the comment:
I just ran into this issue. I'm trying to write code like this:
(ctypes.c_char*bufferLen).from_buffer(buffer)
where buffer is a bytearray. When bufferLen is greater than 2GB I fail foul of
this code in _ctypes.c
long length;
l
David Heffernan added the comment:
Erik,
As you can no doubt guess, this is related to the questions I have been asking
on SO that you have so expertly been answering. Thank you!
When I solved the latest problem, getting at the internal buffer of a
bytearray, I used the code in my previous
Changes by David Rothera :
--
nosy: +David Rothera
___
Python tracker
<http://bugs.python.org/issue30395>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Bolen added the comment:
I suspect changes for this issue may be creating test_io failures on my windows
builders, most notably my x86 Windows 7 builder where test_io has been failing
both attempts on almost all builds. It fails with a lock failure during
interpreter shutdown, and
David Bolen added the comment:
If I can help with testing or builder access or anything just let me know. It
appears that I can pretty reliably trigger the error through just the
individual tests (test_daemon_threads_shutdown_std{out,err}_deadlock) in
isolation, which is definitely less
New submission from David Wilson :
Not sure if this is worth reporting..
p = os.popen('sleep 1234')
os.wait3(os.WNOHANG)
os.wait3(os.WNOHANG)
os.wait3(os.WNOHANG)
Notice struct rusage return value. When wait3() succeeds on Linux, but no child
was waiting to be reaped, &ru is
Change by David Chin :
--
nosy: +hairygristle
___
Python tracker
<https://bugs.python.org/issue35473>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from David Hagen :
If a dataclass is `frozen` and has `__slots__`, then unpickling an instance of
it fails because the default behavior is to use `setattr` which `frozen` does
not allow.
```
import pickle
from dataclasses import dataclass
@dataclass(frozen=True)
class A
New submission from David Corbett :
In `unicodedata`, the functions `lookup` and `name` have some bugs and
inconsistencies.
`lookup` matches case-insensitively, except for the algorithmic names of Hangul
syllables and CJK unified ideographs, which must be in all caps. The
documentation does
David Bolen added the comment:
I just wanted to acknowledge that this was breaking on my Windows 7 builder
(with a bad DLL load parameter in both pythoninfo and test steps).
It looks like I was missing the required KB2533625 (the machine is mostly a
virgin SP1 install), so I've inst
David Bolen added the comment:
I can help with a Win7 test of the installer, but my currently available
systems are all 32-bit - any chance at a 32-bit version of the installer?
--
___
Python tracker
<https://bugs.python.org/issue36
David Bolen added the comment:
Ok, I've verified that on a Win7 system with SP1 but without KB2533625 I get
the expected block screen at startup.
On my worker (SP1 with KB2533625) it proceeds to the regular installation main
dialog.
I'm attaching a copy of the install log in th
David Chin added the comment:
OS: RHEL 6.8
I installed OpenSSL 1.1.1b from source into /usr/local. Because it's RHEL, the
libs are in /usr/local/lib64 (as set up by default with the OpenSSL "make
install") which the configure script does not seem to know about.
My wor
David Bolen added the comment:
Eric, I'm also seeing the same Win7 and Win10 worker failures with commit
b75b1a350 as last time (test_multiprocessing_spawn on both, and test_io on
Win7).
For test_multiprocessing_spawn, it fails differently than Victor since no core
file is generated,
David Bolen added the comment:
I just noticed that my last message referenced the wrong commit. My test
failures were against commit f13c5c8b9401a9dc19e95d8b420ee100ac022208 (the same
as Victor).
--
___
Python tracker
<https://bugs.python.
David Bolen added the comment:
Yes, it appears most likely to be the worker environment. I did upgrade the
kernel in between builds 250 (good) and 251 (bad), but reverting that still
fails, even with the same commit as in build 250.
My current suspicion is that a test I did recently with a
David Bolen added the comment:
Ok, I've resolved this, and the linker errors did actually point at the root
issue. They show trying to link extensions against
/usr/local/lib/libpython2.7.a which was my test static build of 2.7.16.
Arguably this seems an issue in the buildbot build pr
David Bolen added the comment:
I should mention that a high level of test parallelism on the part of my worker
might have be a contributing factor in this most recent case.
The worker was recently upgraded to a faster 4-core VM, but with limited I/O.
In a test run the test processes
David Bolen added the comment:
I think I'm the wrong David for this...
--
___
Python tracker
<https://bugs.python.org/issue36749>
___
___
Python-bugs-list m
david awad added the comment:
It's been a while since then but I really think we can get this fix merged in
the next two weeks or so.
Can someone give this another look?
I had a quick question for Serhiy Here:
https://github.com/python/cpython/pull/8319#discussion_r273539593
If we
New submission from David Collins :
program_data.py file contains a list
import list_function
str_list4 = ['i', 't']
str_list4 = list_function.insert_value(str_list4, 's', -1)
print(str_list4)
list_function.py file
def insert_value(my_list, value, ins
David Collins added the comment:
I have tested this in the Mac and PC versions of IDLE as well as in Spyder
using Ipython.
--
___
Python tracker
<https://bugs.python.org/issue36
David Collins added the comment:
This is an issue with python
On Fri, 10 May 2019 at 3:52 pm, SilentGhost wrote:
>
> Change by SilentGhost :
>
>
> --
> components: -IDLE
>
> ___
> Python tracker
> <h
David Collins added the comment:
Not the coding
On Fri, 10 May 2019 at 3:53 pm, David Collins wrote:
> This is an issue with python
>
> On Fri, 10 May 2019 at 3:52 pm, SilentGhost
> wrote:
>
>>
>> Change by SilentGhost :
>>
>&
David Collins added the comment:
So what your saying is that python is unable to pass a negative number between
modules and you don’t think that this is an issue .
Sent from Mail for Windows 10
From: Terry J. Reedy
Sent: Friday, 10 May 2019 7:21 PM
To: coldy...@gmail.com
Subject
David Collins added the comment:
Sorry for being so abrupt you are correct .
The code I was working from was a university professors and not my own, I
understood better thanks steve. I wasn’t passing a return value yet and the
professors work was overwriting the list.
I do apologise
New submission from David Carlier :
Might brings a bit of "controversy" but some oses have already unoptimizable
memset like functions from their libc was thinking to just use them instead.
--
___
Python tracker
<https://bugs.python.o
Change by David Carlier :
--
components: Library (Lib)
nosy: David Carlier
priority: normal
pull_requests: 5056
severity: normal
status: open
title: Blake2 module, memory clearance update
type: enhancement
versions: Python 3.8
___
Python tracker
David Carlier added the comment:
Since the PR had been closed.
--
resolution: -> wont fix
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
David Carlier added the comment:
No worries If I saw first it was an extra project I would not have try to
submit in Cpython. Apologies. I ll see what I can do in blake2 side :-)
--
___
Python tracker
<https://bugs.python.org/issue32
David Chin added the comment:
I would like to state strong support if is.get_usable_cpu_count()
I administer a typical HPC cluster which may have multiple jobs scheduled on
the same physical server. The fact that multiprocessing ignores cgroups leads
to bad oversubscription.
--
nosy
David CARLIER added the comment:
Might comes from uuid1 function itself ... e.g. line 704 not setting version
"field".
--
nosy: +David CARLIER2
___
Python tracker
<https://bugs.python.o
New submission from David CARLIER :
Spotted to UUID unit tests https://bugs.python.org/issue32493
--
components: Library (Lib)
messages: 310154
nosy: David CARLIER2
priority: normal
pull_requests: 5068
severity: normal
status: open
title: UUID module fix, uuid1 python module function
David CARLIER added the comment:
uuid_create only I think.
--
___
Python tracker
<https://bugs.python.org/issue32493>
___
___
Python-bugs-list mailing list
Unsub
David CARLIER added the comment:
Gives same outcome but maybe someone else can confir,
--
___
Python tracker
<https://bugs.python.org/issue32493>
___
___
Pytho
David CARLIER added the comment:
In OpenBSD it s even "worse", the version for each call is random (not a
surprise when looking at the source). The question is, do we go back to support
only AIX or do we accept somehow wro
David Beazley added the comment:
Some context: I noticed this while discussing (in a course) a programming
trick involving instance initialization and locals() that I'd encountered in
the past:
def _init(locs):
self = locs.pop('self')
for name, va
David CARLIER added the comment:
Probably. Seems workable under Apple otherwise.
--
___
Python tracker
<https://bugs.python.org/issue32493>
___
___
Python-bug
New submission from David Beazley :
Libraries such as Curio and asyncio provide a debugging facility that allows
someone to view the call stack of generators/coroutines. For example, the
_task_get_stack() function in asyncio/base_tasks.py. This works by manually
walking up the chain of
David Beazley added the comment:
I've attached a file that illustrates the issue.
(Side thought: this would be nice to have in inspect or traceback)
--
Added file: https://bugs.python.org/file47434/agen.py
___
Python tracker
&
New submission from David Rebbe :
According to the docs:
"When an exception has occurred in the try clause and has not been handled by
an except clause (or it has occurred in an except or else clause), it is
re-raised after the finally clause has been executed."
https://docs.py
David Rebbe added the comment:
Oops I didn't realize I referenced the tutorial documentation.
Maybe it would be better to mention this behavior in the tutorial documentation
also.
I've always assumed exception raises take priority over any
return/break/continues. Behavior is back
New submission from David Beazley :
This is a minor nit, but the doc string for str.isidentifier() states:
Use keyword.iskeyword() to test for reserved identifiers such as "def" and
"class".
At first glance, I thought that it meant you'd do this (doesn't wor
David Beazley added the comment:
That wording isn't much better in my opinion. If I'm sitting there looking at
methods like str.isdigit(), str.isnumeric(), str.isascii(), and
str.isidentifier(), seeing keyword.iskeyword() makes me think it's a method
regardless of whether
David Beazley added the comment:
s = 'Some String'
s.isalnum()
s.isalpha()
s.isdecimal()
s.isdigit()
s.isidentifier()
s.islower()
s.isnumeric()
s.isprintable()
s.isspace()
s.istitle()
s.isupper()
Not really sure where I would have gotten the idea that it might be referring
to s
New submission from David Lukeš :
""" \""" """ evaluates to ' """ ' (as expected), but without the surrounding
spaces, """\"""""" evaluates to '"' in
David Lukeš added the comment:
Oh, right, of course! Sorry and thanks for taking the time to clarify that :)
--
___
Python tracker
<https://bugs.python.org/issue33
David Rebbe added the comment:
I'll have to look into this as I have yet to commit anything but I'll put it on
my list of things to do.
--
___
Python tracker
<https://bugs.python.o
David CARLIER added the comment:
Little update it has been accepted and merged today :
https://github.com/BLAKE2/libb2/commit/620681a3b15c4d7239b9323b9da5ea208a959d3d
--
nosy: +David CARLIER2
___
Python tracker
<https://bugs.python.org/issue32
Change by David Carlier :
--
components: Extension Modules
nosy: David Carlier
priority: normal
pull_requests: 6013
severity: normal
status: open
title: Blake 2 module update
versions: Python 3.8
___
Python tracker
<https://bugs.python.
New submission from David Ghiurco :
No PR is attached since the issue is pretty trivial to reproduce but important
nonetheless:
string = "LDA/AIC2/1919uc1b354363457"
print(string)
print(string.lstrip("LDA/"))
the stripped string should be "AIC2/1919uc1b35436
David Ghiurco added the comment:
Thanks guys. I should have used .replace(). My bad.
--
___
Python tracker
<https://bugs.python.org/issue33362>
___
___
Python-bug
1101 - 1200 of 6860 matches
Mail list logo