Jacob Nilsson added the comment:
Python 3.6 reach end of life in December 2021, is this error reproducible in
Python 3.7 and above?
If that is still the case, do you have an example of an exact input causing
this crash? "random input" is not a lot to go by.
--
nos
Jacob Nilsson added the comment:
>From Kodi GH issues, they suspect is related to the work on subinterpreters
>https://github.com/xbmc/xbmc/issues/19961#issuecomment-1008151611:
"The bulk of this issue is due to how python and it's modules handle sub
interpreters.
There
Change by Jacob Walls :
--
keywords: +patch
nosy: +jacobtylerwalls
nosy_count: 4.0 -> 5.0
pull_requests: +29815
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31696
___
Python tracker
<https://bugs.p
Change by Jacob Walls :
--
keywords: +patch
nosy: +jacobtylerwalls
nosy_count: 4.0 -> 5.0
pull_requests: +29816
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/31696
___
Python tracker
Jacob Walls added the comment:
I agree not a bug. To ignore the document default you can set
`specified_attributes` on the parser as documented:
https://docs.python.org/3/library/pyexpat.html#xml.parsers.expat.xmlparser.specified_attributes
Also, this was explicitly worked on recently in
Change by Jacob Nilsson :
--
nosy: +ajoino
___
Python tracker
<https://bugs.python.org/issue46771>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jacob Walls :
--
pull_requests: +29458
pull_request: https://github.com/python/cpython/pull/31299
___
Python tracker
<https://bugs.python.org/issue45
Jacob Walls added the comment:
Duplicate of issue29298 (fixed)
--
nosy: +jacobtylerwalls
___
Python tracker
<https://bugs.python.org/issue34191>
___
___
Pytho
Change by Jacob Walls :
--
keywords: +patch
nosy: +jacobtylerwalls
nosy_count: 1.0 -> 2.0
pull_requests: +29329
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31152
___
Python tracker
<https://bugs.p
Change by Jacob Walls :
--
keywords: +patch
nosy: +jacobtylerwalls
nosy_count: 6.0 -> 7.0
pull_requests: +29326
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/31149
___
Python tracker
Jacob Walls added the comment:
Fixed in PR 21420, suggest closing as fixed.
--
nosy: +jacobtylerwalls
___
Python tracker
<https://bugs.python.org/issue41
Change by Jacob Walls :
--
nosy: +jacobtylerwalls
nosy_count: 6.0 -> 7.0
pull_requests: +29183
pull_request: https://github.com/python/cpython/pull/30832
___
Python tracker
<https://bugs.python.org/issu
Change by Jacob Walls :
--
keywords: +patch
nosy: +jacobtylerwalls
nosy_count: 1.0 -> 2.0
pull_requests: +29018
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30832
___
Python tracker
<https://bugs.p
Change by Jacob Martin :
--
components: Installation
files: Arlo camera setup.jpg
nosy: jacobmartin717
priority: normal
severity: normal
status: open
title: Steps To Do Arlo Setup
type: security
versions: Python 3.8
Added file: https://bugs.python.org/file50558/Arlo camera setup.jpg
Change by Jacob Nilsson :
--
nosy: +ajoino
___
Python tracker
<https://bugs.python.org/issue46227>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jacob Hayes added the comment:
Thanks for the tips! I've been using this patch in my own code in a early
imported `__init__.py`:
```
from graphlib import TopologicalSorter
from types import GenericAlias
if not hasattr(TopologicalSorter, "__class_getitem__"): # p
Jacob Hayes added the comment:
Thanks for merging!
Should typeshed be updated for <3.11 in the meantime or do you suggest `if
TYPE_CHECKING` blocks on user side? Perhaps it's a non-issue if no one else has
noticed this. :)
--
___
Python
Change by Jacob Walls :
--
nosy: +jacobtylerwalls
nosy_count: 4.0 -> 5.0
pull_requests: +27977
pull_request: https://github.com/python/cpython/pull/29739
___
Python tracker
<https://bugs.python.org/issu
New submission from Jacob Lifshay :
https://docs.python.org/3.10/library/csv.html
at the bottom the "history and license" link just links back to csv.html,
rather than the correct target.
--
assignee: docs@python
components: Documentation
messages: 405807
nosy: d
Jacob Nilsson added the comment:
Ok, I see.
>>> a[1, 2, *[3, 4]]
Would still faith with PEP 646 because lists don't accept tuples, right?
>>> a[(1, 2, *[3, 4])]
Traceback (most recent call last):
File "", line 1, in
TypeError: list indices must
Jacob Nilsson added the comment:
Oh yeah, the reason lists don't allow the starred expression has nothing to do
with the starred expression itself, it's syntactically correct and in your case
a[1, *[2, 3], 4] is equivalent to a[1, 2, 3, 4]. The "problem" is that lists do
Jacob Nilsson added the comment:
I don't understand, do you mean that lists should work like in your example? Or
that your example code doesn't run?
If you mean the first issue, that is ok I guess but I've never used indexing
like that outside of numpy, pandas and the like.
Change by Jacob Hayes :
--
keywords: +patch
pull_requests: +27064
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/28714
___
Python tracker
<https://bugs.python.org/issu
New submission from Jacob Hayes :
Reproduction:
```
from graphlib import TopologicalSorter
TopologicalSorter[str]({"a": {}, "b": {"a"}})
```
```
$ mypy /tmp/toposort.py
Success: no issues found in 1 source file
$ python3 /tmp/toposort.py
Traceback (most r
New submission from Jacob Hayes :
When deepcopying a parametrized types.GenericAlias (eg: a dict subclass) that
has a __deepcopy__ method, the copy module doesn't detect the GenericAlias as a
type and instead tries to call cls.__deepcopy__, passing `memo` inplace of
self. This doesn
Jacob Nilsson added the comment:
Could one possible downside of this suggestion be, if implemented like in
https://newbedev.com/python-abstract-class-shall-force-derived-classes-to-initialize-variable-in-init,
a slowdown in code creating a lot of instances of a class with metaclass
ABCMeta
Change by Jacob Nilsson :
--
nosy: +ajoino
___
Python tracker
<https://bugs.python.org/issue44905>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jacob Walls added the comment:
Third voice chiming in to say not a bug, also. I think the last two messages
inadvertently moved to pending and then back to open. I suggest closing.
--
nosy: +jacobtylerwalls
___
Python tracker
<ht
Jacob Walls added the comment:
Greetings. I believe this is mooted by #42967 as well as changes even prior to
that.
https://bugs.python.org/issue42967
--
nosy: +jacobtylerwalls
___
Python tracker
<https://bugs.python.org/issue20
New submission from Jacob Walls :
Greetings, all. I take it this is fully resolved?
--
nosy: +jacobtylerwalls
___
Python tracker
<https://bugs.python.org/issue44
Change by Jacob Walls :
--
components: +Library (Lib)
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue44587>
___
___
Python-bugs-list mai
Jacob Walls added the comment:
Presumably this can be closed.
--
nosy: +jacobtylerwalls
___
Python tracker
<https://bugs.python.org/issue35277>
___
___
Pytho
Jacob Walls added the comment:
Presumably this can be closed.
--
nosy: +jacobtylerwalls
___
Python tracker
<https://bugs.python.org/issue43077>
___
___
Pytho
Change by Jacob Walls :
--
components: +Library (Lib)
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue44455>
___
___
Python-bugs-list mai
Jacob Walls added the comment:
With the followup patch merged, can this be closed now?
--
nosy: +jacobtylerwalls
___
Python tracker
<https://bugs.python.org/issue44
Jacob Walls added the comment:
Well, now I've looked at the CPython test failure more closely, and it's in
`test.test_venv.EnsurePipTest` where we just download latest pip.
Their release cadence suggests a new release in July, about 2-4 weeks from now.
So I'll wai
Jacob Walls added the comment:
Both this ticket and #19094 started from one method in urllib.parse and then
generalized a proposal for the rest of the submodule to move away from
duck-typing and to instead raise TypeErrors (or at least some error) for
invalid types. The attached PR does
Change by Jacob Walls :
--
nosy: -jacobtylerwalls
___
Python tracker
<https://bugs.python.org/issue22334>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jacob Walls added the comment:
Sorry for noise; I typo-d when linking a PR on GitHub. Unlinked.
--
___
Python tracker
<https://bugs.python.org/issue22
Change by Jacob Walls :
--
pull_requests: -25293
___
Python tracker
<https://bugs.python.org/issue22334>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jacob Walls :
--
nosy: +jacobtylerwalls
nosy_count: 5.0 -> 6.0
pull_requests: +25293
pull_request: https://github.com/python/cpython/pull/26687
___
Python tracker
<https://bugs.python.org/issu
Change by Jacob Walls :
--
nosy: +jacobtylerwalls
nosy_count: 7.0 -> 8.0
pull_requests: +25291
pull_request: https://github.com/python/cpython/pull/26687
___
Python tracker
<https://bugs.python.org/issu
Jacob Walls added the comment:
Sounds reasonable to me.
--
components: +Library (Lib)
nosy: +jacobtylerwalls
type: -> behavior
versions: +Python 3.11 -Python 3.9
___
Python tracker
<https://bugs.python.org/issu
Change by Jacob Walls :
--
pull_requests: +25276
pull_request: https://github.com/python/cpython/pull/26687
___
Python tracker
<https://bugs.python.org/issue19
Jacob Walls added the comment:
Hi vajrasky, do you have any interest in converting your patch to a GitHub PR?
If not I can see about doing so myself. Cheers.
--
nosy: +jacobtylerwalls
___
Python tracker
<https://bugs.python.org/issue19
Jacob Walls added the comment:
Unfortunately, at the outset I should have tested this without multiprocessing.
I can reproduce without multiprocessing[1], which meant I could more easily
pinpoint the failure. There is an expensive O(nm) algorithm[2] in the music21
library that is
Jacob Walls added the comment:
Thanks for this detailed reply. I reproduced on Python 3.9.4 on the same iMac
from my original report running macOS 10.13.6, but with much lesser frequency
(I wouldn't use the word "consistently" anymore).
I tried on a MacBook Pro with wo
New submission from Jacob Walls :
macOS 10.13.6
Python 3.9.2
I can consistently reproduce a seg fault while using
multiprocessing.JoinableQueue in Python 3.9.2.
My use case is the sheet music processing library music21. My fork includes a
folder of 209 files I use to reproduce, running 3
Jacob Nilsson added the comment:
Hi, I tried both code snippets, and they work for me with the output:
typing.Union[str, abc.ABC]
For your second code snippet.
Tested on 3.7.6 (IPython though) on a Windows machine, can test it on Linux
tomorrow.
--
nosy: +ajoino
Jacob Nilsson added the comment:
For what my opinion is worth, I agree with Grégory's suggestion because the ','
part of ','.join(...) is almost as unintuitive as the problems Raymond's
suggestions are trying to fix.
I was going to suggest a builtin to work on
New submission from Jacob Walls :
Cmd-A to select all or Cmd-Z to undo, etc., have no effect when typing in the
"Save As:" or "Tags:" fields of the native Save As... dialog on MacOS. Cmd-R,
curiously, opens a Finder window.
IDLE dialogs such as Search behave as expecte
Change by Jacob Walls :
--
keywords: +patch
nosy: +jacobtylerwalls
nosy_count: 4.0 -> 5.0
pull_requests: +23449
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/24663
___
Python tracker
Change by Jacob Taylor :
--
nosy: +Jacob Taylor
nosy_count: 8.0 -> 9.0
pull_requests: +22197
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/17471
___
Python tracker
<https://bugs.python.org/
Jacob Middag added the comment:
It would be nice if someone could take a look.
--
versions: +Python 3.10, Python 3.9
___
Python tracker
<https://bugs.python.org/issue32
Manuel Jacob added the comment:
I was running "make all" and I also ran the documentation generator command
without an error.
However, I tried it again and now it failed the same way as reported. With a
debug build, I get "Python/Python-ast.c:231: get_ast_state: Assertion
Manuel Jacob added the comment:
I couldn’t reproduce the problem with a freshly compiled Python 3.9.0rc1 on
Arch Linux. Was this ever reproduced on a non-Red Hat system?
--
nosy: +mjacob
___
Python tracker
<https://bugs.python.org/issue41
Manuel Jacob added the comment:
It’s possible to trigger the problem on Unix with much smaller sizes, e.g. by
interrupting the write() with a signal handler (even if the signal handler
doesn’t do anything). The following script starts a subprocess doing a 16MiB
write and sends a signal
Manuel Jacob added the comment:
`io.TextIOWrapper.write()` returns the length of the passed string instead of
the actually written number of characters.
% python -u -c "import sys; print(sys.stdout.write('x'*4294967296),
file=sys.stderr)" | wc -c
4294967296
2147479552
Ian Jacob Bertolacci added the comment:
What's being done about this?
I would say this is less "misleading documentation" and more "incorrect
implementation"
There is also not an obvious temporary work-around.
--
nosy: +IanBertolacci
_
Manuel Jacob added the comment:
2147479552 is the 0x7000 bytes limit documented for write() on Linux
(source: https://man7.org/linux/man-pages/man2/write.2.html). The limit could
be even smaller in other circumstances or other systems.
I’m adding Victor Stinner to the nosy list, as he
New submission from Manuel Jacob :
Without unbuffered mode, it works as expected:
% python -c "import sys; sys.stdout.write('x'*4294967296)" | wc -c
4294967296
% python -c "import sys; print('x'*4294967296)" | wc -c
4294967297
With unbuffered
Change by Manuel Jacob :
--
keywords: +patch
pull_requests: +20319
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21159
___
Python tracker
<https://bugs.python.org/issu
New submission from Manuel Jacob :
The documentation for the curses module
(https://docs.python.org/3.9/library/curses.html) has the following note:
> Since version 5.4, the ncurses library decides how to interpret non-ASCII
> data using the nl_langinfo function. That means that you h
Change by Manuel Jacob :
--
keywords: +patch
pull_requests: +20175
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21000
___
Python tracker
<https://bugs.python.org/issu
New submission from Manuel Jacob :
Calling warnings.warn() will write to a file, but not flush it. On Python 3.9+,
it won’t usually be a problem because the file is most likely stderr, which is
always line-buffered. However, on older Python versions or if a different file
is used, the current
Manuel Jacob added the comment:
If the encoding supports it, since which Python version do Py_DecodeLocale()
and os.fsencode() roundtrip?
The background of my question is that Mercurial goes some extra rounds to
determine the correct encoding to emulate what Py_EncodeLocale() would do
New submission from Manuel Jacob :
Some code comments refer to initfsencoding(), which was however removed after
Python 3.7.
--
messages: 371779
nosy: mjacob
priority: normal
severity: normal
status: open
title: Some code comments refer to removed initfsencoding
Manuel Jacob added the comment:
The actual startup code uses Py_DecodeLocale() for converting argv from bytes
to unicode. Since which Python version is it guaranteed that Py_DecodeLocale()
and os.fsencode() roundtrip?
--
nosy: +mjacob
___
Python
Manuel Jacob added the comment:
I’ve created issue40996, which suggests that urllib should fsdecode
percent-encoded parts of file URIs on Unix. Since the two tickets are very
related and I’d prefer if the issue was solved more generally for the whole
module, I close this as a duplicate
New submission from Manuel Jacob :
On Unix, file names are bytes. Python mostly prefers to use unicode for file
names. On the Python <-> system boundary, os.fsencode() / os.fsdecode() are
used.
In URIs, bytes can be percent-encoded. On Unix, most applications pass the
percent-decoded
Change by Manuel Jacob :
--
title: Can’t configure encoding used by urllib.request.url2pathname() ->
urllib.request.url2pathname() unconditionally uses utf-8 encoding and "replace"
error handler
___
Python tracker
<https:/
New submission from Manuel Jacob :
On Python 2, it was possible to recover a percent-encoded byte:
>>> from urllib import url2pathname
>>> url2pathname('%ff')
'\xff'
On Python 3, the byte is decoded using the utf-8 encoding and the "replace"
er
New submission from Jacob Kunnappally :
Just requesting a threading.Event.wait_unset(timeout=None) function. I would
request the same for multiprocessing.
My use case:
I've made my own class that adds a little bit of IPC plumbing to the base
Process class (ChildProcess). Each ChildPr
New submission from Manuel Jacob :
https://docs.python.org/dev/library/io.html#io.TextIOBase.buffer says:
"The underlying binary buffer (a BufferedIOBase instance) that TextIOBase deals
with. This is not part of the TextIOBase API and may not exist in some
implementations."
Manuel Jacob added the comment:
For the record, I’ve added a comment to the pull request about that
ssl.PROTOCOL_TLSv1_1 / ssl.PROTOCOL_TLSv1_2 are now defined unconditionally.
https://github.com/python/cpython/commit/6e8cda91d92da72800d891b2fc2073ecbc134d98#r39569316
--
nosy
Jacob Middag added the comment:
Could anyone take a look to the PR?
--
___
Python tracker
<https://bugs.python.org/issue32803>
___
___
Python-bugs-list mailin
Jacob Underwood added the comment:
I know this post is closed, but I just wanted to say thank you for the reply
and the help, and being so understanding of my many mistakes
Have a good day/night!!
--
___
Python tracker
<https://bugs.python.
New submission from Jacob Underwood :
I was experimenting with nested dictionaries when I came across strange
behavior that I can not figure out at all. The following function, at least for
me, has some weird behavior. Originally, it was a bit longer, but somehow it
achieved its intended
Jacob Melendrez added the comment:
I am trying to uninstall python 3.7.2 because I think it is preventing me from
correctly using python 3.8.2. When I go to my program list on windows 10 and
try to uninstall it, it gets approximately 10% in and then gives me the message
that No python 3.7
New submission from Jacob RR :
hi,
so I *think* that ValueError shows an error grammatically incorrect?
In python 2.7
>>> x = [1,2,3]
>>> f,x, a, b = [1,2,3]
Traceback (most recent call last):
File "", line 1, in
ValueError: need more than 3 values to unpack
Change by Jacob Middag :
--
keywords: +patch
nosy: +middag
nosy_count: 2.0 -> 3.0
pull_requests: +18253
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/18896
___
Python tracker
<https://bugs.python.org/i
Change by Jacob Taylor :
--
keywords: +patch
pull_requests: +16951
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/17471
___
Python tracker
<https://bugs.python.org/issu
New submission from Jacob Taylor :
This PR adds support for the HttpOnly flag as encoded in CURL cookiejars.
This PR was mainly designed to allow the MozillaCookieJar to parse in the
cookies, as previously they were considered comments and ignored.
As HttpOnly is considered a non-standard
Jacob Bundgaard added the comment:
I'm glad to hear that you might consider a patch. I've created a draft pull
request for this, but I still need to figure out how to encode the dependency
from IDLE to Tcl/Tk in WIX. Do you have an
Change by Jacob Bundgaard :
--
keywords: +patch
pull_requests: +12055
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue36086>
___
_
New submission from Jacob Bundgaard :
I don't use IDLE to edit Python files, but do use tcl/tk for Python projects on
Windows. Therefore, it would be useful for me to be able to install tcl/tk
without also installing IDLE. However, in the Windows installer, tcl/tk and
IDLE are bu
Michael Jacob added the comment:
So, I'm experiencing the issue in the title, too. The pipe handle stays valid
for between 5 and 60 minutes, then it goes None when written to.
I'm far from understanding that code, but this crude re-connect code seems to
solve the issue for me:
In
Michael Jacob added the comment:
Does this ticket track the issue in its title or the native crash? If it's the
latter, is there a new ticket for the None _handle or shall I create one?
--
nosy: +Michael Jacob2
versions: +Python 3.7
___
P
New submission from Jacob Thalman :
class MyTuple(tuple):
def __getitem__(self, item):
print "Getting {}".format(item)
t = MyTuple((1, 2))
t[0] -> "Getting 0"
t[1] -> "Getting 1"
t[slice(None)] -> "Getting slice(None, None, None)"
t
New submission from Jacob Jorvang :
Hitting the acute accent ´ button on a Danish keyboard causes Python with
tkinter to crash immediately. This is a problem because the key is just left of
the backspace key.
Using:
Python 3.6.3
MacOS version of tkinter
ActiveTCL 8.6.4.1
MacBook-Pro
New submission from Jacob Pratt:
While going through the documentation, I found that set() has surprisingly
little documentation, not even a list of built-in methods.
I'm not sure exactly what is missing, but I know that issubset and issuperset
isn't in there (that's what I
New submission from Jacob B:
The error occurs when I attempt to run the following code:
from urllib.request import urlretrieve
from os import path
from zipfile import ZipFile
download_url =
"https://www.dropbox.com/s/obiqvrt4m53pmoz/tesseract-4.0.0-alpha.zip?dl=1";
def set
Manuel Jacob added the comment:
You're of course right that pyexpat is an extension module and not a builtin
module. I was confused because on PyPy it's a builtin module.
But the same question applies for ExtensionFileLoader.is_package(). It returns
False in the case of pyex
New submission from Manuel Jacob:
The same applies to pyexpat.model.
It seems like pyexpat is the only builtin module which has submodules (errors,
model).
Normally, as I understand it, the module gets imported given a spec and the
import machinery ensures that this spec ends up in the
Jacob Mansfield added the comment:
Does this affect threads started with the multiprocessing library as well?
--
nosy: +Jacob Mansfield
___
Python tracker
<http://bugs.python.org/issue1230
Michael Jacob added the comment:
My bad.
ConfigParser expects an interpolation object, not a class.
Instead of c=ConfigParser(interpolation=ExtendedInterpolation)
you need to create it with:
c=ConfigParser(interpolation=ExtendedInterpolation())
Sorry about that.
--
resolution
New submission from Michael Jacob:
There seems to be a bug in configparser when setting new values in extended
interpolation:
python --version
Python 3.5.1
from configparser import ConfigParser, ExtendedInterpolation
c=ConfigParser(interpolation=ExtendedInterpolation)
c.add_section('
Manuel Jacob added the comment:
I think the "What's New" entry has two typos. It should be
`importlib.__import__()` instead of `importlib.__init__()` and SystemError
instead of RuntimeError.
--
___
Python tracker
<http
Manuel Jacob added the comment:
Done. I'm a bit surprised this wasn't necessary for my previous two patches,
but they were even more trival than this one. ;)
Do we have to wait until my tracker profile is updated?
--
___
Python trac
Manuel Jacob added the comment:
(For some reason, I forgot to submit the previous comment).
The attached patches fix the issue (one for the 3.5 branch, one for the default
branch) by bringing importlib.__import__ closer to the builtin __import__.
The extra code in the default / 3.6 branch is
1 - 100 of 147 matches
Mail list logo