New submission from David K. :
Unable to establish SSL connections using company's private certificates where
their SANs (Subject Alternative Names) contain at least one DNS Name that
starts with white spaces.
Attempting to establish SSL connection would result in Exce
Change by David K. :
--
keywords: +patch
pull_requests: +14979
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/15260
___
Python tracker
<https://bugs.python.org/issu
David K. added the comment:
Hi,
Judging by your comment, I think there is a an unfortnate misunderstanding.
If you'd be kind enough, please let me explain:
1. The issue I had was indeed on Python 3.7, using the highly used
"requests" library. Also my change was -not-
David K. added the comment:
OK,
I see your point :)
Modification of the original certificiation is legally problematic.
Much thanks for the patience and time to explain,
D.K
On Wed, Aug 14, 2019, 17:23 Christian Heimes wrote:
>
> Christian Heimes added the comment:
>
> O
Change by David Peall :
--
nosy: +David Peall
___
Python tracker
<https://bugs.python.org/issue28747>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Bolen added the comment:
The new test_check_c_globals.ActualChecks test is failing with an "unexpected
success" on the bolen-ubuntu buildbot (under Ubuntu 18.04.3). I can reproduce
the failure in a manually built tree.
--
n
David Cuthbert added the comment:
I'm seeing this on a rebuild now of Python 3.7.4 on Ubuntu 18.04 (in my case
against _ssl.c).
What's happening is there's coverage/profiling data being generated in the
build chain (somewhere), which spits out files named *.gcda. Interesting
Change by David Cuthbert :
--
versions: +Python 3.8
___
Python tracker
<https://bugs.python.org/issue34820>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from David Hilton :
If a python piece of code imports cython code with async defs,
`asyncio.iscoroutinefunction` cannot determine that the code is async.
https://github.com/cython/cython/issues/2273#issuecomment-531537624
scoder is open to marking async defs so that they can
Change by David Hilton :
--
keywords: +patch
pull_requests: +15877
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/16292
___
Python tracker
<https://bugs.python.org/issu
New submission from David Parks :
Original question posted here:
https://stackoverflow.com/questions/58019939/attributeerror-str-object-has-no-attribute-errno?noredirect=1#comment102443264_58019939
The following exception is encountered when placing an
David Parks added the comment:
Minor correction to the minimal reproducible test case:
```
import multiprocessing
import aiohttp
connection_key = aiohttp.client_reqrep.ConnectionKey
ose = OSError('test')
e = aiohttp.client_exceptions.ClientConnectorError(connection_k
David Parks added the comment:
Oh yes, this belongs to aiohttp. I thought that was handled here. I'll move
this to a git issue on that page, and I'm closing this.
https://github.com/aio-libs/aiohttp/issues/4077
--
resolution: -> rejected
stage: -> resolved
status
New submission from David Parks :
Below is a minimum reproducible test case of what appears to be an issue in
pickle.
Before pickling the exception ClientConnectionError, from aiohttp, the property
ClientConnectionError._os_error is a PermissionError object (a subclass of
OSError). After
Change by David Parks :
--
title: Pickle not deserializing an OSError exception as expected -> Pickle not
deserializing an aiohttp ClientConnectorError exception as expected
___
Python tracker
<https://bugs.python.org/issu
David Parks added the comment:
I may be wrong here, but the issue appears to be a problem in pickle, which is
why I brought it over here. From the looks of the very simple code in the
Exception I can't see that there's any way that this exception is possible
unless pickle itself
David Parks added the comment:
An answer came in over the stack overflow question.
https://stackoverflow.com/questions/58019939/attributeerror-str-object-has-no-attribute-errno/58084380#58084380
The issue is that OSError implements a custom __reduce__ function which needs
to be override by
Change by David CARLIER :
--
components: Build
nosy: devnexen
priority: normal
pull_requests: 16052
severity: normal
status: open
title: macOS sqlite 3 module build fix
type: compile error
versions: Python 3.9
___
Python tracker
<ht
Change by David CARLIER :
--
pull_requests: +16055
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/16469
___
Python tracker
<https://bugs.python.org/issu
David Bolen added the comment:
Just an FYI that this change is generating warnings on my Windows 10 buildbot
with some regularity about a failure to parse testperf output, such as:
Warning -- Failed to parse typeperf output: '"10/01/2019 07:58:50.056"'
from https://bui
David Bolen added the comment:
Oh, I agree it's just a warning, and I suspect few people look into warnings,
but since it's not from an actual test, I'm not sure the overall build should
be flagged.
The manual typeperf looks fine, but there's no way I could tell visu
David Bolen added the comment:
I've confirmed the partial read with some local modifications, and the failures
are always split between time stamp and value:
Warning -- Failed to parse typeperf output: '"10/02/2019 17:42:26.229"'
0.0
Warning -- Missing first field
Change by David Kernan :
--
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue38421>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from David Kernan :
email.utils.parsetime_tz() is a function which attempts to parse a date, and
returns a 10-item tuple.
The first 9 items represents a time, and the last item represents the timezone
offset from UTC.
In Python 2, the original behavior was to return the date
Change by David Kernan :
--
title: email.utils.parsetime_tz does not return "None" ->
email.utils.parsetime_tz does not return "None" as the tz offset
___
Python tracker
<https://
David Kernan added the comment:
Ah yes, thanks, this does seem pretty intentional.
I'll submit a PR for the documentation for this method for the affected version.
--
___
Python tracker
<https://bugs.python.org/is
Change by David Kernan :
--
assignee: -> docs@python
components: +Documentation -email
nosy: +docs@python
___
Python tracker
<https://bugs.python.org/issu
Change by David Kernan :
--
keywords: +patch
pull_requests: +16262
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/16678
___
Python tracker
<https://bugs.python.org/issu
Change by David Kernan :
--
pull_requests: -16262
___
Python tracker
<https://bugs.python.org/issue38413>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Bolen added the comment:
I don't know for sure that this is the cause but both 3.x builds following this
commit on my bolen-ubuntu worker (Ubuntu 18.04.3) have had test_pty crash in
the first attempt, with the retry succeeding. For example
https://buildbot.python.org/all/#/bui
David Bolen added the comment:
I can recreate this manually by running regrtest.py against test_pty. Crashes
with any "-j#" option, but fine when run sequentially. Removing the process
group change avoids the crash.
With the process group change in place, the trigger point app
Change by David Bolen :
--
nosy: +db3l
___
Python tracker
<https://bugs.python.org/issue38547>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Steele added the comment:
I came across this thread after making a simple argparse formatter for
preserving paragraphs. The submissions here look better than that effort. Here
is a quick, hacky look at the patches from one perspective.
I wanted to prefer ParagraphFormatterML, but
David Hagen added the comment:
This PR has been sitting for a while. Any chance we can bring it over the
finish line?
--
___
Python tracker
<https://bugs.python.org/issue34
New submission from David Lambert :
Does aksokcancel return "true" or True ? The docstring should say True This
is pervasive throughout the module. tkinter has such a mishmash of numbers
supplied as strings, strings supplied as constants making this carelessness
egregious. On
New submission from David Goldsmith :
In The Python Tutorial, at the end of Section 9.2.1 "Scopes and Namespaces
Example," there occurs the statement: "You can also see that there was no
previous binding for spam before the global assignment." Indeed, one can
&qu
Change by David Goldsmith :
--
title: Sug. for the scope example in TPT Cjapter 9 -> Sug. for the scope
example in TPT Chapter 9
___
Python tracker
<https://bugs.python.org/issu
New submission from David Goldsmith :
When I run the second example code of Section 10.3 of The Python Tutorial:
import argparse
from getpass import getuser
parser = argparse.ArgumentParser(description='An argparse example.')
parser.add_argument('name', nargs='?'
New submission from David Elmakias :
It might be my lack of knowledge in python, however I find this behavior a bit
strange.
By declaring a private variable in a class, python creates an attribute with
the name '___'.
Both are located on a different location in memory.
I fou
New submission from David Lukeš :
I recently came across a non-testing use case for `tempfile.mktemp()` where I
struggle to find a viable alternative -- temporary named pipes (FIFOs):
```
import os
import tempfile
import subprocess as sp
fifo_path = tempfile.mktemp()
os.mkfifo(fifo_path
David Lukeš added the comment:
> A secure `mktemp` could be as simple as ...
Though in practice, I'd rather be inclined to make the change in
`tempfile._RandomNameSequence`, so as to get the same behavior across the
entire module, instead of special-casing `mktemp`. As Guido va
David Lukeš added the comment:
> You can use TemporaryDirectory.
That was actually the first approach I tried :) I even thought this could be
used to make `mktemp` safe -- just create the name in a `TemporaryDirectory`.
However, after reading through the mailing list thread, I realized t
David Brochart added the comment:
Regarding the initial message in this issue, and enabling recursive event
loops, this has proved to be very useful when an event loop is already running
and some non-async code needs to run async code. This situation is very
frequent when e.g. a library is
David Bolen added the comment:
The test has also begun failing on the Win10 buildbot (after updating to 20H2
from an older 1803).
--
nosy: +db3l
___
Python tracker
<https://bugs.python.org/issue37
David Bolen added the comment:
I don't have much of a horse in the race, but since the test has historically
been skipped on Windows, and the test hasn't and doesn't work on Windows,
modifications to restore the skip behavior seem reasonable to me. The trigger
for this is
David Bolen added the comment:
In lieu of the patch in #25191, what about a pair of skips to deal with the
issues at hand without killing the test entirely? I'm including OpenBSD since
those issues were closed in favor of this one, and am assuming that skipping
there is also approp
David Bolen added the comment:
Note that this commit appears to be causing exceptions for the Win10 buildbot,
failing the PyCode_Addr2Line assertion in codeobject.c line 1252.
The assertion seems to pop up at differing points during each test run, but the
builder has yet to complete a full
David Bolen added the comment:
Unfortunately, not at the moment - what's in the buildbot log is what's
available. The RTL assertion aborts the process.
The tests involved (such as test_clinic) do seem reproducible in a few separate
tries, though again, all they do is terminat
David Bolen added the comment:
Ah, Victor, that helps. I was having trouble reproducing the problem on a
different system. I was suspecting a small difference in compiler version, but
I hadn't considered it being because I started fresh.
>From what I can see, a particular build
David Bolen added the comment:
I'm out of time for a bit, but it appears that the root issue is old pyc files
in Tools/clinic/__pycache__ that aren't removed during a clean process, and
appear to be the source of all of the errors. Manually pruning that folder
fixes things.
I b
New submission from David Bolen :
The Tools\buildbot\clean.bat script used on Windows only removes pyc/pyo files
from the Lib tree, leaving some files beneath Tools (clinic and peg_generator)
and Parser (asdl). This can cause failures following commits that affect those
files, such as
David Bolen added the comment:
I've opened issue #43709 for fixing the buildbot clean script under Windows.
It needs to clean the Tools and Parser trees, not just Lib (and there are a few
other folders involved besides clinic)
--
___
P
David Bolen added the comment:
Something like this is a quick 'n dirty minimal fix - at least it seems to
solve the problem that arose in issue #27129 on the Win10 buildbot:
--- a/Tools/buildbot/clean.bat
+++ b/Tools/buildbot/clean.bat
@@ -11,6 +11,8 @@ call "%pcbuild%\build.bat&qu
Change by David Bolen :
--
keywords: +patch
pull_requests: +23904
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/25157
___
Python tracker
<https://bugs.python.org/issu
David Bolen added the comment:
I don't think reverting the commit at this point would necessarily be helpful.
While it might fix some systems, it could newly break anyone who happened to do
their first build since the commit was in place.
I didn't want to bug anyone over the we
David Bolen added the comment:
Terry, it's not clear to me if this is the same issue (at first blush it
appears different) but could you see if you have any pyc files in __pycache__
folders within the Tools or Parser directories in your tree that could be from
prior builds? If so, r
David Bolen added the comment:
Dennis, just to make sure I wasn't too literal, some of the __pycache__ folders
are in subdirectories (at least in Tools), so just to double check, you did a
recursive search beneath Tools and Parser
David Bolen added the comment:
Based on further information in issue #27129 as well as issue #43719 it appears
a source of the problem prompting this fix was a failure to update the magic
number in the original commit for #27129.
The windows clean script does still leave more artifacts than
New submission from David Ellsworth :
The regex /^((x*)\2{3}(?=\2$))*x$/ matches powers of 5 in unary, expressed as
strings of "x" characters whose length is the number.
The following command line should print "1", but prints nothing:
python -c 'import regex; regex
David Ellsworth added the comment:
Thanks, I didn't realize. I thought it was an official module that wasn't
included as part of the main package due to being unfinished.
Reported the bug here:
https://bitbucket.org/mrabarnett/mrab-regex/issues/408/regex-fails-with-a-
David Bolen added the comment:
No longer needed after commit c368ce74d2c9bcbf1ec320466819c2d4768252f7
--
resolution: -> out of date
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by David Mandelberg :
--
nosy: +dseomn
___
Python tracker
<https://bugs.python.org/issue24959>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Heffernan added the comment:
@Steve as a user of Python rather than a Python developer, I don't know what
the process here. I understand the need for a test, and then a fix. And I would
not be surprised if the act of fixing the issue led to a broadening of the test
if the scope o
Change by David Goncalves :
--
keywords: +patch
nosy: +dpg
nosy_count: 6.0 -> 7.0
pull_requests: +24204
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/25480
___
Python tracker
<https://bugs.python.org/i
Change by David Goncalves :
--
nosy: +dpg
nosy_count: 11.0 -> 12.0
pull_requests: +24205
pull_request: https://github.com/python/cpython/pull/25480
___
Python tracker
<https://bugs.python.org/issu
Change by David Felsen :
--
nosy: +davfelsen
___
Python tracker
<https://bugs.python.org/issue38119>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from David Chen :
could someone help me out? i spent a lot of time to debug a race condition i
have encountered when using BaseManager, Pool within multiprocessing library.
here is the simplified code:
```
import sys, time
from multiprocessing.managers import BaseManager
New submission from David Hariri :
In some languages, one may declare a dictionary's key and its value like so:
```
foo = "bar"
my_dict = { foo }
>> { "foo" : "bar" }
```
In Python, one must instead write:
```
foo = "bar"
my_dict = {
Change by David Edelsohn :
--
nosy: +David.Edelsohn
___
Python tracker
<https://bugs.python.org/issue40092>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by David Edelsohn :
--
nosy: +David.Edelsohn
___
Python tracker
<https://bugs.python.org/issue40068>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Edelsohn added the comment:
How could release_sentinel() be structured to not call PyThread_release_lock()?
This seems to be a situation where _PyThreadState_DeleteExcept() is deleting
all thread states. thread__set_sentinel() sets release_sentinel() as its
on_delete hook. The thread
David Chen added the comment:
After some investigation, i almost finally identified the root cause - it was
caused by the following line in `Server` class in `manager.py` file:
```
self.listener = Listener(address=address, backlog=16)
```
i'm not sure where the magic number `16` came
Change by David Edelsohn :
--
nosy: +David.Edelsohn
___
Python tracker
<https://bugs.python.org/issue43665>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Edelsohn added the comment:
It seems that PyOS_AfterFork_Child() needs to do something like
PyThreadState *tstate = PyThreadState_Get();
PyObject *wr = _PyObject_CAST(tstate->on_delete_data);
PyObject *obj = PyWeakref_GET_OBJECT(wr);
lockobject *lock;
if (obj != Py_None) {
l
David Bolen added the comment:
The win10 buildbot appears to have this failure consistently (100%) on the 3.10
branch. The first such failure appears to be yesterday
(https://buildbot.python.org/all/#/builders/600/builds/79), following commit
da8097aaf5a55c23f5b5ddbeffc2d90d06e00d93 - GC
David Bolen added the comment:
Oddly, it turns out it's the "--junit-xml" parameter during buildbot tests that
is making it reproducible there.
Pass: python_d -m test.regrtest test_ssl
Fail: python_d -m test.regrtest --junit-xml out.xml test_ssl
The latter consistently f
New submission from David Gene :
Using os.environ[KEY] with a non-existent environment variable key only gives a
simple KeyError, which may be fine for a developer to understand, but if a user
of a Python program were to come across it, it may not indicate what they
needed to do to avoid the
New submission from David Lambert :
math.fabs returns float.
The documentation should say so, and help(math.fabs) should include the
expected return type -> float
fabs(x, /) -> float
Return the absolute value of the float x.
I did not check, but expect these annotations recommend
David Lambert added the comment:
Hi Ray,
I'm glad this was a conscious choice. I found a person confused by the
output of print(abs(3), math.fabs(3))
Perhaps the manual would mention return values->that's not an annotation.
Thanks for considering,
Dave
On 6/27/21 12:4
Change by David Hoyes :
--
nosy: +David Hoyes
___
Python tracker
<https://bugs.python.org/issue44594>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Goncalves added the comment:
PR 25480 passes checks and awaits core review. All comments thus far have been
addressed.
--
___
Python tracker
<https://bugs.python.org/issue33
New submission from David Duffy :
https://ai.googleblog.com/2006/06/extra-extra-read-all-about-it-nearly.html
led me to change to lo+(lo+hi)/2 - would this affect bisect.py???
--
components: Library (Lib)
messages: 398337
nosy: David.Duffy
priority: normal
severity: normal
status
New submission from David Gilman :
Note that this is a different approach from the one taken in
https://bugs.python.org/issue35517 although the issue is still the same.
I've written a patch that allows users of selector.EpollSelector to enable
EPOLLEXCLUSIVE on their file descriptors.
Change by David Gilman :
--
keywords: +patch
pull_requests: +26284
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/27819
___
Python tracker
<https://bugs.python.org/issu
David Gilman added the comment:
I also played with making another whole subclass that has it on by default, see
this package https://github.com/dgilman/selector-epoll-exclusive
That class could have EPOLLEXCLUSIVE on by default but could raise
NotImplemented if you try and modify() it
David Gilman added the comment:
Reflecting on this a bit I wonder if the best of all worlds is to have an
EpollExclusiveSelector whose modify() implementation just unregisters and
registers the file descriptor.
--
___
Python tracker
<ht
New submission from David Rebbe :
enum.auto() By default, the initial value starts at 1. Per the documentation
here: https://docs.python.org/3/library/enum.html#enum.auto
This doesn't really follow expected behavior in majority of programming
languages nor python. Most will expect sta
David Rebbe added the comment:
Understandable and I do believe IntEnum should default as zero as its the
default type most will choose when trying to mimic other languages.
C/C++ has the same problem where the value isn't suppose to matter but as soon
as you go across the com
David Rebbe added the comment:
I only created this issue because its a deviation from any standard that exists
AFAIK. Nothing I know of starts at 1 in programming and I more than likely
won't be the last one to make this mistake. If indexing in Python started at 1
or any other accesso
David Rebbe added the comment:
Welcome to enums, they don't matter until they do. I'm personally not a fan of
enums for APIs but they exist all the time.
Indexing was an example case that nothing starts at 1.
See the attached file to demonstrate differences.
--
Added f
David Rebbe added the comment:
Definition of equivalent
1: equal in force, amount, or value
Are you referring to memory space as what is actually stored in RAM? If so,
that seems to be outside the scope here. I don't think anyone expected an
interpreted language to have the same m
David Rebbe added the comment:
Seems like there is a misunderstanding here as to why this is an issue. I can
write an example up that would expand on the file I attached, but I feel like
anyone that has experience in the above situations would identify this as an
issue.
Can I ask why
David Rebbe added the comment:
Thank you for referencing the PEP, I just managed to read through it and I
still don't have a very good understanding why it needs to default to 1. PEP
435 states:
"The reason for defaulting to 1 as the starting number and not 0 is that 0 is
New submission from David Mertz :
Evan Greenup via Python-ideas
Currently, in Python 3.9, `dbm.open()`, `dbm.gnu.open()` and `dbm.ndbm.open()`
doesn't support path-like object, class defined in `pathlib`.
It would be nice to add support with it.
--
components: Library
David Mertz added the comment:
Oops... I missed prior closely related or identical issue at:
https://bugs.python.org/issue40563
--
resolution: -> duplicate
___
Python tracker
<https://bugs.python.org/issu
David Mertz added the comment:
I've made the few additional changes to those in this PR. When I work out the
issues, I'll make a new PR. I took out an attempt with `path_t`. However,
here is why I think argument clinic (or something else?!) is actually
intercepting the atte
David Mertz added the comment:
If anyone wants to look at my not-yet-complete changes (see other comment),
it's https://github.com/DavidMertz/cpython/tree/bpo-45133. It has a different
bpo because I filed a duplicate before realizing. I can change the branch name
before a PR, but m
New submission from David Mandelberg :
The code below seems to have infinite recursion in the mock.seal call with
python 3.9.2.
from unittest import mock
class Foo:
foo = 0
foo = mock.create_autospec(Foo)
mock.seal(foo)
--
components: Library (Lib)
messages: 401525
nosy: dseomn
Change by David CARLIER :
--
components: Library (Lib)
nosy: devnexen
priority: normal
pull_requests: 26689
severity: normal
status: open
title: Haiku build fix
type: compile error
versions: Python 3.11
___
Python tracker
<https://bugs.python.
Change by David CARLIER :
--
components: Library (Lib)
nosy: devnexen
priority: normal
pull_requests: 26704
severity: normal
status: open
title: netbsd CAN protocol flags addition
type: enhancement
versions: Python 3.11
___
Python tracker
<ht
701 - 800 of 5978 matches
Mail list logo