Martin Liška added the comment:
So the issue is ncurses, closing here.
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/i
New submission from Martin Liška :
Note -D_FORTIFY_SOURCE=3 will come newly with GCC12. So I noticed the following
error:
demo.py:
```python
import curses
curses.initscr()
curses.unget_wch('a')
```
Error message:
*** buffer overflow detected ***: terminated
Bac
Martin Dengler added the comment:
Possible related to https://github.com/python/cpython/pull/32137 and
https://bugs.python.org/issue43323
--
___
Python tracker
<https://bugs.python.org/issue43
Change by Martin Dengler :
--
nosy: +mdengler
___
Python tracker
<https://bugs.python.org/issue43818>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Martin Dengler :
--
nosy: +mdengler
___
Python tracker
<https://bugs.python.org/issue43323>
___
___
Python-bugs-list mailing list
Unsubscribe:
Martin Panter added the comment:
The ctypes overflow is probably the same as described in Issue 28169 and Issue
15119
--
nosy: +martin.panter
___
Python tracker
<https://bugs.python.org/issue46
Martin Fischer added the comment:
Can you attach such a .zip file so that others can reproduce the bug?
--
nosy: +push-f
___
Python tracker
<https://bugs.python.org/issue46
Martin Fischer added the comment:
([2] was meant to be an online link:
https://docs.python.org/3.9/py-modindex.html#cap-m)
--
___
Python tracker
<https://bugs.python.org/issue46
Change by Martin Fischer :
--
keywords: +patch
pull_requests: +29744
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31620
___
Python tracker
<https://bugs.python.org/issu
New submission from Martin Fischer :
As per [1] the py:data directive describes data in a module.
It should not be used for submodules, that's what the module directive is for.
A side-effect that this is causing is that msilib.schema, msilib.sequence
and msilib.text do not show up i
Change by Martin Fischer :
--
keywords: +patch
pull_requests: +29739
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31615
___
Python tracker
<https://bugs.python.org/issu
New submission from Martin Fischer :
API members documented in sphinx have an object name, which allow the
documentation to be linked from other projects. Sphinx calculates the
object name by prefixing the current module name to the directive
argument, e.g:
.. module:: foo
.. function
Change by Martin Fischer :
--
title: unittest.doModuleCleanups() does not exist -> [doc]
unittest.doModuleCleanups() does not exist
___
Python tracker
<https://bugs.python.org/issu
New submission from Martin Fischer :
The unittest documentation[1] describes unittest.doModuleCleanups().
That function however doesn't exist since it's only in the unittest.case module
and not re-exported in the unittest module (unlike addModuleCleanup).
So I think either the doc
Change by Martin Kirchgessner :
--
keywords: +patch
pull_requests: +29577
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31449
___
Python tracker
<https://bugs.python.org/issu
Martin Panter added the comment:
Maybe the same as Issue 42766?
--
nosy: +martin.panter
___
Python tracker
<https://bugs.python.org/issue46756>
___
___
Pytho
Change by Martin Panter :
--
superseder: -> Generate HTML 5 with SimpleHTTPRequestHandler.list_directory
___
Python tracker
<https://bugs.python.org/issu
New submission from Martin Kirchgessner :
While using `telnetlib` I sometimes received unusually "large" messages (around
1Mb) from another process on the same machine, and was surprised `read_until`
took more than a second. After instrumenting I discovered such messages were
r
Martin Forster added the comment:
The wheel file was corrupt, due to git taking care of "CRLF/LF" conversion.
Sorry for the fuss
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<h
Martin Forster added the comment:
i opened a issue at pyodbc as well,
https://github.com/mkleehammer/pyodbc/issues/1015
--
___
Python tracker
<https://bugs.python.org/issue46
Martin Forster added the comment:
it tried one built on my own,
and the one from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyodbc
--
___
Python tracker
<https://bugs.python.org/issue46
New submission from Martin Forster :
pyth10n 3.10.1, windows x64 install of yodbc-4.0.32-cp310-cp310-win_amd64.whl
crashes.
pos: 74196
pos: 74226
pos: -3
ERROR: Could not install packages due to an OSError.
Traceback (most recent call last):
File
"C:\git\idfunctiondb\venv\lib
Martin Panter added the comment:
The linked code is for urllib.parse.urlencode, looking something like
try:
if len(query) and not isinstance(query[0], tuple):
raise TypeError
except TypeError:
ty, va, tb = sys.exc_info()
raise TypeError("not a valid non-string seq
Marcel Martin added the comment:
I opened a PR, but I now wonder whether the missing peek() is by design.
First, I noticed that instead of using BytesIO directly, I can wrap the
instance in an io.BufferedReader, which does have peek(). (It’s just a bit
inconvenient.)
The second thing is
Change by Marcel Martin :
--
keywords: +patch
pull_requests: +28996
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30808
___
Python tracker
<https://bugs.python.org/issu
New submission from Marcel Martin :
It would be great to be able to use peek() on BytesIO objects.
I have a function that gets passed a file-like object and uses peek() on it.
This works for nearly all types of files relevant in my library, except BytesIO
instances (which I use during
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
Martin Panter added the comment:
Perhaps this is a duplicate of Issue 12756?
--
nosy: +martin.panter
superseder: -> datetime.datetime.utcnow should return a UTC timestamp
___
Python tracker
<https://bugs.python.org/issu
Martin Reboredo added the comment:
> Not officially, no. But I'm personally not going to bring it forward right
> now. If someone else wants to formulate a complete proposal for the SC on
> this then they are definitely welcome to! You will need to address where the
> co
New submission from Martin Whitehead :
The problem: In both the IDLE shell and the editor, 'File > Save As' seems not
to allow creation of a new folder.
My system:
IDLE v3.8.10 (64 bit)
Python 3.8.10 Tk version 8.6.10
Linus Mint 20.2 Uma (64 bit), which is based on Ubu
Martin Reboredo added the comment:
A new python-ideas mail thread was created for this, you can check it out at
https://mail.python.org/archives/list/python-id...@python.org/thread/IWJ3I32A4TY6CIVQ6ONPEBPWP4TOV2V7/.
--
nosy: +YakoYakoYokuYoku
Martin added the comment:
Thanks for your definitive answer, this is what I was waiting for.
I understand and I totally agree that subclassing is the way to go to make
traceback more flexible.
Would you mind linking the other issues concerning the general improvement of
traceback
Martin added the comment:
Irit, would you be able to take a look at the patch?
---
I found another application scenario for the patch: In Numpy and Pandas, the
assert_* functions in testing have a __tracebackhide__ local that advises
pytest to hide the frame. With the patch in place, we
Martin added the comment:
Thanks Joe!
> 1. The changes are sufficient to let the user make things work the way it is
> requested that they work and anyone who does not start using the new
> format_locals parameter will get the old behavior.
That was my goal :)
> 2. A side com
Martin added the comment:
I improved the example in traceback.rst to illustrate how format_locals works.
--
___
Python tracker
<https://bugs.python.org/issue43
Martin added the comment:
Just to avoid misunderstandings: My pull request is not at all about silencing
exceptions. It is about customizing the output of the traceback module. (Just
like the introduction of capture_locals previously: #22936)
(-X capture_locals, on the other hand, is a
Martin added the comment:
I see two scenarious discussed here:
Scenario 1 (Offline / Batch-Mode):
A system runs user-supplied jobs that may fail. In the case of an error, the
system shouldn't crash but rather store a maximally helpful message and carry
on with the next job. Most likely
Martin added the comment:
I submitted a pull request for the related issue43656:
https://github.com/python/cpython/pull/29299
It introduces a format_locals parameter that enables the customized formatting
of a FrameSummary.
This way, a user of traceback could provide a function that
Martin added the comment:
Could someone have a look at my pull request? I have trouble with the tests.
--
___
Python tracker
<https://bugs.python.org/issue41
Change by Martin :
--
nosy: +davin, pitrou
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue41544>
___
___
Python-bugs-list mailing list
Un
Martin added the comment:
Could the participants of this issue please have a look at my pull request:
https://github.com/python/cpython/pull/29299
What do you like, what don't you like? Does it work for your use case?
--
___
Python tr
Martin Rueckl added the comment:
Sorry for the noise:
- Literal['a', 'b'],
- TypeVar('T')
Behave like Optional/Union
--
___
Python tracker
<h
Martin Rueckl added the comment:
One thing that probably should be considered in this context:
isinstance(arg, type) == issubclass(type(arg), type)
Holds True for arg in (Optional[X], Union[X, Y]). Both sides evaluate to False.
(v3.10.0)
While I still think both sides evaluating to True
Martin added the comment:
In this pull request[1] I introduced a `format_locals` which can be provided to
customize the serialization of the local variables of each frame. This could be
used to filter out variables with certain names, for example. In this context,
you could use a certain
Change by Martin :
--
pull_requests: +27563
stage: resolved -> patch review
pull_request: https://github.com/python/cpython/pull/29299
___
Python tracker
<https://bugs.python.org/issu
Martin added the comment:
Once again a very good summary, thanks Joe!
> it would be quite useful if this function parameter was given not just the
> local variable values, but also the name of the local variable and maybe also
> the stack frame it is in
So this would be somet
Martin Rueckl added the comment:
Just my two cents as a new contributor but long time user:
- isinstance(list[int], type) returning False seems incredibly un-intuitive to
me. I always see generics (e.g. list without type parameter) as higher kinded
types, where passing a type argument via
Martin added the comment:
Irit, I'm unsure about the wording. Something like ":meth:`__repr__` should
always succeed, even if errors prevent a full description of the object."? "...
even if the object is only partly initialized."?
Andrei, I think you can not simpl
Martin Rueckl added the comment:
I just created a PR and signed the contributor agreement. Waiting for it to
update :-) Comments welcome!
--
___
Python tracker
<https://bugs.python.org/issue45
Change by Martin Rueckl :
--
keywords: +patch
pull_requests: +27476
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29212
___
Python tracker
<https://bugs.python.org/issu
Martin Rueckl added the comment:
Can confirm for 3.9.7 as well.
--
nosy: +martinitus
___
Python tracker
<https://bugs.python.org/issue45438>
___
___
Python-bug
Martin added the comment:
> Can we determine if they came from an initialized object or from object in
> the middle of initialization?
That would be very nice because inside __init__ is the only place where we have
to deal with partly initialized objects. But I think Python does not p
Martin Panter added the comment:
The subprocess module only uses the file object to get a file handle by calling
the "fileno" method. See Issue 19992 about documenting this. For Python to
compress the output of the child process, you would need a pipe.
Gzip file objects provide t
Martin added the comment:
Thanks, Joe, this is a very good summary of all the problems.
Another idea to fix this could be an additional parameter "repr=repr" to
StackSummary.extract. This way, the default behavior is not changed, but the
user is allowed to supply their own repr
Change by Martin DeMello :
--
nosy: +martindemello
nosy_count: 4.0 -> 5.0
pull_requests: +27384
pull_request: https://github.com/python/cpython/pull/10618
___
Python tracker
<https://bugs.python.org/issu
Martin Panter added the comment:
Looks like you forgot to encode the length of ten in hexadecimal.
I don't think the HTTP server module has any special handling for chunked
responses, so this up to the user and isn't a bug in Python.
--
nosy: +martin.panter
resolution: -&
Change by Marcel Martin :
--
nosy: +marcelm
___
Python tracker
<https://bugs.python.org/issue45387>
___
___
Python-bugs-list mailing list
Unsubscribe:
Martin Panter added the comment:
Looks like the same as Issue 32917. I presume there are two newlines at the end
of the file because there are two newlines following every config section.
IMO this is a minor cosmetic annoyance, just like writing a key with an empty
value gets you a trailing
Martin Panter added the comment:
Issue 21109 has been open for a while and is the same as this, if I am not
mistaken.
--
nosy: +martin.panter
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> tarfile: Traversal attack v
Ross Martin added the comment:
I would like to fix this, if it hasnt been assigned already.
--
nosy: +MrRBM97
___
Python tracker
<https://bugs.python.org/issue45
Paul Martin added the comment:
The difference between the two is the difference between your local time and
utc.
datetime.now(timezone.utc)
This returns the current time in utc and is timezone aware. So the timestamp
can figure out the seconds since epoch taking into account the timezone
Martin Ortner added the comment:
> This bug report starts with "a malicious user with direct access to
> `smtplib.SMTP(..., local_hostname, ..)", which is a senseless supposition.
> Anyone with "access to" the SMTP object could just as well be talking
> di
Martin added the comment:
Thanks for the pointer, @pitrou!
--
___
Python tracker
<https://bugs.python.org/issue41539>
___
___
Python-bugs-list mailing list
Unsub
Martin added the comment:
Yes, I think it should at least be documented.
But then it practically says: "Do not use print in your library because it
might be used in a threading context" This sounds unacceptable to me.
It would be great to "just make it work".
> I
Martin Panter added the comment:
Another workaround:
>>> '{:{brace}>10d}'.format(5, brace='{')
'{5'
--
nosy: +martin.panter
___
Python tr
Martin Panter added the comment:
I presume this is because you are running a Unix shell, and it's nothing to do
with Python. Look up how quoting and variable substitution with dollar signs $
works.
$ set -o nounset
$ python3 -c "import urllib.parse; print
(urllib.parse.quote(
Martin added the comment:
Thanks for the explanations. I think this issue can be closed then.
--
title: StackSummary.format fails if str(value) fails -> StackSummary.format
fails if repr(value) fails
___
Python tracker
<https://bugs.pyth
Change by Martin Teichmann :
--
keywords: +patch
pull_requests: +24705
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/26064
___
Python tracker
<https://bugs.python.org/issu
New submission from Martin Teichmann :
Currently, fraction.Fractions can be generated from floats via their
as_integer_ratio method. This had been extended to also work with the Decimals
class. It would be more generic - and IMHO more Pythonic - to just allow any
data type, as long as it has
Martin Teichmann added the comment:
This is a years old issue, unfortunately it never got neither merged nor
rejected. I just rebased it and hope somebody could finish the review.
--
versions: +Python 3.11 -Python 3.8
___
Python tracker
<ht
Martin Panter added the comment:
I suspect this comes from Issue 27657. Consider how similar URLs like tel:123
or javascript:123 should be parsed.
--
nosy: +martin.panter
___
Python tracker
<https://bugs.python.org/issue44
Martin Panter added the comment:
Anselm's pull request PR 15175 looked hopeful to me. I've been using those
changes in our builds at work for a while.
--
___
Python tracker
<https://bugs.python.o
Martin added the comment:
pdb uses vanilla repr as well:
https://github.com/python/cpython/blob/f3ab670fea75ebe177e3412a5ebe39263cd428e3/Lib/pdb.py#L1180
--
___
Python tracker
<https://bugs.python.org/issue39
Martin added the comment:
> Even correctly raised code can raise exceptions such as MemoryError,
> RecursionError and KeybordInterrupt.
For me, this is an argument in favor of the change (although KeybordInterrupt
and probably a couple more should not be caught).
traceback is u
Martin added the comment:
> As is true for most special methods, it is a bug for __repr__ methods to
> raise.
Is this codified anywhere? I only learned about that in this bug report.
--
nosy: +moi90
___
Python tracker
<https://bugs.p
Martin added the comment:
I can't find any mention of this in the documentation:
https://docs.python.org/3/reference/datamodel.html#object.__repr__
https://docs.python.org/3/library/functions.html#repr
I think this should be mentioned some
Martin added the comment:
I didn't know repr is supposed to always succeed. Does the documentation
mention this?
--
___
Python tracker
<https://bugs.python.org/is
Martin added the comment:
Yes, it is repr in FrameSummary.__init__.
--
___
Python tracker
<https://bugs.python.org/issue43656>
___
___
Python-bugs-list mailin
Change by Martin :
--
keywords: +patch
pull_requests: +23812
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/25062
___
Python tracker
<https://bugs.python.org/issu
Martin added the comment:
I have to correct myself: The conversion to string already happens during
construction, in `FrameSummary.__init__`:
https://github.com/python/cpython/blob/4827483f47906fecee6b5d9097df2a69a293a85c/Lib/traceback.py#L273
The issue remains as severe and the fix remains
New submission from Martin :
With `capture_locals=True`, `StackSummary.format` prints the local variables
for every frame:
https://github.com/python/cpython/blob/4827483f47906fecee6b5d9097df2a69a293a85c/Lib/traceback.py#L440
This will fail, however, if string conversion fails
Martin Panter added the comment:
I don't have a strong opinion, but it does seem a sensible change that matches
the high-level nature of the "cookiejar" module, with low risk of users relying
on the current file permissions. On the other hand, the "curl" command
Martin Cooper added the comment:
I think you are confusing the perspective of the implementor with that of the
typical developer _using_ the toolkit without reading through its source code.
In my tkinter applications, I pretty much always use ttk widgets where they are
available. This is
Change by Martin Panter :
--
type: security -> resource usage
___
Python tracker
<https://bugs.python.org/issue43292>
___
___
Python-bugs-list mailing list
Un
Martin Panter added the comment:
Perhaps this can be handled with Issue 25707, which is open for adding an API
to close the file, similar to how "os.scandir" iterator implements a context
manager and "close" method.
--
nosy: +martin.panter
superseder: -> A
Martin Panter added the comment:
Sounds the same as Issue 37788, which is still open.
--
nosy: +martin.panter
___
Python tracker
<https://bugs.python.org/issue43
Eric Martin added the comment:
Thank you for letting us know, I am actually not surprised the issue would
bugger you and you would change your mind... Thinking further about it and
experimenting further, I thought it might not be such an edge case and there
could be a significant cost in
New submission from Martin Cooper :
Attempting to use a ttk.Frame with wm_manage() causes a TclError:
_tkinter.TclError: window ".!frame" is not manageable: must be a frame,
labelframe or toplevel
The (Tcl) documentation for wm manage states "Only frame, labelframe and
tople
Eric Martin added the comment:
Many thanks Raymond for these insights and thorough explanations, I appreciate
it very much. Your conclusions are of course most reasonable. For me, I cannot
say that it is a real issue in practice. I have teaching notes in which I
illustrate with plots the
Tony Martin Berbel added the comment:
My system crashed completely. I reinstalled Ubuntu. Sorry I couldn't help
more ... :(
___
MARTIN BERBEL, Tony
GSM: +32 (0) 477 / 33.12.48
--
Le mer. 10 févr. 2021 à 04:06, Tony M
New submission from Eric Martin :
Run on a MacBook Pro (15-inch, 2019)
2.3 GHz 8-Core Intel Core i9
16 GB 2400 MHz DDR4
Python 3.8.7 (default, Dec 24 2020, 19:07:18)
[Clang 12.0.0 (clang-1200.0.32.27)] on darwin
Type "help", "copyright", "credi
Tony Martin Berbel added the comment:
I found lastlog and attached it !
--
Added file: https://bugs.python.org/file49800/lastlog
___
Python tracker
<https://bugs.python.org/issue43
Tony Martin Berbel added the comment:
I had the same error
I ran the make test command with >&log
But I don't know where to look for the log file
--
nosy: +wingarmac
___
Python tracker
<https://bugs.python
New submission from Martin Larralde :
The documentation for `IOBase.readlines` states that the `hint` optional
argument should be used like so
(https://docs.python.org/3/library/io.html#io.IOBase.readlines):
> Read and return a list of lines from the stream. hint can be specified
New submission from Martin Ortner :
// reported via PSRT email (see timeline; last contact: Alex/PSRT)
// external reference:
http://consensys.net/diligence/vulnerabilities/private/z5kxjgfmja4offxbrw1miuxwezggajjfswlz9g2hfuh77we5dy727hqy5x9ii43e/
cve:
vendor: python
vendorUrl: https
New submission from Martin Ortner :
// reported via PSRT email (see timeline)
// external reference:
https://consensys.net/diligence/vulnerabilities/private/jcchhpke7usq8wo45vloy282phwpd9fj41imumhb8varxahz2bf9afw5mcno84gx/
cve:
vendor: python
vendorUrl: https://www.python.org/
authors
Change by Martin Panter :
--
keywords: +3.7regression
___
Python tracker
<https://bugs.python.org/issue37788>
___
___
Python-bugs-list mailing list
Unsubscribe:
Martin Panter added the comment:
Perhaps this is caused by Issue 37788. Python 3.7.4 introduced a leak for any
thread that doesn't get its "join" method called. Timer is a subclass of
Thread, so to confirm, see if calling "timer.join()" after "cance
Martin Wheatley added the comment:
I'll do the test
it happens with a plain ./configure
Many thanks
Martin
On Tue, 12 Jan 2021 at 15:11, Paul Ganssle wrote:
>
> Paul Ganssle added the comment:
>
> This particular grep statement is used to validate the `tzpath` variable
Martin Wheatley added the comment:
I'll do the test
it happens with a plain ./configure
Many thanks
Martin
On Tue, 12 Jan 2021 at 15:11, Paul Ganssle wrote:
>
> Paul Ganssle added the comment:
>
> This particular grep statement is used to validate the `tzpath` variable
1 - 100 of 9844 matches
Mail list logo