David Crespo added the comment:
Thanks for your answers. I tried to search if the bug was already reported
using some text searches but I couldn't find it so I opened a new one. Next
time I'll try what you recommend.
Regards and thanks for keeping Python in
David Edelsohn added the comment:
Bisection failed after 101 iterations and 0:20:29
--
___
Python tracker
<https://bugs.python.org/issue41717>
___
___
Python-bug
David Edelsohn added the comment:
It's the same system. It doesn't fail alone. Didn't we both previously see
issues with the interaction of tests due to the other of tests, that previous
tests left things in the environment that affec
Change by David Edelsohn :
--
nosy: +David.Edelsohn
___
Python tracker
<https://bugs.python.org/issue41401>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by David Steele :
--
keywords: +patch
pull_requests: +21210
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/22129
___
Python tracker
<https://bugs.python.org/issu
David Steele added the comment:
I've submitted FlexiHelpFormatter as PR22129.
This adds the FlexiHelpFormatter class to argparse.
It supports wrapping text, while preserving paragraphs. Bullet lists are
supported.
There are a number of differences, relative to the latest patch in the
New submission from David Williams :
The Python documentation contains unnecessarily verbose and gendered language
which does not enhance clarity, and rather, serves as non-inclusive to the
LGTBQ community
For example:
https://www.python.org/dev/peps/pep-3136/
"Introduction
The
David Williams added the comment:
Thanks Victor, I will submit a change request for both of the documents you
specified.
https://www.python.org/dev/peps/pep-3136/
https://github.com/python/devguide/issues/605
Steven, it sounds like we agree to the change proposal, which is to remove
David Williams added the comment:
Thanks also for your input and feedback, Ammar.
--
___
Python tracker
<https://bugs.python.org/issue41743>
___
___
Python-bug
David Beazley added the comment:
About nine years ago, I stood in front of a room of Python developers,
including many core developers, and gave a talk about the problem described in
this issue. It included some live demos and discussion of a possible fix.
https://www.youtube.com/watch?v
New submission from David Grellscheid :
I'm comparing two aware timestamps during a clock transition that differ only
in their fold= value.
When taking the difference of two aware timestamps with the *same* tzinfo, the
fold parameter is ignored.
A difference between two timestamps
David Grellscheid added the comment:
To make it clear that this issue is not covered by ...
"Two such instances that differ only by the value of the fold attribute will
not be distinguishable by any means other than an explicit access to the fold
value." (PEP 495)
I have mo
David Grellscheid added the comment:
Here's a third example, without fold= involved. The spring transition also does
not work when the timezone in the difference is equal:
01:59:00 to 03:01:00 should be 2 minutes
All these should be 0:02:00 apart
1:02:00 Oslo_1 - Oslo_0
0:02:00 Ber
David Grellscheid added the comment:
OK, having read
https://blog.ganssle.io/articles/2018/02/aware-datetime-arithmetic.html, this
bizarreness is actually intended behaviour. It goes completely against my
intuitive understanding of how this should come out. No additions are involved,
just
Change by David CARLIER :
--
components: Extension Modules
nosy: devnexen
priority: normal
severity: normal
status: open
title: DragonFlyBSD thread native id support missing
type: enhancement
versions: Python 3.10
___
Python tracker
<ht
Change by David CARLIER :
--
keywords: +patch
pull_requests: +21681
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/22714
___
Python tracker
<https://bugs.python.org/issu
David Edelsohn added the comment:
If Python has been defaulting to dlopen() on AIX systems that support it, there
is no reason to maintain the historical, AIX-specific load() support in
dynload_aix.c
I believe that dlopen() was introduced on AIX in release 4.3. The official end
of support
David Antonini added the comment:
Somehow I missed the follow up here until now. I don't remember the original
code, but I'm fairly confident that mocked_print is the patched print function
eg
with patch('dionysus_app.class_functions.print') as mocked_print:
Probably s
Change by David CARLIER :
--
components: macOS
nosy: devnexen, ned.deily, ronaldoussoren
priority: normal
pull_requests: 21996
severity: normal
status: open
title: mmap module add Darwin specific madvise options
type: enhancement
___
Python tracker
New submission from David Mandelberg :
The traceback in the output of the attached test (see below) doesn't include
line 5, which is where the original exception is raised. I think this is
because
https://github.com/python/cpython/blob/b9ee4af4c643a323779fd7076e80b29d611f2709/Lib/uni
Change by David Martinez :
Added file: https://bugs.python.org/file49575/Cellular-Z 20200909 14:25:47
SLOT1.CSV
___
Python tracker
<https://bugs.python.org/issue42
David Edelsohn added the comment:
nextafter is a known problem on AIX. I believe that it is being addressed in
newer releases of AIX.
Michael and I are helping the IBM AIX Open Source team to increase their
attention on Python, but things only move so fast
David Lord added the comment:
Is this performance issue supposed to be fixed in 3.9? I'm still observing
severe slowdown by inheriting from `Generic[T]`.
I'm currently adding typing to Werkzeug, where we define many custom data
structures such as `MultiDict`. It would be ideal
David Lord added the comment:
I'm using Arch Linux. After your reply I tried again and now I'm seeing the
same result as you, negligible difference from inheriting `Generic` on Python
3.9. I can't explain it, I ran the timings repeatedly before I posted here, but
I guess
David Edelsohn added the comment:
I think that it is reasonable to drop support for AIX 5.3.
--
___
Python tracker
<https://bugs.python.org/issue42087>
___
___
David Edelsohn added the comment:
I investigated another problem with nextafter() in 2015 and opened an internal
IBM AIX PMR. At the time it was not using decimal float code.
The earlier problem was the handling of -0.0. At the time, the code was
hand-written assembly language that did
Change by David CARLIER :
--
components: Extension Modules
nosy: devnexen
priority: normal
pull_requests: 22211
severity: normal
status: open
title: subprocess DragonFlyBSD build update
type: enhancement
versions: Python 3.10
___
Python tracker
David Edelsohn added the comment:
I believe that Michael was trying to probe under what circumstances the failure
appears. But, not GCC 4.7 is not relevant.
--
___
Python tracker
<https://bugs.python.org/issue42
New submission from David Hewitt :
I'm unsure if this is a packaging error or a misunderstanding by me.
I'm trying to link a binary on windows with Py_LIMITED_API set. According to
https://www.python.org/dev/peps/pep-0384/#linkage I _think_ I'm supposed to be
linking agai
New submission from David Salač :
The logic as it is implemented now does not allow to user to override floatstr
function. That makes things enormously inconvenient for people who need any
different of behaviour (for example return string values defining Infinity, NaN
or -Infinity). If it was
New submission from David Layton :
argparse.FileType.__call__ opens the specified file and returns it. This is
well documented as an anit-idiom in
http://docs.python.org/howto/doanddont.html#exceptions.
"...a serious problem — due to implementation details in CPython, the file
would n
David Bolen added the comment:
I recently built the xz library on my OSX Tiger buildbot (that also does the
daily DMGs via the build script), and Nadeem mentioned this ticket.
As an FYI, I wasn't able to get the xz library (5.0.3) to configure/build as a
universal build (i386/ppc)
David Layton added the comment:
Eric,
checked that the file exists
But then you’d run into race conditions. The only sure was to say if a
file can be opened is to open it.
I think you misunderstand me. I am NOT suggesting that you open and
close the file. I am saying that you should not
New submission from David Goulet :
I'm working with the LTTng (Linux Tracing) team and we came across a problem
with our user-space tracer and Python default behaviour. We provide a libc
wrapper that instrument free() and malloc() and is usable with a simple
LD_PRELOAD.
This lib *was*
Changes by David Andrzejewski :
--
nosy: +dandrzejewski
___
Python tracker
<http://bugs.python.org/issue9720>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Manowitz added the comment:
I don't see why this should be considered acceptable behavior. Why don't
threads have their own ThreadExit exception, rather than overloading the use,
and therefore, the meaning, of the SystemExit exception? As indicated by their
names, sys.ex
David Manowitz added the comment:
I have a couple of issues with that argument:
1.) Until fairly recently, the fact that sys.exit() when called from a
non-primary thread only causes the thread to die, was not clearly
documented (and still isn't in the python2.6 docs). Admittedly,
thread
David Lam added the comment:
Wow, cool! Thanks for the update.
--
___
Python tracker
<http://bugs.python.org/issue12537>
___
___
Python-bugs-list mailin
Change by David Lord :
--
nosy: +davidism
___
Python tracker
<https://bugs.python.org/issue35894>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Bolen added the comment:
Since this patch was introduced to the 3.x branch my Windows 7 and 10 buildbots
have been failing in test_urlopener_retrieve_file. See
https://buildbot.python.org/all/#/builders/3/builds/2661 for the first such
failure on the Win10 worker.
The problem
David Bolen added the comment:
Yes, PR 13476 tested locally on the Win10 builder resolves the error.
--
___
Python tracker
<https://bugs.python.org/issue36
David Bolen added the comment:
Oh, and just for historical purposes, it looks like the root cause was that the
nturl2path.pathnametourl forces an uppercase drive letter. So that's where the
inconsistency in the test got introduced.
--
___
P
David Bolen added the comment:
I've been investigating issues with test failures on my Windows buildbots
seemingly not showing up in the master's web interface (but just showing
warnings), and it appears likely due to this change.
For example, test_urllib (a test problem from i
David Bolen added the comment:
Yeah, I think you're right.
It looks like without an explicit code, it won't propagate the result as the
exit code of cmd itself for those cases where cmd does exit (which would
include the
Change by David Carlier :
--
pull_requests: +13533
pull_request: https://github.com/python/cpython/pull/13633
___
Python tracker
<https://bugs.python.org/issue33
Change by David Carlier :
--
pull_requests: +13548
pull_request: https://github.com/python/cpython/pull/13654
___
Python tracker
<https://bugs.python.org/issue36
New submission from David Carlier :
Following up on bpo-36084
--
messages: 343896
nosy: David Carlier
priority: normal
pull_requests: 13549
severity: normal
status: open
title: Adding native id support for openbsd
versions: Python 3.8
___
Python
David Radcliffe added the comment:
I think that binomial(n, k) should return 0 when k > n or k < 0. This is a
practical consideration. I'm concerned about evaluating sums involving binomial
coefficients. Mathematicians are often rather loose about specifying the upper
and lowe
David Radcliffe added the comment:
I understand that pure mathematics is not the primary use case. But I would
expect that math.comb() would be used to implement mathematical formulas.
As a simple example, the number of edges in a complete graph on n vertices
is binomial(n, 2), and this should
Change by David Carlier :
--
components: Interpreter Core
nosy: David Carlier
priority: normal
pull_requests: 13714
severity: normal
status: open
title: thread native id netbsd support
versions: Python 3.9
___
Python tracker
<ht
David Jones added the comment:
I believe the issue is only triggered if you actually have some suspicious
markup in your documentation (which is why your plain build on Sphinx 2 appears
to work).
Remove some lines from Doc/tools/susp-ignored.csv to trigger it.
--
nosy: +drj
New submission from David Wang :
If you call setLevel() on a subclass of logging.Logger, it does not reset the
cache for that logger. This mean that if you make some logging calls, then call
setLevel(), the logger still acts like it still has its old level. See the
attached python file for a
New submission from David Carlier :
Removing little dead code part.
--
messages: 345674
nosy: David Carlier
priority: normal
pull_requests: 13959
severity: normal
status: open
title: AST - code cleanup
versions: Python 3.9
___
Python tracker
<ht
Change by David CARLIER :
--
components: Extension Modules, FreeBSD
nosy: devnexen, koobs
priority: normal
pull_requests: 14329
severity: normal
status: open
title: mmap module, adding new constant
versions: Python 3.9
___
Python tracker
<ht
Change by David Carlier :
--
nosy: David Carlier
priority: normal
pull_requests: 14424
severity: normal
status: open
title: mmap module add OpenBSD MADV_CONCEAL flag
versions: Python 3.9
___
Python tracker
<https://bugs.python.org/issue37
Change by David CARLIER :
--
title: mmap module: add MAP_ALIGNED_SUPER FreeBSD constant -> mmap module: add
MAP_ALIGNED_SUPER FreeBSD and MAP_CONCEAL OpenBSD constants
___
Python tracker
<https://bugs.python.org/issu
David Wilson added the comment:
The original diff is attached here (per the old process) so others can find it,
and the PR+fork are closed, as carrying a fork in my GitHub for 4 months has
non-zero cost. I'm presently more interested in having a clean GH account than
carrying aroun
David Edelsohn added the comment:
Absolutely, positively no. This is horrible and completely wrong.
Applications on AIX should not be compiled to allow dynamic linking to make
them operate more like SVR4/Linux. Python does not require dynamic linking.
This simply is masking a symptom in a
David Edelsohn added the comment:
Runtime linking allows a dynamically loaded library to interpose symbols. The
classic example is allowing a program or dynamic library to overload C++
operator new. A library or program overrides the symbol by name.
Python does not require this. Python does
New submission from David Wilson :
Given:
$ cat tty-failure.py
import pty
import os
master, slave = pty.openpty()
master = os.fdopen(master, 'r+b', 0)
slave = os.fdopen(slave, 'r+b', 0)
slave.write(b'foo')
slave.close()
pri
David Wilson added the comment:
Happy to send a patch for this if we can agree on the semantic being incorrect,
and more importantly, someone is happy to review the patch once it reaches
GitHub ;)
--
___
Python tracker
<https://bugs.python.
David Heiberg added the comment:
I'm happy to take a look at this, I found one example here:
https://docs.python.org/3/library/winreg.html#winreg.DisableReflectionKey
How would I go about submitting a patch for all of the docs across the
versions? Would I apply the patch to the rel
David Heiberg added the comment:
Super, thanks for the help, I'll submit a PR as soon as it is ready
--
___
Python tracker
<https://bugs.python.org/is
Change by David Heiberg :
--
keywords: +patch
pull_requests: +14811
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/15062
___
Python tracker
<https://bugs.python.org/issu
New submission from David Lewis :
This issue is a follow up to previous discussions about confusing results with
asyncio.wait_for. In the current implementation, it seems unintuitive that a
coroutine with a timeout argument may easily wait forever. Perhaps wait_for
could use an
Change by David CARLIER :
--
components: macOS
nosy: devnexen, ned.deily, ronaldoussoren
priority: normal
pull_requests: 14815
severity: normal
status: open
title: mmap module track anonymous page on macOS
versions: Python 3.9
___
Python tracker
Change by David Heiberg :
--
pull_requests: +14872
pull_request: https://github.com/python/cpython/pull/15133
___
Python tracker
<https://bugs.python.org/issue37
David Wilson added the comment:
Interesting, this immediately turns into a little rabbit hole :)
The reason read() is failing in this case, is because argument clinic defaults
the size parameter to -1, which redirects the call to readall(). So this issue
is actually about readall
David Wilson added the comment:
If we treat different errnos specially, the list of 'okay to silently fail'
errors seems quite succinct. In another project I treat EIO, EPIPE and
ECONNRESET as EOF, and raise all others --
https://github.com/dw/mi
David Wilson added the comment:
A real example of where returning the partial buffer is dangerous would be
EBADF.
- Repeated reading succeeds, building up a partial buffer. Another thread runs,
and buggy code causes an unrelated fd blonging to the file object to be closed.
- Original
David Haney added the comment:
I submitted a pull request for a possible fix for this issue but haven't
received any feedback yet. Is there any additional information needed from me?
--
pull_requests: +2361
___
Python tracker
Changes by David Haney :
--
pull_requests: -2361
___
Python tracker
<http://bugs.python.org/issue30183>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Bolen added the comment:
Antoine, yes. Send me your public key (db3l.net at gmail) and I'll set it up.
--
___
Python tracker
<http://bugs.python.org/is
New submission from David Lord:
This came up while writing a regex to match characters that are valid in Python
identifiers for Jinja. https://github.com/pallets/jinja/pull/731 `\w` matches
all valid identifier characters except for 4 special cases:
import unicodedata
import re
import sys
David Lord added the comment:
Adding `or ('a' + s).isidentifer()`, to catch valid id_continue characters, to
the test in the previous script reveals many more characters that seem like
valid word characters but aren't matched by `\w`.
--
___
David Lord added the comment:
After thinking about it more, I guess I misunderstood what \w was doing
compared to isidentifier. Since Python just relies on the Unicode database,
there's not much to be done anyway. Closing this.
For anyone interested, we ended up with a hybrid approac
David Haney added the comment:
I've attached the test output summary from a recent build.
--
Added file: http://bugs.python.org/file46995/tests.out
___
Python tracker
<http://bugs.python.org/is
New submission from David Rieger:
IPython's "who" and "whos" command provide a way to list all user-defined
variables and inspect them, respectively.
At the moment, a way to work around this would be by either using e.g. "pp
locals()" to list all local
David Roundy added the comment:
Here is a little script to demonstrate the regression (which yes, is still
bothering me).
--
type: -> performance
versions: +Python 3.5
Added file: http://bugs.python.org/file47016/test.py
___
Python tracker
&l
David Hoyes added the comment:
I came across a different failing test case, which looks a lot like the same
issue:
```
from unittest import mock
class Foo(object):
def __call__(self, x):
return x
m = mock.create_autospec(Foo, instance=True)
m(7)
m.assert_called_once_with(7
New submission from David Halter:
inspect.getattr_static is currently not identifying data descriptors the right
way.
Data descriptors are defined by having a __get__ attribute and at least one of
the __set__ and __delete__ attributes.
Implementation detail: Both __delete__ and __get__ set
New submission from David MacIver:
chr(304).lower() is a two character string - a lower case i followed by a
combining chr(775) ('COMBINING DOT ABOVE').
The re module seems not to understand the combining character and a regex
compiled with IGNORECASE will erroneously match a si
David MacIver added the comment:
Sure, but 'i' is a single code point. The bug is that the regex matches 'i',
not that it doesn't match the actual two codepoint lower case of the string.
--
___
Python tracker
<http:
David Ellis added the comment:
This is related to the issue I'd brought up previously here so closing this
would also close that issue: http://bugs.python.org/issue29627
I did originally attempt to add support for bytes in PR where I added support
for Path-like objects:
https://githu
New submission from David Hagen:
Consider the following Python project:
bugtest/
__init__.py (Contents: from .foo import *)
foo/
__init__.py (Contents: from .foo import *)
foo.py (Contents: )
Then in a Python session, the following line executes without error (as
expected
New submission from David Wyde :
Python's Timsort sometimes makes the same comparison twice. This leads to extra
compares, which can hurt performance.
Python sorts several length-3 permutations in 4 steps, and the problem
accumulates with bigger data. There are ~9,800 duplicate less
Change by David Wyde :
Added file: https://bugs.python.org/file47963/sort.py
___
Python tracker
<https://bugs.python.org/issue35369>
___
___
Python-bugs-list mailin
David Wyde added the comment:
Thanks for the speedy and helpful response.
Keeping complexity down is fair. The wasted if-checks on subsequent iterations
are certainly a negative trade-off. I saw that binarysort() is only called in
one place, but I understand wanting to keep it generic.
I
David Wyde added the comment:
Okay. Thanks!
--
___
Python tracker
<https://bugs.python.org/issue35369>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by David Heiberg :
--
nosy: +dheiberg
___
Python tracker
<https://bugs.python.org/issue35448>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Bolen added the comment:
I'm not that familiar (ok, at all) with the build process configuration, but in
looking at the changes to python.props, it appears to now enforce the minimum
in the build process regardless of whether it is found, whereas before the
build tool was allow
David Bolen added the comment:
Well, correct me if I'm wrong, but installing 15063 would then match one of the
checks, and become the selected SDK, so be expected to work fine, right?
I think (not sure) that the issue with my Win8/10 workers is they only have the
later 16299. So in
David Bolen added the comment:
Oh, since my reading comprehension must be low today, it appears like Jeremy
actually had a closer situation previously as I'm in now, with a later (not
older) version of the SDK that wasn't in the list.
Which is interesting, since he got an error
David Bolen added the comment:
(sorry for the rapid updates)
I'm also fairly sure that none of my workers have update 3 for VS2015. They do
however all have VS2017 - but I think VS2015 still gets picked for 3.6 if both
are present, right? So that's another variable, in that
David Bolen added the comment:
> So before the change, the 16299 SDK wasn't being detected either, but perhaps
> the 10240 one was?
So I'm just confused
It does seems likely that 10240 of the UCRT was being used (based on the
attached msbuild logs). Howevr, the UCR
David Bolen added the comment:
(and the working log)
--
Added file: https://bugs.python.org/file47986/msbuild-win10-good.log
___
Python tracker
<https://bugs.python.org/issue35
David Bolen added the comment:
Hmm, VS2015 started as a full installation (with UI), probably right from its
initial release. The build tools only installation (v141) is for VS2017.
Best I can tell I'm at update 1 - my update version in the registry is
14.0.24720 (plus I have
David Bolen added the comment:
Oh, it's not the installation itself, I'm just wondering if allowing a newer
version is ok too?
Of course, it doesn't preclude expanding the build script in the future, so
I've installed 15063 to both Win8/10 workers.
I don't current
David Bolen added the comment:
Ah, got it (and see the pipelines comment by Steve).
Jeremy, I suspect you might actually be able to restart the most recent 3.6
builds on my builders since you were the committer. It changed in Sep to only
allow python-core users and the "owner" of
New submission from David Wilson :
The subprocess package since 880d42a3b24 / September 2018 has begun using this
idiom:
try:
import _foo
except ModuleNotFoundError:
bar
However, ModuleNotFoundError may not be thrown by older import hook
implementations, since that subclass was only
1001 - 1100 of 6771 matches
Mail list logo